1-60
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
mac-flap-ctrl
mac-flap-ctrl
To identify MAC flaps occurring in the router and to take preventive action, use the
mac-flap-ctrl on
per-mac
command. To remove MAC flap control, use the
no
form of the command.
mac-flap-ctrl on per-mac
<mac-movement> <time-interval>
no mac-flap-ctrl on per-mac
<mac-movement> <time-interval>
Syntax Description
Command Default
The default values for the counters are five and ten; that is five movements in ten seconds.
Command Modes
Global configuration
Command History
Usage Guidelines
Configure the maximum number of MAC movements that are allowed in a specified time interval,
beyond which the MAC movement is termed as flapping. As preventive action, err-disabling is done in
one of the ports that has MAC flapping.
Once the port is err-disabled, it can be administratively brought up using the
shut
and
no shut
commands.
Examples
The following example sets the maximum number of mac movements to 20 in 10 seconds, before a MAC
flap is detected in the router.
Router(config)#
mac-flap-ctrl on per-mac 20 10
Related Commands
mac-movement
Maximum number of MAC movements that are allowed in the specified
time.
time-interval
Time interval that can elapse before the MAC movements are tagged as
flapping.
Release
Modification
15.1(2)SNI
Support for this command was introduced on the Cisco ASR 901 router.
Command
Description
None
None