peer advertise origin-as-validation (BGP view) (group)

Function

The peer advertise origin-as-validation command advertises the BGP origin AS validation result to the specified BGP peer group.

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 group.

Format

peer group-name advertise origin-as-validation

undo peer group-name advertise origin-as-validation

Parameters

Parameter Description Value
group-name

Specifies the name of a peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP 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 group so that the BGP peer group 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 a peer group using the peer advertise-ext-community command.

Example

# Advertise the BGP origin AS validation result to its peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test
[*HUAWEI-bgp] peer test advertise-ext-community
[*HUAWEI-bgp] peer test advertise origin-as-validation
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >