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. Use the format
member/slot/port
(for example,1/3/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. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators 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