The peer advertise origin-as-validation command advertises the BGP origin AS validation result to the specified BGP peer.
The undo peer advertise origin-as-validation command restores the default configurations.
By default, the BGP origin AS validation result is not advertised to any BGP peer.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 100 [*HUAWEI-bgp] ipv4-family vpnv4 [*HUAWEI-bgp-af-vpnv4] peer 2001:DB8:1::1 enable [*HUAWEI-bgp-af-vpnv4] peer 2001:DB8:1::1 advertise-ext-community [*HUAWEI-bgp-af-vpnv4] peer 2001:DB8:1::1 advertise origin-as-validation