NOTE
l
When configuring a BGP4+ community, you should define the specific community
attribute by using the routing policies. Then, apply these routing policies to the
advertisement of routing information.
l
For the configuration of routing policies, refer to
configuration of community attributes, refer to
.
----End
8.4.9 Checking the Configuration
After BGP4+ route attributes are configured, you can check information about route attributes.
Prerequisites
The configurations for BGP4+ route attributes are complete.
Procedure
l
Run the
display bgp
ipv6
paths
[
as-regular-expression
] command to check the AS-Path
information.
l
Run the
display bgp ipv6 routing-table
different-origin-as
command to check the route
with the different source AS.
l
Run the
display bgp ipv6 routing-table
regular-expression
as-regular-expression
command to check the routing information matching the regular expression of the AS.
l
Run the
display bgp ipv6 routing-table
community
[
aa:nn
&<1-29> ] [
internet
|
no-
advertise
|
no-export
|
no-export-subconfed
] * [
whole-match
] command to check
routing information about the specified BGP4+ community.
l
Run the
display bgp ipv6 routing-table
community-filter
{ {
community-filter-name
|
basic-community-filter-number
} [
whole-match
] |
advanced-community-filter-number
}
command to check information about the routes matching the specified BGP4+ community
attribute filter.
----End
8.5 Controlling the Advertising and Receiving of BGP4+
Routing Information
BGP4+ can perform routing policies on or filter only the routes to be advertised to a certain peer.
8.5.1 Establishing the Configuration Task
Before controlling the advertisement of BGP4+ routes, familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the required data. This can help
you complete the configuration task quickly and accurately.
Applicable Environment
This section describes the following:
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
511