Chapter4ServiceConguration
CommandFunction
showmac{dynamic|learning|limit|permanent|static}[port
<1-28>|trunk<1-15>|vlan<1-4094>](allcongurationmodes)
DisplaysvariousMACfunctioncongurations
andMACaddressentriesbasedon
global/port/trunk/VLAN.
showmacmac-address<HH.HH.HH.HH.HH.HH>(allconguration
modes)
DisplaystheMACaddressentrycontentofa
speciedMACaddress.
showmacunknown-filter[port<1-28>|trunk<1-15>](all
congurationmodes)
Displaysthelterfunctionofthepacketwiththe
unknownsourcebasedonglobal/port/trunk.
showmacaging-time(allcongurationmodes)DisplaysdeviceMACaddressagingtime.
showmacfilter(allcongurationmodes)
DisplayssourceMACaddressordestination
MACaddresslteringfunction.
showmaclogging-alarm(allcongurationmodes)DisplaysMACeventalarmconguration.
zte(cfg)#setmaclearningexceptsession<1-100>{clear
|mac-address<HH.HH.HH.HH.HH.HH.HH>mac-mask
<HH.HH.HH.HH.HH.HH.HH>[vlan<1-4094>]}
SetsthefunctionofnotlearningspeciedMAC
addresses
zte(cfg)#setmaclearningexcept{port<portlist>|trunk
<trunklist>}sessionunbind
Debindsports/trunksandallsessions.
zte(cfg)#setmaclearningexcept{port<portlist>|trunk
<trunklist>}session<1-100>{bind|unbind}
Setsthebindingrelationbetweenports/trunks
andallsessions.
showmaclearningexceptsession[<1-100>]
Displaysthecongurationofsessionsforwhich
speciedsourceMAClearningisnotneeded.
showmaclearningexcept{port<portlist>|trunk<trunklist>}
Displaysthebindingrelationbetween
ports/trunksandsessions.
4.7LACPConguration
LACPOverview
LinkAggregationControlProtocol(LACP)isastandardprotocoldenedinIEEE802.3ad.
Linkaggregationmeansthatphysicallinkswiththesametransmissionmediaand
transmissionrateare“bound”together,makingthemlooklikeonelinklogically.This
conceptisalsoknownasTrunk.Itallowsthebandwidthsofparallelphysicallinksbetween
theswitchesorbetweentheswitchandtheservertoincreaseinmultiplessimultaneously.
Asaresult,itbecomesanimporttechnologyinbroadeninglinkbandwidthandcreating
linktransmissionexibilityandredundancy.
Anaggregatedlinkisalsocalledtrunk.Ifaportofthetrunkisblockedorfaulty,thedata
packetswillbedistributedtootherportsofthistrunkfortransmission.Ifthisportrecovers,
thedatapacketswillbere-distributedtoallthenormalportsofthistrunkfortransmission.
4-17
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential