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,read‐only.
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(“setvlan”onpage 7‐5),
SNMPMIBs,ortheWebViewmanagementapplication.ThedefaultVLAN,
VLAN1,isalwaysstaticallyconfiguredandcan’tbedeleted.Onlyports
thatuseaspecifiedVLAN
astheirdefaultVLAN(PVID)willbedisplayed.
vlan‐list (Optional)DisplaysinformationforaspecificVLANorrangeofVLANs.
portinfo (Optional)DisplaysVLANattributesrelatedtooneormoreports.
vlanvlan‐list|
vlan‐name
(Optional)DisplaysportinformationforoneormoreVLANs.
portport‐string (Optional)Displaysport
informationforoneormoreports.