Chapter4ServiceConguration
Syntax
setmacprotectport<portlist>action{shutdown|restrict|protect}
ParameterDescription
ParameterDescription
<portlist>Portlist.
shutdownShutsdownports.
restrict
Stopslearningonports,dropspacketswithunknownsourceMAC
addresses,andsendsanalarm.
protect
Stopslearningonportsanddropspacketswithunknownsource
MACaddresses.Noalarmissent.
Default
shutdown
4.7.26showmac
Purpose
ThiscommandshowscontentsoftheMACaddressentry.
CommandMode
Globalcongurationmode
Syntax
showmac
Guidelines
ThiscommandshowsallMACaddresses,includingdynamic,static,permanent,batch
transformed,andotherconguredMACaddresses.
Example
ThefollowingexampleshowscontentsofMACaddressentries:
zte(cfg)#showmac
TotalMACAddress:6
MACAddressPeakvalue:6
MACAddressPeaktime:ThuJul100:05:032004
Flags:Per-permanent,Stc-static,ToP-to_permanent,ToS-to_static,
Sav-autosavedmacaddress,SrF-sourcefilter,
4-107
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential