Viewing VLANs
Enterasys C3 Configuration Guide 14-3
Viewing VLANs
Purpose
To display a list of VLANs currently configured on the device, to determine how one or more
VLANs were created, the ports allowed and disallowed to transmit traffic belonging to VLAN(s),
and if those ports will transmit the traffic with a VLAN tag included.
Command
show vlan
Use this command to display all information related to one or more VLANs.
Syntax
show vlan [static] [vlan-list] [portinfo [vlan vlan-list | vlan-name] [port port-
string]]
Parameters
Defaults
If no options are specified, all information related to static and dynamic VLANs will be displayed.
Mode
Switch command, read-only.
Usage
When you use the show vlan vlan-list command, only ports that have link state (port’s link LED is
lit) will be displayed. Use the static parameter to show all ports that are configured on a vlan,
whether they have link or not.
For information about... Refer to page...
show vlan 14-3
static (Optional) Displays information related to static VLANs. Static VLANs are
manually created using the set vlan command (“set vlan” on page 14-5),
SNMP MIBs, or the WebView management application. The default VLAN,
VLAN 1, is always statically configured and can’t be deleted. Only ports
that use a specified VLAN as their default VLAN (PVID) will be displayed.
vlan-list (Optional) Displays information for a specific VLAN or range of VLANs.
portinfo (Optional) Displays VLAN attributes related to one or more ports.
vlan vlan-list |
vlan-name
(Optional) Displays port information for one or more VLANs.
port port-string (Optional) Displays port information for one or more ports.