set linkflap interval
7-26 Port Configuration
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoenablethelinktrapmonitoringonallports.
C2(rw)->set linkflap portstate enable
set linkflap interval
Usethiscommandtosetthetimeinterval(inseconds)foraccumulatinglinkdowntransitions.
Syntax
set linkflap interval port-string interval-value
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtosetthelinkflapintervalonportge.1.4to1000seconds.
C2(rw)->set linkflap interval ge.1.4 1000
set linkflap action
Usethiscommandtosetreactionstoalinkflapviolation.
Syntax
set linkflap action port-string {disableInterface | gensyslogentry | gentrap |
all}
Parameters
port‐string Specifiestheport(s)onwhichtosetthelinkflapinterval.
interval‐value Specifiesanintervalinseconds.Avalueof0willsettheintervalto
forever.
port‐string Specifiestheport(s)onwhichtosetthelinkflapaction.
disableInterface Setsthereactionasdisablingtheinterface.
gensyslogentry Setsthereactionasgeneratingasyslogentry.
gentrap Setsthe reactionasgeneratinganSNMPtrap.
all Setsthereactionasalloftheabove.