Chapter4ServiceConguration
Syntax
setmaclearningexceptsession<1-100>{clear|mac-address<HH.HH.HH.HH.HH.HH>ma
c-mask<HH.HH.HH.HH.HH.HH>[vlan<1-4094>]}
ParameterDescription
ParameterDescription
sessionSessionID.OnesessionisconguredwithoneMACaddress
segment.
<1-100>Upto100sessionsaresupported.
clearClearsthesessionconguration.
mac-addressMACaddressthatisnotlearned.
<HH.HH.HH.HH.HH.HH>MACaddress.
mac-maskMACaddressmask.
<HH.HH.HH.HH.HH.HH>Maskvalue.
vlanSetsthefunctionofnotlearnspecicMACaddressesonthe
VLAN.
<1-4094>VLANID
Guidelines
Afterasessionisboundwithaport/trunk,thesessiondoesnotlearnthematchedMAC
addresses,butforwardsthem.
4.7.36setmaclearningexceptsessionunbind
Purpose
Thiscommandremovesthebindingrelationshipbetweenports/trunksandallsessions.
CommandMode
Globalcongurationmodes
Syntax
setmaclearningexcept{port<portlist>|trunk<trunklist>}sessionunbind
ParameterDescription
ParameterDescription
portPortsboundwithsessions.
4-113
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential