Chapter5ServiceConguration
CommandFunction
zte(cfg)#setportstatisticsmode{ingress|
egress|both}
Setspacketstatisticsmode.
zte(cfg)#setsleep-mode{enable|disable}Enablesordisablestheportsleepmode.
zte(cfg)#createport<portid>name<string>Createsaportname.
zte(cfg)#clearport<portlist>{name|statistics|
description|multicast-filter}
Clearstheportname,portstatisticsdata,port
description,andthemulticastlterag.
showport(allcongurationmodes)Displaysthecongurationandstatusinformation
ofallports.
showport[<portlist>](allcongurationmodes)Displaysportcongurationandstatusinformation.
showport<portlist>statistics(allconguration
modes)
Displaysthestatisticsofthecurrentport.
showport<portlist>statistics[1min_unit|
5min_unit](allcongurationmodes)
Displaysportstatisticsdata.
showport<portlist>utilization(allconguration
modes)
Displaysportbandwidthutilization.
showport<portlist>brief(allconguration
modes)
Displaysportbriefinformation.
showport<portlist>vlan(allconguration
modes)
DisplaysthelocationofVLAN.
showjumbo(allcongurationmodes)Displaysthejumbocongurationofallports.
showjumbo[<portlist>](allcongurationmodes)Displaysportjumbocongurationinformation.
showvctport<portid>(allcongurationmodes)Displaysportvirtuallinedetectionresult.
showcable-diag(allcongurationmodes)Displaystheup/downstatusofeachportandVCT
detectionresult.
zte(cfg)#setport<portlist>protect{enable|
disable}
Enablesordisablestheportprotectionfunction.
zte(cfg)#setport<portlist>protecttime
<1-10>
Setstheportprotectionperiodinportprotection
status.
zte(cfg)#setcable-diag{enable|disable}Enablesordisablesthefunctionofvirtualcables
detectinglogs.
zte(cfg)#setmacprotectport<portlist>{enable
|disable}
Enablesordisablestheportprotectionfunction.
zte(cfg)#setmacprotectport<portlist>action
{shutdown|restrict|protect}
Setstheportprotectionaction.
zte(cfg)#showmacprotectport<portlist>Displaystheportprotectionstate.
5-7
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential