This command displays a list of existing VLANs or VXLANs on the switch.

Syntax   vlan-show

id vlan-id

Displays the VLAN ID as a value from 2 to 4092.

vnet vnet-name

Displays the VNET assigned to this VLAN.

type public|private

Displays the VLAN type

vxlan vxlan-id

Displays the VXLAN ID.

vxlan-type user|fabric

Displays the VXLAN type as user or fabric.

vxlan-mode standard|transparent

Displays the VXLAN mode as standard or transparent.

hw-vpn hw-vpn-number

Displays the hardware VPN.

hw-mcast-group hw-mcast-group-number

Displays the hardware multicast group.

replicators vtep-group name|none

Displays the replicator group.

repl-vtep ip-address

Displays the replicator VTEP.

public-vlan vlan-id

Displays the ID of the public VLAN.

scope local|fabric

Displays the scope of the VLAN.

description description-string

Displays a description for the VLAN.

active yes|no

Displays if the VLAN is active on the network.


Displays if stats collection is enabled.

vrg vrg-name

Displays the name of the VRG assigned to the VLAN.

ports port-list

Displays the list of ports assigned to the VLAN.

untagged-ports port-list

Displays the list of untagged ports assigned to the VLAN.


Displays any active edge ports for the VLAN.

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.


Display output in ascending order.


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.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


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


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


Display integer values instead of mapped values


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


Version 1.2

Command introduced.

Version 2.4.1

The parameters, vnet, type, vxlan, vxlan-mode, and public-vlan, added. The option, cluster, added.

Version 2.6.2

The parameter, range, added.

Version 3.0.0

The parameter, range, deprecated.

Usage   .


Informational Note:  The VLAN identifiers 0 and 4095 are reserved and cannot be used per the IEEE 802.1Q standard.

The range of configurable VLAN identifiers is 2through 4092.

Examples  To display a list of VLANs, use the following command:

CLI network-admin@switch > vlan-show

switch:            pubdev03

id:                1

type:              public

scope:             local

description:       default-1

active:            yes

stats:             yes

vrg:               0:0

ports:             1-54,57-72,128,255

untagged-ports:    1-54,57-72,128,255

active-edge-ports: 65,128

switch:            pubdev02

id:                1

type:              public

scope:             local

description:       default-1

active:            yes

stats:             yes

vrg:               0:0

ports:             1-8,15-54,57-72,128

untagged-ports:    1-8,15-54,57-72,128

active-edge-ports: 65,128


See Also