Specifications
VLANID:IDoftheVLAN.
Name:NameoftheVLAN.
Status:StaticshowsthisisamanuallyconfiguredstaticVLAN.UnusedmeansthisVLAN
iscreatedbyUI/CLIandhasnomemberports.ThisVLANisnotworkableyet.Dynamic
meansthisVLANislearntbyGVRP.
AftercreatedtheVLAN,thestatusofthisVLANwillremaininunusedstatusuntilyouadd
portstotheVLAN.
4.6.5 CLICommandsoftheVLAN
CommandLinesoftheVLANportconfiguration,VLANconfigurationandVLAN
tabledisplay
Feature CommandLine
VLANPortConfiguration
VLANPortPVID Switch(config‐if)#switchporttrunknativevlan2
Setportdef aultvlanidto2success
PortAcceptFrameType Switch(config)#interfa1
Switch(config‐if)#acceptableframetypeall
anykindofframetypeisaccepted!
Switch(config‐if)#acceptableframetypevlantaggedonly
onlyvlan‐tagframeisaccepted!
IngressFiltering(forfast
Ethernetport1)
Switch(config)#interfacefa1
Switch(config‐if)#ingressfilteringenable
ingressfilteringenable
Switch(config‐if)#ingressfilteringdisable
ingressfilteringdisable
Egressrule–Untagged
(forVLAN 2)
Switch(config‐if)#switchportaccessvlan2
switchportaccessvlan‐ success
Egressrule
–
Tagged(for Switch(config‐if)#switchporttrunkallowedvlanadd2
90