show vlan port

Syntax

show vlan port <INTERFACE-NAME> [vsx-peer]

Description

Displays the VLANs configured for a specific layer 2 interface.

Command context

Manager (#)

Parameters

<INTERFACE-NAME>

Specifies the name of the layer 2 interface on the switch. Some switches (such as the Aruba 8400 Switch Series), use the format member/slot/port (for example, 1/1/1). Other switches, use slot/port (for example, 1/1).

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Example

Displaying the VLANs configured on interface 1/1/3:

switch# show vlan port 1/1/3
------------------------------------------------------
VLAN  Name                            Mode
------------------------------------------------------
1     DEFAULT_VLAN_1                  native-untagged
2     UserVLAN1                       trunk
3     UserVLAN2                       trunk
5     UserVLAN3                       trunk
10    TestNetwork                     trunk
11    VLAN11                          trunk
12    VLAN12                          trunk
13    VLAN13                          trunk
14    VLAN14                          trunk
20    ManagementVLAN                  trunk