port-vlan-show

This command is used to display information about VLANs assigned to ports.

Syntax   port-vlan-show vnet vnet-name port port-number vlans vlans-list untagged-vlan vlan-id [ports port-list] [description description-string] [active-vlans vlan-list]

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.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

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

See Also   

port-show

port-config-modify

port-config-show

port-stats-clear

port-phy-show

port-stats-show

port-vlan-add

port-vlan-remove

port-xcvr-show