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.
Usage Scenario
To advertise the BGP origin AS validation result (Valid, NotFound, or Invalid) to a specified BGP peer so that the BGP peer can apply the result to route selection, run the peer advertise origin-as-validation command.
Prerequisites
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpn1-af-ipv6] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 as-number 100 [*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 advertise-ext-community [*HUAWEI-bgp-6-vpna] peer 2001:DB8:1::1 advertise origin-as-validation