Controlling Link State Changes
Configure link flap detection to control state changes on a physical port.
Procedure
Example
Enable automatic disabling of the port:
Switch:1(config)#link-flap-detect auto-port-down
Configure the link-flap-detect interval:
Switch:1(config)#link-flap-detect interval 20
Enable sending traps:
Switch:1(config)#link-flap-detect send-trap
Variable Definitions
Use the data in the following table to use the link-flap-detect command.
Variable |
Value |
---|---|
<auto-port-down> |
Automatically disables the port if state changes exceed the link-flap threshold. By default, auto-port-down is enabled. Use the no operator to remove this configuration. To set this option to the default value, use the default operator with the command. |
frequency <1-9999> |
Configures the number of changes that are permitted during the time specified by the interval command. The default is 20. To set this option to the default value, use the default operator with the command. |
interval <2-600> |
Configures the link-flap-detect interval in seconds. The default value is 60. To set this option to the default value, use the default operator with the command. |
send-trap |
Activates traps transmission. The default setting is activated. Use the no operator to remove this configuration. To set this option to the default value, use the default operator with the command. |