peer advertise origin-as-validation (BGP-IPv4 unicast address family view) (IPv6)

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 peerIpv6Addr advertise origin-as-validation

undo peer peerIpv6Addr advertise origin-as-validation

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a BGP peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-IPv4 unicast 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.

Prerequisites

  1. BGP origin AS validation has been enabled using the prefix origin-validation enable command.
  2. The BGP origin AS validation result has been applied to route selection using the bestroute origin-as-validation command.
  3. The extended community has been advertised to the peer using the peer advertise-ext-community command.

Example

# Advertise the BGP origin AS validation result to its peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 enable
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 advertise-ext-community
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 advertise origin-as-validation
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >