User manual

Table Of Contents
Chapter5MACAddressT ableConguration
ofswitchconnectsarexed,thatis,theinterfacethateachdevice
MACaddressinswitchMACaddresstablecorrespondsisxed,
thenmakethemacaddressthatlearnsfromportandwilllearn
fromportpermanenttopreventMACdeceivingformatnetwork
attack.Evenifafterdeviceisrebooted,theseMACaddressesstill
canbeused.Ofcourse,thepremiseisthatautomaticwriting
functionisopenedorwriteoperationisimplemented.
MACaddresspermanentmeansmakingdynamicMACaddressof
correspondingportinMACaddresstablepermanent.Afterthis
conguration,theMACaddresslearnsfromthecorrespondingport
canconverttopermanentautomatically.TheseMACaddresses
don’tjoinagingafterconvertingandcanbesavedintodisk.Mean-
whileifdataframewiththissourceaddressoccursonotherports
switchwon’tlearnagain.TheMACpermanententrynumberislim-
ited.ThereforewhenthenewlylearnedMACentryonportcan’t
continueconverting,alarmwilloccurandsubsequentMACwillstill
behandledasdynamicentry.Whenthisfunctionisdisabled,all
MACentriesconvertedbythiswayonthisportwillbedeleted.
TocongureMACaddresspermanent,performthefollowingcom-
mands.
Step
CommandFunction
1
ZXR10(config)#macto-permanentinterface
<port-name>enable
AfterMACaddressismade
permanent,theseMAC
addresswillbesaved
permanentlyandwon’t
lostwhenswitchisrebooted.
2
ZXR10(config)#macto-permanentinterface
<port-name>disable
AfterdisablingMACaddress
permanent,thesepermanent
MACaddresseswillbedeletes.
3
ZXR10(config)#macauto-write{disable|enable
interval<time>}
Thiscongureswriting
permanentMACaddressand
saveperiod.
BindingMACAddresstoaPort
AMACaddresscanbeboundtoaportofZXR105900/5200by
addingastatic/permanentMACaddresstotheFD.Themapping
relationshipbetweenMACaddressandportisxedforstaticor
permanentMACaddress.Therelationshipwillnotbereleased
untilitismanuallydeleted.
ForbindingaMACaddress,performthefollowingsteps.
CondentialandProprietaryInformationofZTECORPORATION35