The number of the sub-AS where other EBGP peers connected to the local AS reside
is set.
as-number
is valid in the confederation only when the sub-ASs of the confederation
are configured.
The
confederation id
and
confederation peer-as
commands must be run on all the
EBGP peers in the same confederation, and the same confederation ID must be set for
these EBGP peers.
NOTE
An old speaker that has a 2-byte AS number cannot be in the same confederation with a new
speaker that has a 4-byte AS number. Otherwise, a routing loop may occur. This is because the
AS4_Path attribute does not support confederations.
l
Configure confederation compatibility.
Other switchs may implement the confederation that does not comply with the RFC
standard. In such a situation, confederation compatibility must be configured. Perform the
following steps on a BGP device:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
confederation nonstandard
The switchs are configured to be compatible with the nonstandard AS confederation.
By default, the configured confederation accords with RFC 3065.
----End
Checking the Configuration
After a confederation is configured, you can check whether the configuration is correct.
l
Run the
display bgp peer
[
ipv4-address
]
verbose
command to check detailed information
about BGP peers.
l
Run the
display bgp routing-table
[
network
[ {
mask
|
mask-length
} [
longer-
prefixes
] ] ] command to check routing information in a BGP routing table.
7.11 Configuring BGP Community Attributes
Community attributes are used to simplify routing policy management.
7.11.1 Establishing the Configuration Task
Before configuring BGP community attributes, familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the data required for the
configuration. This will help you complete the configuration task quickly and accurately.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
7 BGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
417