Specifications

show vlan
SecureStack B2 Configuration Guide 10-3
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”.PortsallowedtotransmitframesbelongingtoVLAN1are listedasegress
ports.Portsthatwon’tincl udeaVLANtagintheirtransmittedframesarelistedasuntagged
ports.Thereare
noforbiddenports(preventedfromtransmittedframes)onVLAN1:
B2(su)->show vlan 1
VLAN: 1 NAME: DEFAULT VLAN
VLAN Type: Default
Egress Ports
fe.1.1-10, fe.2.1-4, fe.3.1-7,
Forbidden Egress Ports
None.
Untagged Ports
fe.1.1-10, fe.2.1-4, fe.3.1-7,
Table 1026providesanexplanationofthecommandoutput.
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.