The peer advertise-large-community command enables the function to advertise routes carrying the large-community attribute to a BGP EVPN peer.
The undo peer advertise-large-community command disables the function to advertise routes carrying the large-community attribute to a BGP EVPN peer.
By default, a device does not advertise routes carrying the large-community attribute to a BGP EVPN peer.
<HUAWEI> system-view [~HUAWEI] ip ipv6-prefix 1 permit 2001:db8::2 96 [*HUAWEI] route-policy RP permit node 10 [*HUAWEI-route-policy] if-match ipv6-prefix 1 [*HUAWEI-route-policy] apply large-community 35551:100:65552 additive [*HUAWEI-route-policy] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] peer 2001:db8::2 as-number 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] peer 2001:db8::2 enable [*HUAWEI-bgp-af-evpn] peer 2001:db8::2 advertise-large-community