The peer advertise-ext-community command enables a device to advertise an extended community attribute to its peer.
The undo peer advertise-ext-community command cancels the existing configuration.
By default, a device does not advertise extended community attribute to its peer.
Usage Scenario
The peer advertise-ext-community command is used to enable a device to advertise an extended community attribute to a specified peer.
Precautions
Before running the peer advertise-ext-community command to configure extended community attributes, you can use a routing policy to define specific community attributes.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 100 [*HUAWEI-bgp] ipv4-family unicast [*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 enable [*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 advertise-ext-community