Chapter5ServiceConguration
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.
zte(cfg)#setmacaddpermanent<HH.HH.HH.HH.HH.
HH>port<1-28>vlan<1-4094>
AddsapermanentMACaddressentry
basedontheportandtheVLAN.
zte(cfg)#setmacaddpermanent<HH.HH.HH.HH.HH.
HH>trunk<1-15>vlan<1-4094>
AddsapermanentMACaddressentry
basedonthetrunkandtheVLAN.
zte(cfg)#setmacdeleteDeletesallMACaddressentries.
zte(cfg)#setmacdeletemac-address<HH.HH.HH.HH.H
H.HH>vlan<1-4094>
DeletesaMACaddressentry.
zte(cfg)#setmacdelete{port<1-28>|trunk<1-15>|
vlan<1-4094>}[dynamic|static|permanent]
Deletesalldynamic/static/permanentMAC
addressentriesbasedonport/trunk/VLAN.
zte(cfg)#setmacdeletedynamicDeletesalldynamicMACaddressentries.
zte(cfg)#setmacdeletepermanentDeletesallpermanentMACaddress
entries.
zte(cfg)#setmacdeletestaticDeletesallstaticMACaddressentries.
zte(cfg)#setmacaging-time<60-600>SetsdeviceMACaddressagingtime.
zte(cfg)#setmacfilter{source|destination|
both}<HH.HH.HH.HH.HH.HH>vlan<1-4094>
SetsthesourceMACaddressor
destinationMACaddresslterfunction.
zte(cfg)#setmaclearning{global|port<1-28>|trunk
<1-15>|vlan<1-4094>}{enable|disable|mode{automatic
|cpu-controlled}}
SetsMACaddresslearningmodebased
onglobal/port/trunk/VLAN.
zte(cfg)#setmaclimit{global|port<1-28>|trunk
<1-15>|vlan<1-4094>}limit-num<0-16384>
SetstheMACaddressnumberlimit
functionbasedonglobal/port/trunk/VLAN.
zte(cfg)#setmacunknown-filter{global|port<1-28>|
trunk<1-15>}limit-num<0-16384>
Setsthefunctionoflteringunknown
sourcepacketsbasedonglobal/port/trunk.
zte(cfg)#setmactopermanent{port<1-28>|trunk
<1-15>}{enable|disable|max-number<1-128>}
SetsthefunctionofconvertingMAC
addressesaspermanentinbatches.
5-15
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential