reset evpn vpn-instance mac-duplication

Function

The reset evpn vpn-instance mac-duplication command clears the suppression state of MAC routes.

Format

reset evpn vpn-instance vpn-instance-name mac-duplication [ bridge-domain bd-id ] [ mac-address mac-address ] [ vlan vlan-id ]

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of an EVPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The character string can contain spaces if it is enclosed with double quotation marks (").

bridge-domain bd-id

Specifies a BD in which the suppression state of MAC routes is to be cleared.

The value is an integer ranging from 1 to 16777215.

mac-address mac-address

Specifies a MAC route whose suppression state is to be cleared.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0.

vlan vlan-id

Specifies VLAN ID.

The value is an integer that ranges from 1 to 4094.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

Usage Guidelines

Usage Scenario

When a MAC route to a specific MAC address or MAC routes in a specific BD have stopped flapping and you want to restore them before the configured hold-off timer expires, run the reset evpn vpn-instance mac-duplication command. This allows you to manually clear the suppression state of the MAC routes.

Precautions

In qualify MAC learning mode, when the suppression status of a specified MAC route needs to be cleared, the VLAN ID must be specified. Otherwise, the suppression status cannot be cleared.

Example

# Clear the suppression state of MAC routes in an EVPN instance.
<HUAWEI> reset evpn vpn-instance evrf1 mac-duplication
# In the Qualify scenario, clear the suppression state of MAC routes with the same VLAN in a BD.
<HUAWEI> reset evpn vpn-instance evrf1  mac-duplication bridge-domain 10 vlan 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >