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.
<HUAWEI> system-view [~HUAWEI] ip ip-prefix 1 permit 10.1.1.0 24 [*HUAWEI] route policy RP permit node 10 [*HUAWEI-route-policy] if-match ip-prefix 1 [*HUAWEI-route-policy] apply large-community 35551:100:65552 [*HUAWEI-route-policy] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] peer 1.1.1.2 as-number 200 [*HUAWEI-bgp] ipv4-family flow [*HUAWEI-bgp-af-ipv4-flow] peer 1.1.1.2 enble [*HUAWEI-bgp-af-ipv4-flow] peer 1.1.1.2 advertise-large-community