port-vlan-show
This command is used to display information about VLANs assigned to ports.
Syntax port-vlan-show
vnet vnet-name |
Specify the name of the VNET for the port. |
port port-number |
Specifies the port number for the VLAN. |
vlans vlans-list |
Specifies the list of VLANs to apply to the port. |
untagged-vlan vlan-id |
Specifies an untagged VLAN to apply to the port. |
ports port-list |
Specifies the list of ports. |
description description-string |
Specifies a description for the configuration. |
active-vlans vlan-list |
Specifies a list of active VLANs. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.4.1 |
The parameter, vnet, added. |
Usage Use this command to display information about a VLAN on a specific port.
Examples To display information about an untagged VLANs, use the following command:
CLI network-admin@switch > port-vlan-show
switch port vlans untagged-vlan description active-vlans
-------- ---- --------------- ------------- ----------- ------------
pubdev01 1 4,10,22 1 none
pubdev01 2 4,10,22 1 none
pubdev01 3 4,10,22 1 none
pubdev01 4 4,10,22 1 none
pubdev01 5 4,10,22 1 none
pubdev01 6 4,10,22 1 none
pubdev01 7 4,10,22 1 none
pubdev01 8 4,10,22 1 none
pubdev01 9 4,10,22 1 none
pubdev01 10 4,10,22 1 none
pubdev01 11 4,10,22 1 none
pubdev01 12 4,10,22 1 none
pubdev01 13 4,10,22 1 none
pubdev01 14 4,10,22 1 none
pubdev01 15 4,10,22 1 none
pubdev01 16 4,10,22 1 none
pubdev01 17 4,10,22 1 none
pubdev01 18 4,10,22 1 none
pubdev01 19 4,10,22 1 none
pubdev01 20 4,10,22 1 none
pubdev03 56 3,8,500 500 500