Chapter7ServiceConguration
MACTableOperations
MACTableOverview
MACtableoperationsincludethecongurationofMAClterfunc-
tion,staticaddressbindingfunctionandMACtableagingtime.
�MAClterfunctionistoenabletheswitchtodiscardthere-
ceiveddatapacketswhosesourceordestinationMACaddress
isthespeciedMACaddress.
�StaticaddressbindingfunctionistobindthespeciedMAC
addresswiththeswitchport.Afterthebinding,thisMACcan’t
bethedynamicallylearnedanymore.
�MACtableagingtimereferstotheperiodfromthelatestupdate
ofdynamicMACaddressintheFDBtabletothedeletionofthis
address.
CongurationoftheMAClterfunctionandstaticaddressbinding
functioncaneffectivelypreventtheillegalaccesstothenetwork
andfraudulentuseofkeyMACaddresses,andplayanimportant
roleinensuringthenetworksecurity.
BasicConfigurationofMACTable
TocongureFDB,performthefollowingsteps.
CommandFunction
zte(cfg)#setfdbadd<HH.HH.HH.HH.HH.
HH>vlan<1-4094>{port<portid>|trunk
<trunkid>}
Thisaddsthestatic
bindingaddresstothe
addresstable.
zte(cfg)#setfdbagingtime<40-1260>
Thissetstheagingtime
ofMACaddress.
Theparameter
agingtimeis240
secondsbydefault.
zte(cfg)#setfdbdelete<HH.HH.HH.HH.H
H.HH>vlan<1-4094>
Thisdeletesarecord
fromMACaddress
table.
zte(cfg)#setfdbfilter<HH.HH.HH.HH.HH
.HHvlan<1-4094>
Thissetsthelter
addressoffdb.
zte(cfg)#showfdb[static|dynamic|
filter][detail]
Thisdisplaysfdb
information.
zte(cfg)#showfdbagingtime
Thisdisplaystheaging
timeoffdb.
CondentialandProprietaryInformationofZTECORPORATION71