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. |
port-desc port-desc-string |
Specify the port description. |
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. |
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