vlan-show
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. |
auto-vxlan|no-auto-vxlan |
Displays if auto-vxlan is enabled or disabled. |
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. |
stats|no-stats |
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. |
active-edge-ports |
Displays any active edge ports for the VLAN. |
Defaults None.
Access CLI
History
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. |
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
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