Use this command to display information related to one or more VLANs.
static | (Optional) Displays information related to all configured VLANs regardless of status. |
vlan-list | (Optional) Displays information for a specific VLAN or range of VLANs. |
If no options are specified, all information related to active VLANs will be displayed.
All command modes.
Static VLANs are manually created using the set vlan command set vlan, SNMP MIBs, or the WebView management application. The default VLAN, VLAN 1, is always statically configured and cannot be deleted. Only ports that use a specified VLAN as their default VLAN (PVID) will be displayed.
This example shows how to display information for VLAN 1. In this case, VLAN 1 is named “DEFAULT VLAN” and it is enabled to operate. Ports allowed to transmit frames belonging to VLAN 1 are listed as egress ports. Ports that won‘t include a VLAN tag in their transmitted frames are listed as untagged ports. There are no forbidden ports (prevented from transmitted frames) on VLAN 1:
System(rw)->show vlan 1 VLAN : 1 Status : Enabled FID : 1 Name : DEFAULT VLAN VLAN Type: Permanent Last change: 2010-05-26 10:20:17 Egress Ports host.0.1, ge.1.1-10, ge.2.1-4, ge.3.1-7, lag.0.1-32 Forbidden Egress Ports None. Untagged Ports host.0.1, ge.1.1-10, ge.2.1-4, ge.3.1-7, lag.0.1-32
show vlan Output Details provides an explanation of the command output.
Output... | What it displays... |
---|---|
VLAN | VLAN ID. |
NAME | Name assigned to the VLAN. |
Status | Whether it is enabled or disabled. |
VLAN Type | Whether it is permanent (static) or dynamic. |
FID | Filter Database ID of which this VLAN is a member. |
Creation Time | Time elapsed since the VLAN was created. |
Egress Ports | Ports configured to transmit frames for this VLAN. |
Forbidden Egress Ports | Ports prevented from transmitted frames for this VLAN. |
Untagged Ports | Ports configured to transmit untagged frames for this VLAN. |