Link-Flap commands
Use these M4500 CLI commands to configure link-flap detection that disables a flapping port, and display link-flap status and settings.
show link-flap
Use this command to check the admin status and configured parameters of link-flap.
| Format | show link-flap |
| Mode | Privileged Exec |
Display Message
| Parameter | Definition |
|---|---|
| Admin status | Displays the admin state of link-flap. |
| Maximum flap count | Displays maximal allowed number of link-flap in the detection duration |
| Detection duration | Displays the time (in seconds) of duration for detecting link-flap |
link-flap
Use this command to enable Link-Flap functionality and configure the maximum allowed link-flap times and the detection duration.
Use no form of this command to reset to default.
| Default | Disabled |
| Format | [no] link-flap [<3-10> [<5-30>]] |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| <3-10> | Configure the maximum allowed link-flap times before the interface is put into err-disabled state. (Default is 3) |
| <5-30> | Configure the error detection duration in seconds. (Default is 10) |