The peer discard-ext-community command configures a BGP device to discard the extended community attributes carried by routes received from a specified peer group.
The undo peer discard-ext-community command cancels the configuration.
By default, a BGP device does not discard the extended community attribute carried by any received route.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group test internal [*HUAWEI-bgp] ipv4-family multicast [*HUAWEI-bgp-af-multicast] peer test enable [*HUAWEI-bgp-af-multicast] peer test discard-ext-community