Chapter4ServiceConguration
4.2.25setportprotect
Purpose
Thiscommandenablesordisablestheportprotectionfunction.
CommandMode
Allcongurationmodes
Syntax
setport<portlist>protect{enable|disable}
ParameterDescription
ParameterDescription
[<portlist>]Portlist.
enableEnablestheportprotectionfunction.
disableDisablestheportprotectionfunction.
Guidelines
Aftertheportprotectionfunctionisenabled,whenthenumberofdowntimesisgreater
thanorequalto3within30seconds,theportwillbeblockedforaprotectionperiod.After
theprotectionperiodexpires,theportbecomesactiveagain.
Default
Theportprotectionfunctionisdisabled.
Example
Thefollowingexampleenablestheportprotectionfunctionforports1,5,6,7,and11:
zte(cfg)#setport1,5-7,11protectenable
4.2.26setportprotecttime
Purpose
Thiscommandsetstheportprotectionperiod.
CommandMode
Allcongurationmodes
Syntax
setport<portlist>protecttime<1-10>
4-61
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential