Specifications
VLAN2)
Display–PortIngress
Rule(PVID,Ingress
Filtering,Acceptable
FrameType)
Switch#showinterfacefa1
Interfacefastethernet1
AdministrativeStatus:Enable
OperatingStatus:NotConnected
Duplex:Auto
Speed:Auto
FlowControl:off
DefaultPortVLANID:2
IngressFiltering:Disabled
AcceptableFrameType:All
PortSecurity:Disabled
AutoNegotiation:Enable
LoopbackMode:None
STPStatus:disabled
DefaultCoSValueforuntaggedpacketsis0.
MdixmodeisAuto.
MediummodeisCopper.
Display–PortEgressRule
(Egressrule,IPaddress,
status)
Switch#showrunning‐config
……
!
interfacefastethernet1
switchportaccessvlan1
switchportaccessvlan3
switchporttrunknativevlan2
…….
interfacevlan1
ipaddress192.168.2.8/24
noshutdown
VLANConfiguration
CreateVLAN(2) Switch(config)#vlan2
vlan2success
Switch(config)#interfacevlan2
Switch(config‐if)#
Note:InCLIconfiguration,youshouldcreateaVLANinterface
first.Thenyoucanstarttoadd/removeports.Defaultstatusof
thecreatedVLANisunuseduntilyouaddmemberportstoit.
RemoveVLAN Switch(config)#novlan2
novlansuccess
Note:YoucanonlyremovetheVLANwhentheVLANisinunused
mode.
VLANName Switch(config)#vlan2
vlan2hasexists
Switch(config‐vlan)#namev2
Switch(config‐vlan)#noname
Note:Usenonametochangethenametodefaultname,VLAN
VID.
VLANdescription Switch(config)#interface vlan2
Switch(config‐if)#
Switch(config‐if)#descriptionthisistheVLAN2
91