Port Link Flap Commands
Use these commands to configure link-flap detection on ports.
The switch can detect the number of link-flaps that occur on all ports. If the number of link-flaps on a port exceeds a configured threshold during a configured period, the port can be placed in the D-Disable state.
By enabling auto-recovery, the port can automatically be activated again. You can also activate the port manually.
link-flap d-disable
M4250
M4350
This command enables the link-flap feature on the switch. When enabled, the switch counts the number of link flaps on a port during a configured period. If the number of link flaps on a port exceeds a configured threshold, the port is placed in the D-Disable state.
| Default | enabled |
| Format | link-flap d-disable |
| Mode | Global Config |
no link-flap d-disable
This command disables the link-flap feature on the switch.
| Format | no link-flap d-disable |
| Mode | Global Config |
link-flap d-disable duration
M4250
M4350
This command configures the maximum period that a port is allowed to flap before the port is placed in the D-Disable state.
The duration argument can be from 3 to 200 seconds. The default is 10 seconds.
| Default | 10 seconds |
| Format | link-flap d-disable duration duration |
| Mode | Global Config |
no link-flap d-disable duration
This command sets the link-flap duration to its default of 10 seconds.
| Format | no link-flap d-disable duration |
| Mode | Global Config |
link-flap d-disable max-count
M4250
M4350
This command configures the maximum number of flaps that are allowed before the port is placed in the D-Disable state.
The count argument can be a number from 2 to 100. The default number is 5.
| Default | 5 |
| Format | link-flap d-disable max-count count |
| Mode | Global Config |
no link-flap d-disable max-count
This command sets the maximum number of allowed link flaps to its default of 5.
| Format | no link-flap d-disable max-count |
| Mode | Global Config |
show link-flap d-disable
M4250
M4350
This command displays the link-flap settings.
| Format | show link-flap d-disable |
| Mode | Global Config |
| Term | Definition |
|---|---|
| Admin State | Shows whether the link-flap feature is enabled or not. |
| Duration (in seconds) | The maximum period that link flaps are allowed. |
| Max-Count | The maximum number of link flaps that are allowed. |