< Home

confederation peer-as

Function

The confederation peer-as command configures the number of each sub-AS of the same confederation.

The undo confederation peer-as command removes the specified sub-AS from the confederation.

By default, no sub-AS number of the confederation is configured.

Format

confederation peer-as { as-number-plain | as-number-dot } &<1-32>

undo confederation peer-as { as-number-plain | as-number-dot } &<1-32>

Parameters

Parameter Description Value
as-number-plain Integral AS number The value is an integer ranging from 1 to 4294967295.
as-number-dot AS number in dotted notation The value is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively.

Views

BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To solve the problem that a large AS may contain too large a full-meshed IBGP, you can use the method of confederation.

Prerequisites

The confederation id command specifies the confederation ID of each sub-AS. If the confederation Id is not configured, this configuration is invalid.

Configuration Impact

The sub-ASs configured in this command belong to the same confederation, and each sub-AS uses fully meshed network.

Precautions

The old speaker with 2-byte AS numbers and the new speaker with 4-byte AS numbers cannot exist in the same confederation. Otherwise, routing loops may occur because AS4_Path does not support confederations.

Example

# Configure a sub-AS for the confederation.

<sysname> system-view
[sysname] bgp 65001
[sysname-bgp] confederation id 100
[sysname-bgp] confederation peer-as 65002 65003 65004
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >