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 instance p1 [*HUAWEI-bgp-instance-p1] peer 10.2.2.2 as-number 100 [*HUAWEI-bgp-instance-p1] ipv4-family vpnv4 [*HUAWEI-bgp-instance-p1-af-vpnv4] peer 10.2.2.2 enable [*HUAWEI-bgp-instance-p1-af-vpnv4] peer 10.2.2.2 advertise origin-as-validation