Chapter4ServiceConguration
4.7.21setmactostatic
Purpose
ThiscommandsetsthefunctionoftransformingMACaddressesfromdynamictostaticin
batches.
CommandMode
Globalcongurationmode
Syntax
setmactostatic{port<1-28>|trunk<1-15>|vlan<1-4094>}{enable|disable}
ParameterDescription
ParameterDescription
port
SetsonaportthefunctionoftransformingMACaddressesfrom
dynamictostaticinbatches.
<1-28>
Portnumber.Differentdeviceshavedifferentportnumberranges.
Inthesyntax,the5250-28TCdeviceisusedasanexample.
trunk
SetsonatrunkthefunctionoftransformingMACaddressesfrom
dynamictostaticinbatches.
<1-15>TrunkID.
vlan
SetsonaVLANthefunctionoftransformingMACaddressesfrom
dynamictostaticinbatches.
<1-4094>VLANID.
enable
EnablesthefunctionoftransformingMACaddressesfrom
dynamictostaticinbatches.
disable
DisablesthefunctionoftransformingMACaddressesfrom
dynamictostaticinbatches.
Guidelines
IfthefunctionoftransformingMACaddressesfromdynamictostaticinbatchesisenabled,
theMACaddressesthathavebeenlearnedonaport/trunk/VLANwillbetransformedto
staticaddresses.Whenthetransformationiscompleted,thelaterlearnedMACaddresses
aredynamicMACaddresses.
4.7.22setmaclogging-alarm
Purpose
ThiscommandenablesordisablestheMACeventalarmfunction.
4-105
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential