mac-route no-advertise

Function

The mac-route no-advertise command disables local MAC routes from being advertised.

The undo mac-route no-advertise command cancels the configuration.

By default, local MAC routes can be advertised.

Format

mac-route no-advertise

undo mac-route no-advertise

Parameters

None

Views

BD EVPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In VXLAN Layer 3 gateway scenarios where Layer 2 unicast traffic forwarding is not involved, to disable local MAC routes from being advertised, run the mac-route no-advertise command. This configuration prevents an EVPN peer gateway from receiving MAC routes, therefore saving memory resources.

Example

# Disable local MAC routes from being advertised.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance 2 bd-mode
[*HUAWEI-evpn-instance-2] mac-route no-advertise
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >