ZXR105250SeriesCongurationGuide
MACaddresstable
operation
Function
MACaddressxedfunctionMACaddressxedfunctioncantransformadynamicMACaddress
entrytoastaticorxedMACentryinbatches.Aftertransformation,
thestaticentrycannotdrift.Whenthedeviceisrebooted,axedMAC
addressentrycanrecoverandcannotdisappear.
MACinformationdisplayMACinformationdisplaymeansthecurrentMACfunctionconguration
andstateinformationcanbechecked.
MACprotectionfunctionTheMACprotectionfunctionlimitsportaccess.Whenthenumber
ofMACaddresseslearnedonaportexceedsthelimit,packetswith
unknownsourceMACaddressesaredropped.Theprotectionaction
canbesettoshutdown,restrict(stoppingMACaddresslearning,
droppingpacketswithunknownMACaddresses,andsendingan
alarm),orprotect(stoppingMACaddresslearning,anddropping
packetswithunknownMACaddresses).
TheMACaddressofEthernetNICis48bits.The48bitsincludetwoparts.Therst
24bitsareusedtorepresentthemanufacturerindicatingEthernetNIC.Theremaining
24bitsareagroupofsequencenumbersdesignatedbythemanufacturerandnamedas
OrganizationallyUniqueIdentier(OUI).Thelowestbit(themostleftbitinthestructure)
isnamedasaprivateorgroupbit.Ifthisbitissetto0,theremainingaddressisaprivate
address.
Ifthisbitissetto1,theremainingaddressdomainidentiesthegroupaddressrequiring
moreresolution.IfthewholeOUIissetto1,eachsiteofthewholenetworkisadestination.
ThatisthespecialengagementsupportedbyOUI.
ConguringaMACAddressTable
TheMACtablecongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setport<portlist>security{enable|disable}Enablesordisablesthesecurityfunction
ofaport.
zte(cfg)#setport<portlist>multicast-filter{enable|
disable}
Enablesordisablestheunregistered
multicastlterfunctionofaport.
zte(cfg)#setport<trunklist>multicast-filter{enable|
disable}
Enablesordisablestheunregistered
multicastlteringfunctionofatrunk.
zte(cfg)#setmacaddstatic<HH.HH.HH.HH.HH.HH>
port<1-28>vlan<1-4094>
AddsastaticMACaddressentrybased
ontheportandtheVLAN.
zte(cfg)#setmacaddstatic<HH.HH.HH.HH.HH.HH>
trunk<1-15>vlan<1-4094>
AddsastaticMACaddressentrybased
onthetrunkandtheVLAN.
5-14
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential