The peer advertise-large-community command enables a device to advertise the Large-Community attribute to a 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.
Parameter | Description | Value |
---|---|---|
peerIpv4Addr |
Specifies the IPv4 address of a peer. |
The address is in dotted decimal notation. |
disable |
Disables the Large-Community attribute from being advertised to a BGP peer. |
- |
ipv6-address |
Specifies the address of the IPv6 peer to be displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
<HUAWEI> system-view [~HUAWEI] bgp 100 [~HUAWEI-bgp] peer 10.1.1.1 as-number 10 [*HUAWEI-bgp] ipv6-family mvpn [*HUAWEI-bgp-af-mvpnv6] peer 10.1.1.1 enable [*HUAWEI-bgp-af-mvpnv6] peer 10.1.1.1 advertise-large-community <HUAWEI> system-view [~HUAWEI] bgp 100 [~HUAWEI-bgp] peer 1::1 as-number 10 [*HUAWEI-bgp] ipv6-family mvpn [*HUAWEI-bgp-af-mvpnv6] peer 1::1 enable [*HUAWEI-bgp-af-mvpnv6] peer 1::1 advertise-large-community