Chapter4ServiceConīæguration
CommandFunction
showmac{dynamic|learning|limit|permanent|static}[port
<1-28>|trunk<1-15>|vlan<1-4094>](allconīægurationmodes)
DisplaysvariousMACfunctionconīægurations
andMACaddressentriesbasedon
global/port/trunk/VLAN.
showmacmac-address<HH.HH.HH.HH.HH.HH>(allconīæguration
modes)
DisplaystheMACaddressentrycontentofa
speciīæedMACaddress.
showmacunknown-filter[port<1-28>|trunk<1-15>](all
conīægurationmodes)
Displaystheīælterfunctionofthepacketwiththe
unknownsourcebasedonglobal/port/trunk.
showmacaging-time(allconīægurationmodes)DisplaysdeviceMACaddressagingtime.
showmacfilter(allconīægurationmodes)
DisplayssourceMACaddressordestination
MACaddressīælteringfunction.
showmaclogging-alarm(allconīægurationmodes)DisplaysMACeventalarmconīæguration.
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>]}
SetsthefunctionofnotlearningspeciīæedMAC
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>]
Displaystheconīægurationofsessionsforwhich
speciīæedsourceMAClearningisnotneeded.
showmaclearningexcept{port<portlist>|trunk<trunklist>}
Displaysthebindingrelationbetween
ports/trunksandsessions.
4.7LACPConīguration
LACPOverview
LinkAggregationControlProtocol(LACP)isastandardprotocoldeīænedinIEEE802.3ad.
Linkaggregationmeansthatphysicallinkswiththesametransmissionmediaand
transmissionrateareāboundātogether,makingthemlooklikeonelinklogically.This
conceptisalsoknownasTrunk.Itallowsthebandwidthsofparallelphysicallinksbetween
theswitchesorbetweentheswitchandtheservertoincreaseinmultiplessimultaneously.
Asaresult,itbecomesanimporttechnologyinbroadeninglinkbandwidthandcreating
linktransmissionīexibilityandredundancy.
Anaggregatedlinkisalsocalledtrunk.Ifaportofthetrunkisblockedorfaulty,thedata
packetswillbedistributedtootherportsofthistrunkfortransmission.Ifthisportrecovers,
thedatapacketswillbere-distributedtoallthenormalportsofthistrunkfortransmission.
4-17
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential