peer advertise evpn mac-route detail-only(BGP-EVPN address family view)(ipv6)

Function

The peer advertise evpn mac-route detail-only command enables the device to advertise only specific MAC routes.

The undo peer advertise evpn mac-route detail-only command disables the function of advertising only specific MAC routes.

By default, specific MAC routes and UMRs are advertised.

Format

peer peerIpv6Addr advertise evpn mac-route detail-only

peer peerIpv6Addr advertise evpn mac-route detail-only disable

undo peer peerIpv6Addr advertise evpn mac-route detail-only

undo peer peerIpv6Addr advertise evpn mac-route detail-only disable

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is in the format of X:X:X:X:X:X:X:X.

disable

Disables the function of advertising specific MAC routes. After the command is run, the configuration of the group is not affected. If the command is undone, the configuration of the group is inherited.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an EVPN scenario where a device needs to advertise only specific MAC routes but not UMR routes to a specified peer, run this command.

Example

# Enable the device to advertise only specific MAC routes in the BGP-EVPN address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1::1 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 1::1 enable
[*HUAWEI-bgp-af-evpn] peer 1::1 advertise evpn mac-route detail-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >