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

Function

The peer advertise evpn mac-route detail-only command enables a peer group to advertise specific routes.

The undo peer advertise evpn mac-route detail-only command disables a peer group from advertising specific routes.

By default, specific MAC routes and UMRs are advertised.

Format

peer groupName advertise evpn mac-route detail-only

undo peer groupName advertise evpn mac-route detail-only

Parameters

Parameter Description Value
groupName

Specifies the name of a peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To enable a device to advertise only specific MAC routes to a specified peer group, run the mpls te-mac command.

Example

# Enable the device to advertise specific routes to a specified peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group g1
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer g1 advertise evpn mac-route detail-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >