ZXR108900SeriesUserManual(BasicCongurationVolume)
withERSPANheadandmirroredtointerfacegei_1/1ofSwitch2.
Congurationsareasfollows:
CongurationofSwitch1:
ZXR10(config)#interfacegei_1/1ZXR10(config-gei_1/1)#monitorsession1sourcedirectionbothZXR10(config-gei_1/1)#switchportaccessvlan2ZXR10(config-gei_1/1)#exitZXR10(config)#interfacevlan2ZXR10(config-if-vlan2)#ipaddress10.10.10.10255.255.255.0ZXR10(config-if-vlan2)#exitZXR10(config-gei_1/2)#switchportaccessvlan3ZXR10(config-gei_1/2)#exitZXR10(config)#interfacevlan3ZXR10(config-if-vlan3)#ipaddress20.20.20.10255.255.255.0ZXR10(config-if-vlan3)#exitZXR10(config)#interfacetunnel1ZXR10(config-tunnel1)#tunnelmodegreipZXR10(config-tunnel1)#tunnelsourceipv410.10.10.10ZXR10(config-tunnel1)#tunneldestinationipv420.20.20.20ZXR10(config-tunnel1)#monitorsession1destinationerspanflagsenabletpid0x8100ttl128vlan-id3ZXR10(config-tunnel1)#exit
CongurationofSwitch2:
ZXR10(config-gei_1/1)#switchportaccessvlan3ZXR10(config-gei_1/1)#exitZXR10(config)#interfacevlan3ZXR10(config-if-vlan3)#ipaddress20.20.20.20255.255.255.0ZXR10(config-if-vlan3)#exit
PortLoopDetection
Configuration
PortLoopDetectionOverview
Withportloopdetectionfunction,theswitchcandetectwhether
thereisaloopontheport.Ifthereisaloop,theswitchwilltake
measures.Thiscanavoidbroadcaststorm.
OnZXR108900seriesswitch,portloopdetectionfunctioncan
beconguredtodetectlooponaportorallports.Bydefault,
thedetectionfunctionisdisabled.Theswitchsupportsdetection
functionbasedonVLAN,thatis,theswitchcandetectloopinthe
VLANthatownsthesamePVIDwiththatontheport,aswellasin
theVLANthatusersdesignate.Onaport,itisuptodetectloops
in8VLANsatthesametime.
AportsendsaLayer2multicastmessageevery15seconds.If
thereisalooponaport,themulticastmessagewillgobacktothe
portthroughwhichthemessageissent.
ConfiguringPortLoopDetection
Tocongureportloopdetectionfunction,performthefollowing
steps.
Step
CommandFunction
1
ZXR10(config)#loop-detectinterface<port_name>{e
nable|disable}
Thisconguresportloop
detectionfunctionononeport
ormultipleports
2
ZXR10(config)#loop-detectinterface<port_name>
vlan<vlan_id>{enable|disable}
Thisconguresportloop
detectionfunctioninaVLAN
ormultipleVLANsthataport
belongsto
3
ZXR10(config)#loop-detectportstate{block|normal
|protect}<port_name>
Thisconguresthestateof
loopport
56CondentialandProprietaryInformationofZTECORPORATION