duplicate-mac-timer (EVPN default instance)

Configures a duplicate MAC detection timer for the detection of continuous MAC moves.

Syntax

duplicate-mac-timer interval max-count interval
no duplicate-mac-timer interval max-count interval

Parameters

interval
Specifies the duplicate MAC detection timer interval in seconds. Valid values range from 5 through 300. The default is 5.
max-count value
Specifies the maximum threshold of MAC moves that can occur within the configured time interval before the MAC address is treated as a duplicate address and further advertisements for that MAC address are blocked. Valid values range from 3 through 10. The default is 3.

Modes

EVPN instance configuration mode

Usage Guidelines

The no form of the command restores the default values.

Examples

The following example sets the duplicate MAC detection timer interval to 180 and the maximum count to 5 for the default EVPN instance.

device# configure terminal
device(config)# evpn
device(config-evpn-default)# duplicate-mac-timer 180 max-count 5

The following example restores the default duplicate MAC detection timer and maximum count values.

device# configure terminal
device(config)# evpn
device(config-evpn-default)# no duplicate-mac-timer