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

Syntax   vlan-show

id vlan-id

The VLAN ID as a value from 0 to 4095.

vnet vnet-name

The vNET assigned to this VLAN.

type public|private

The VLAN type

vxlan vxlan-id

The VXLAN ID as a value from 0 to 16777215.


Displays if auto-vxlan is enabled or disabled.

vxlan-mode standard|transparent

The VXLAN mode as standard or transparent.

vxlan-hybrid-mode standard|transparent

VXLAN encapsulation mapping to tunnel in hybrid mode.

hw-vpn hw-vpn-number

The hardware VPN.

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

The hardware multicast group.

replicators vtep-group name|none

The replicator group.

repl-vtep ip-address

The replicator VTEP.

public-vlan vlan-id

The ID of the public VLAN as a value from 0 to 4095.

scope local|fabric

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

The name of the VRG assigned to the VLAN.

ports port-list

The list of ports assigned to the VLAN.

port-desc port-desc-string

Specify the port description.

untagged-ports port-list

The list of untagged ports assigned to the VLAN.

untagged-port-desc untagged-port-desc-string

The untagged-port assigned to VLAN.

active-edge-ports port-list

Displays any active edge ports for the VLAN.

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.

Version 6.0.0

The parameter auto-vxlan added.

Version 7.0.0

The parameter port-desc added.

Usage   VLANs are used to isolate network traffic at Layer 2. Use this command to modify a VLAN.

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

CLI (network-admin@switch) > vlan-show layout vertical

switch:            leaf1

id:                1

type:              public

auto-vxlan:        no

replicators:       none

scope:             local

description:       default-1

active:            yes

stats:             yes

ports:             2-72

untagged-ports:    2-69

active-edge-ports: 69-70