Switch User Manual

Viewing VLANs
SecureStack C3 Configuration Guide 10-3
Viewing VLANs
Purpose
TodisplayalistofVLANscurrentlyconfiguredonthedevice,todeterminehowoneormore
VLANswerecreated,theportsallowedanddisallowedtotransmittrafficbelongingtoVLAN(s),
andifthoseportswilltransmitthetrafficwithaVLANtagincluded.
Command
show vlan
UsethiscommandtodisplayallinformationrelatedtooneormoreVLANs.
Syntax
show vlan [static] [vlan-list] [portinfo [vlan vlan-list | vlan-name] [port port-
string]]
Parameters
Defaults
Ifnooptionsarespecified,allinformationrelatedtostaticanddynamicVLANswillbedisplayed.
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplayinformationforVLAN1.Inthiscase,VLAN1isnamed
“DEFAULTVLAN”.PortsallowedtotransmitframesbelongingtoVLAN1arelistedasegress
ports.Portsthatwon’tincl udeaVLANtagintheirtransmittedframesarelistedasuntagged
ports.Thereare
noforbiddenports(preventedfromtransmittedframes)onVLAN1:
C3(su)->show vlan 1
VLAN: 1 NAME: DEFAULT VLAN
For information about... Refer to page...
show vlan 10-3
static (Optional)DisplaysinformationrelatedtostaticVLANs.StaticVLANsare
manuallycreatedusingthesetvlancommand(“setvlanonpage 10 5),
SNMPMIBs,ortheWebViewmanagementapplication.ThedefaultVLAN,
VLAN1,isalwaysstaticallyconfiguredandcan’tbedeleted.Onlyports
thatuseaspecifiedVLAN
astheirdefaultVLAN(PVID)willbedisplayed.
vlanlist (Optional)DisplaysinformationforaspecificVLANorrangeofVLANs.
portinfo (Optional)DisplaysVLANattributesrelatedtooneormoreports.
vlanvlanlist|
vlanname
(Optional)DisplaysportinformationforoneormoreVLANs.
portportstring (Optional)Displaysport
informationforoneormoreports.