peer advertise origin-as-validation (BGP multi-instance VPNv4 address family view)

Function

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.

Format

peer ipv4-address advertise origin-as-validation

undo peer ipv4-address advertise origin-as-validation

Parameters

Parameter Description Value
ipv4-address

Specify an IPv4 peer address.

The value is in dotted decimal notation.

Views

BGP multi-instance VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Advertise the BGP origin AS validation result to its 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >