Add or deletes actions (disabling ports, logging events, generating SNMP (Simple Network Management Protocol) traps) to be taken when excessive link flapping is detected.
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. |
By default, all actions are turned off.
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
This command was first available in ExtremeXOS 22.1.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.