retry-cycle (SYS-EVPN-MAC-DUP view)

Function

The retry-cycle command sets a hold-off time to unsuppress MAC duplication.

The undo retry-cycle command restores the default configuration.

By default, MAC duplication is unsuppressed after 540 seconds.

Format

retry-cycle retry-times

undo retry-cycle

undo retry-cycle retry-times

Parameters

Parameter Description Value
retry-times

Specifies a hold-off time to unsuppress MAC duplication suppression.

The value is an integer ranging from 120 to 3600, in seconds. The value must be a multiple of 10.

Views

SYS-BD-EVPN-MAC-DUP view, SYS-EVPN-MAC-DUP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

On an EVPN E-LAN, two PEs may be interconnected both through network-side and access-side links. If this is the case, a BUM traffic loop and MAC route flapping both occur, preventing devices from working properly. MAC duplication suppression on the devices works. By default, the system checks the number of times a MAC entry flaps within a detection period. If the number of MAC flaps exceeds the upper threshold, the system considers MAC route flapping to be occurring on the network and consequently suppresses the flapping MAC routes. The suppressed MAC routes cannot be sent to a remote PE through a BGP EVPN peer relationship. Then, the system starts a hold-off timer to unsuppress MAC duplication. After the timer expires, MAC routes are automatically unsuppressed. To modify the hold-off time, run the retry-cycle command.

Configuration Impact

If the retry-cycle command is run in both EVPN instance view and global EVPN configuration view, the configuration in the EVPN instance view takes precedence.

Precautions

This command takes effect does not take effect for MAC/IP routes but takes effect only for MAC routes.

Example

# Set the hold-off time to unsuppress MAC duplication to 200 seconds in evpn instance.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance b
[*HUAWEI-evpn-instance-b] mac-duplication
[*HUAWEI-evpn-instance-b-mac-dup] retry-cycle 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >