peer aigp (BGP-IPv4 unicast address family view) (group)

Function

The peer aigp command enables the AIGP capability for a BGP peer group.

The undo peer aigp command disables the AIGP capability for a BGP peer group.

By default, the AIGP capability is disabled for a BGP peer group.

Format

peer group-name aigp

undo peer group-name aigp

Parameters

Parameter Description Value
group-name

Name of a BGP 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-IPv4 unicast address family view, BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

An AIGP administrative domain is a set of ASs in a common administrative domain. The AIGP attribute is an optional non-transitive BGP path attribute. The AIGP attribute enables BGP to select routes based on metrics in an AIGP administrative domain. As a result, all devices in the AIGP administrative domain can use the optimal routes to forward data.

After the peer aigp command is configured, a local device can receive BGP routes carrying the AIGP attribute from BGP peers or peer groups or send such routes to BGP peers or peer groups.

Prerequisites

The peer as-number command has been run to create BGP peers or BGP peer groups.

Precautions

If a device does not change the next hop of a route to itself, the device must not change the AIGP attribute value of the route.

BGP allows you to enable the AIGP capability for either a BGP peer or a BGP peer group. If a BGP peer with the AIGP capability joins a BGP peer group that does not have the AIGP capability, the BGP peer still retains the AIGP capability. If a BGP peer without the AIGP capability joins a BGP peer group that has the AIGP capability, the BGP peer inherits the AIGP capability of the BGP peer group. After a BGP peer inherits the AIGP capability of a BGP peer group, you can run the undo peer aigp command to delete the AIGP configuration from the BGP peer.

Example

# Enable the AIGP capability for BGP peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test external
[*HUAWEI-bgp] peer test as-number 200
[*HUAWEI-bgp] peer test aigp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >