set linkflap threshold
5-26 Port Configuration
Example
Thisexampleshowshowtoclearthelinkflapviolationactiononportge.1.4togeneratinga
Syslogentry.
C2(rw)->clear linkflap action ge.1.4 gensyslogentry
set linkflap threshold
Usethiscommandtosetthelinkflapactiontriggercount.
Syntax
set linkflap threshold port-string threshold-value
Parameters
Defaults
None.
Mode
Switchmode,read‐write.
Example
Thisexampleshowshowtosetthelinkflapthresholdonportge.1.4to5.
C2(rw)->set linkflap threshold ge.1.4 5
set linkflap downtime
Usethiscommandtosetthetimeinterval(inseconds)oneormoreportswillbehelddownaftera
linkflapviolation.
Syntax
set linkflap downtime port-string downtime-value
Parameters
Defaults
None.
Mode
Switchmode,read‐write.
port‐string Specifiestheport(s)onwhichtosetthelinkflapactiontriggercount.
threshold‐value Specifiesthenumberoflinkdowntransitionsnecessarytotriggerthe
linkflapaction.Aminimumof1mustbeconfigured.
port‐string Specifiestheport(s)onwhichtosetthelinkflapdownti me.
downtime‐value Specifiesadowntimeinseconds.Avalueof0willsetthedowntimeto
forever.