configure ports link-flap-detection action

configure ports [port_list | all] link-flap-detection action [add | delete] [{{disable-port} {log} {trap}} | all-actions]

Description

Add or deletes actions (disabling ports, logging events, generating SNMP traps) to be taken when excessive link flapping is detected.

Syntax Description

ports Physical ports.
port_list List of ports to set link-flap detection actions upon.
all Sets the configured action for link-flap detection upon all ports in the system.
action Sets actions to be taken when excessive link flapping is detected.
add Adds action(s).
delete Deletes action(s).
disable-port Disables selected ports if link-flap threshold is exceeded. After a port is disabled, the port either stays down for the configured disable time value (set in the configure ports link-flap-detection interval threshold disable-time command) or can be re-enabled manually using the clear ports link-flap-detection status command.
log Generates a log event if link-flap threshold is exceeded.
trap Generates an SNMP trap if link-flap threshold is exceeded.
all-actions Adds or deletes all the actions.

Default

By default, all actions are turned off.

Example

The following example adds all link-flap actions (disabling ports, logging events, generating SNMP traps) on ports 3–10:

configure ports 3-10 link-flap-detection action add all-actions

History

This command was first available in ExtremeXOS 22.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.