set linkflap action
5-24 Port Configuration
set linkflap action
Usethiscommandtosetreactionstoalinkflapviolation.
Syntax
set linkflap action port-string {disableInterface | gensyslogentry | gentrap |
all}
Parameters
Defaults
None.
Mode
Switchmode,read‐write.
Example
Thisexampleshowshowtosetthelinkflapviolationactiononportge.1.4togeneratingaSyslog
entry.
B3(rw)->set linkflap action ge.1.4 gensyslogentry
clear linkflap action
Usethiscommandtoclearreactionstoalinkflapviolation.
Syntax
clear linkflap action [port-string] {disableInterface | gensyslogentry | gentrap
| all}
Parameters
Defaults
Ifport‐stringisnotspecified,actionswillbeclearedonallports.
port‐string Specifiestheport(s)onwhichtosetthelinkflapaction.
disableInterface Setsthereactionasdisablingtheinterface.
gensyslogentry Setsthereactionasgeneratingasyslogentry.
gentrap Setsthe reactionasgeneratinganSNMPtrap.
all Setsthe
reactionasalloftheabove.
port‐string (Optional)Specifiestheport(s)onwhichtoclearthelinkflapaction.
disableInterface Clearsthereactionasdisablingtheinterface.
gensyslogentry Clearsthereactionasgeneratingasyslogentry.
gentrap ClearsthereactionasgeneratinganSNMPtrap.
all Clearsthereactionasalloftheabove.