peer aigp (BGP-VPNv4 address family view)

Function

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

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

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

Format

peer ipv4-address aigp

undo peer ipv4-address aigp

Parameters

Parameter Description Value
ipv4-address

IPv4 address of a BGP peer.

The value is in dotted decimal notation.

Views

BGP-VPNv4 address family 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.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.1.1.1 as-number 100
[*HUAWEI-bgp] ipv4-family vpnv4
[*HUAWEI-bgp-af-vpnv4] peer 10.1.1.1 enable
[*HUAWEI-bgp-af-vpnv4] peer 10.1.1.1 aigp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >