
set linkflap portstate
4-24 Port Configuration
Mode
Switchmode,read‐write.
Usage
Bydefault,thefunctionisdisabledgloballyandonallports.Ifdisabledgloballyafterper‐port
settingshavebeenconfiguredusingthelinkflapcommands,per‐portsettingswillberetained.
Example
Thisexampleshowshowtogloballyenablethelinktrapdetectionfunction.
D2(rw)->set linkflap globalstate enable
set linkflap portstate
Usethiscommandtoenableordisablelinkflapmonitoringononeormoreports.
Syntax
set linkflap portstate {disable | enable} [port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,allportsareenabledordisabled.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoenablethelinktrapmonitoringonallports.
D2(rw)->set linkflap portstate enable
set linkflap interval
Usethiscommandtosetthetimeinterval(inseconds)foraccumulatinglinkdowntransitions.
Syntax
set linkflap interval port-string interval-value
Parameters
disable|enable Disablesorenablesthelinkflapdetectionfunction.
port‐string (Optional)Specifiestheportorportsonwhichtodisableorenable
monitoring.
port‐string Specifiestheport(s)onwhichtosetthelinkflapinterval.
interval‐value Specifiesanintervalinseconds.Avalueof0willsettheintervalto
forever.