Ethernet Configuration Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 394
17
disable—Disables Link-flap Prevention.
Default Configuration
Link-flap prevention is enabled on the device.
Command Mode
Global Configuration mode
User Guidelines
This command will shutdown Ethernet (Physical) interfaces if the interface
experienced, for a duration of 10 seconds, 3 link flaps (link status changes) within
each second.
You can use the following commands to reset an interface shut down by link-flap prevention:
The errdisable recovery reset command with the link-flapping parameter to recover all
interfaces in this state due to link-flap prevention, or the interface interface-id parameter to reset a
given interface.
The errdisable recovery cause with the link-flapping parameter to automatically recover
from the link-flap prevention error-disabled state.
The command sequence of "shutdown" and then "no shutdown" on required interface.
Example
The following example enables link-flap prevention on the device.
switchxxxxxx(config)#
link-flap prevention
17.14 clear counters
To clear counters on all or on a specific interface, use the clear counters Privileged
EXEC mode command.
Syntax
clear counters
[interface-id]