Chapter4ServiceConguration
lMAClteringfunction:Whentheswitchreceivesthepacketswithspeciedsource
addressordestinationaddress,itdropsthemaccordingtosourceMACaddressand
destinationMACaddress.
lMACaddresslearningcontrolmeansMAClearningcanprovidethreetypesoflearn-
ingmodesincludinghardwarewire-speedlearning,CPUcontrolledlearningandnon
learningtosatisfyvarioususerrequirements.Inaddition,MAClearningcanprovide
global,port-based,TRUNK-basedandVLAN-basedindependentswitches.
lMAClearningnumberlimitcancongurethemaximumlearningMACaddressnumber
basedonglobal,port,TRUNKandVLAN.Whenthevalueisreached,thenewMAC
cannotbelearnt.
lMACalarmcontrolcanconguretheoutputofthecommonalarminformationofMAC
function,forexample,theMAClearningnumberlimitisexceededandaddressdrift.
lMACaddressxedfunctioncantransformthedynamicMACentrytostaticorxed
MACentryinbatch.Aftertransformation,staticentrycannotdrift.Whenthedevice
isrebooted,MACxedentrycanrecoverandcannotdisappear.
lMACinformationdisplaymeansthecurrentMACfunctioncongurationandstate
informationcanbechecked.
Note:
TheMACaddressofEthernetNICisagroupof48–bitnumber.The48bitsincludetwo
parts.Theprevious24bitsareusedtorepresentthemanufacturerindicatingEthernet
NIC.Thefollowing24bitsareagroupofsequencenumbersdesignatedbymanufacturer
andnamedasOUI(OrganizationallyUniqueIdentier).Thelowestbit(themostleftbitin
thestructure)isnamedasprivateorgroupbit.Ifthisbitissetto0,therestaddressisa
privateaddress.If1,itmeanstheremainingaddressdomainidentiesthegroupaddress
requiringmoreresolution.IfthewholeOUIissetto1,eachsiteofthewholenetworkis
destination.ThatisthespecialengagementsupportedbyOUI.
ConguringanMACTable
TheMACtablecongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setport<portlist>security{enable|disable}
Enablesordisablesthesecurityfunctionofa
port.
zte(cfg)#setport<portlist>multicast-filter{enable|disable}
Enablesordisablestheunregisteredmulticast
lterfunctionofaport.
zte(cfg)#setport<trunklist>multicast-filter{enable|disable}
Enablesordisablestheunregisteredmulticast
lteringfunctionofatrunk.
zte(cfg)#setmacaddstatic<HH.HH.HH.HH.HH.HH>port<1-28>
vlan<1-4094>
AddsanMACstaticentrybasedonportand
VLAN.
4-15
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential