peer advertise-large-community (BGP-VPNv4-multicast address family view)

Function

The peer advertise-large-community command enables a device to advertise the Large-Community attribute to a BGP peer.

The undo peer advertise-large-community command cancels the configuration.

By default, a device does not advertise the Large-Community attribute to its BGP peer.

Format

peer ipv4-address advertise-large-community [ disable ]

undo peer ipv4-address advertise-large-community [ disable ]

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

The value is in dotted decimal notation.

disable

Disables the Large-Community attribute from being advertised to a BGP peer.

-

Views

BGP-VPNv4-multicast 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 the Large-Community attribute to its BGP peer, run the peer advertise-large-community command. If the Large-Community attribute is advertised to a peer, all the peer members in the group inherit this configuration. This simplifies the application of route-policies and facilitates route maintenance and management.

Prerequisites

Specific Large-Community values have been defined in a route-policy.

Example

# Enable a device to advertise the Large-Community attribute to a BGP peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.2.2.2 as-number 200
[*HUAWEI-bgp] ipv4-family vpnv4-multicast
[*HUAWEI-bgp-af-vpnv4-multicast] peer 10.2.2.2 enable
[*HUAWEI-bgp-af-vpnv4-multicast] peer 10.2.2.2 advertise-large-community
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >