Specifications

Viewing VLANs
SecureStack C3 Configuration Guide 7-3
Viewing VLANs
Purpose
TodisplayalistofVLANscurrentlyconfiguredonthedevice,todeterminehowoneormore
VLANswerecreated,theportsallowedanddisallowedtotransmittrafficbelonging toVLAN(s),
andifthoseportswilltransmitthetrafficwithaVLANtagincluded.
Commands
ThecommandusedtoviewVLANsislistedbelow.
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’tincludeaVLANtagintheirtransmittedframesarelistedasuntagged
ports.Thereare
noforbiddenports(preventedfromtransmittedframes)onVLAN1:
For information about... Refer to page...
show vlan 7-3
static (Optional)DisplaysinformationrelatedtostaticVLANs.StaticVLANsare
manuallycreatedusingthesetvlancommand(“setvlanonpage 75),
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.