The BGP view is displayed.
3.
Run:
confederation nonstandard
The routers are configured to be compatible with the nonstandard AS confederation.
By default, the configured confederation accords with RFC 3065.
----End
Checking the Configurations
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.
# Run the
display bgp routing-table
network
command to view information about a specified
BGP route. For example:
<HUAWEI>
display bgp routing-table 9.1.1.0
BGP local router ID : 4.4.4.4
Local AS number : 65001
Paths: 1 available, 1 best, 1 select
BGP routing table entry information of 9.1.1.0/24:
From: 10.1.3.1 (1.1.1.1)
Route Duration: 00h23m57s
Relay IP Nexthop: 0.0.0.0
Relay IP Out-Interface: Pos1/0/0
Original nexthop: 10.1.3.1
Qos information : 0x0
AS-path 100, origin igp, MED 0, localpref 100, pref-val 0, valid,
internal-
confed
, best, select, active, pre 255
Not advertised to any peer yet
8.12 Configuring BGP Community Attributes
Community attributes are used to simplify routing policy management.
8.12.1 Before You Start
Before configuring BGP community attributes, familiarize yourself with the usage scenario,
complete the pre-configuration tasks, and obtain the data required for the configuration.
Applicable Environment
Community attributes are used to simplify routing policy application and facilitate network
maintenance. They allow a group of BGP devices in different ASs to share the same routing
policies. Before advertising a route with the community attribute to peers, a BGP device can
change the original community attribute of this route. Community attributes are route attributes,
which are transmitted between BGP peers, and the transmission is not restricted within an AS.
Pre-configuration Tasks
Before configuring BGP community attributes, complete the following task:
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
821