User manual

Table Of Contents
Chapter5MACAddressT ableConguration
SettingMACAddressLearning
Protection
ZXR105900/5200supportsMACaddresslearningprotectionfunc-
tionforports.WhenaportisdetectedtobelearningMACad-
dressesabnormally,itsaddresslearningwillbesuspendedfor
sometime.Aportinprotectionstatecannotlearnnewaddresses.
Itrecoverslearningwhentheprotecttimeisdue.
ForsettingMACAddresslearningprotectiononaport,performthe
followingsteps.
1.SetportMACaddresslearningcountlimit.
2.OpenportMACaddresslearningprotectionenabledswitch.
3.Settheprotectedportprotectiontime.
Thedetailedcongurationisasfollows:
Step
CommandFunction
1
ZXR10(config)#macprotect[interface<port-name
>]{disable|enable}
ThissetsportMACaddress
learningprotection.
2
ZXR10(config)#macprotecttime<time>ThissetsportMACaddress
learningprotectiontime.
MACaddresslearningprotectionisdisabledonallswitchportsby
default.T oenablethisfunction,itisrecommendedtosetasmaller
MACaddresscountlimit.
SettingPortUnkownSourceMAC
AddressFiltering
Bydefault,theportunkownsourceMACaddresslteringfunction
isclosed.AportdoesnotlterunkownsourceMACaddress.Ifone
portenablesunkownsourceMACaddresslteringfunction,the
correspondingportwilldiscardtheunkownsourceMACaddress
packetsfromthisport.
TosetportunkownsourceMACaddresslteringonaport,usethe
followingcommand.
CommandFunction
ZXR10(config)#macunknowsource-filterinterface
<port-name>{disable|enable}
Thissetsportunkownsource
MACaddresslteringonaport.
CondentialandProprietaryInformationofZTECORPORATION37