Chapter4MACAddressT ableConguration
attack.Evenifafterdeviceisrebooted,theseMACaddressesstill
canbeused.Ofcourse,thepremiseisthatautomaticwriting
functionisopenedorwriteoperationisimplemented.
MACaddresspermanentmeansmakingdynamicMACaddressof
correspondingportinMACaddresstablepermanent.Afterthis
conguration,theMACaddresslearnsfromthecorrespondingport
canconverttopermanentautomatically.TheseMACaddresses
don’tjoinagingafterconvertingandcanbesavedintodisk.Mean-
whileifdataframewiththissourceaddressoccursonotherports
switchwon’tlearnagain.TheMACpermanententrynumberislim-
ited.ThereforewhenthenewlylearnedMACentryonportcan’t
continueconverting,alarmwilloccurandsubsequentMACwillstill
behandledasdynamicentry.Whenthisfunctionisdisabled,all
MACentriesconvertedbythiswayonthisportwillbedeleted.
TocongureMACaddresspermanent,performthefollowingcom-
mands.
St-
ep
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>}
Thiscongureswriting
permanentMACaddressand
saveperiod.
BindingMACAddresstoaPort
AMACaddresscanbeboundtoaportofZXR105900Ebyadding
astatic/permanentMACaddresstotheFD.Themappingrelation-
shipbetweenMACaddressandportisxedforstaticorpermanent
MACaddress.Therelationshipwillnotbereleaseduntilitisman-
uallydeleted.
ForbindingaMACaddress,performthefollowingsteps.
St-
ep
CommandFunction
1
ZXR10(config)#macadd{dynamic|static|perman
ent}<mac-address>interface<port-name>[vlan
<vlan-id>]
WhenaddingMACaddress,if
theVLANIDisnotdesignated
,addaccordingtoportPVID.
2
ZXR10(config)#macdelete{<mac-address>|
interface<port-name>|vlan<vlan-id>}
IfaVLANIDisnotspecied
whiledeletingaMAC
address,allentriesmatching
<mac-address>willbe
deleted.
CondentialandProprietaryInformationofZTECORPORATION31