Configuring bgp community, Configuring a bgp route reflector – H3C Technologies H3C S7500E Series Switches User Manual
Page 245
6-42
Configuring BGP Community
A BGP community is a group of destinations with the same characteristics. It has no geographical
boundaries and is independent of ASs.
You can configure a route policy to define which destinations belong to a BGP community and then
advertise the community attribute to a peer/peer group.
You can apply a route policy to filter routes advertised to/received from a peer/peer group according to
the community attribute. This way helps simplify policy configuration and management.
For how to configure a route policy, see Route Policy Configuration in the Layer 3 - IP Routing
Configuration Guide.
Follow these steps to configure BGP community:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Advertise the community
attribute to a peer/peer
group
peer { group-name | ip-address }
advertise-community
Advertise the
community
attribute to a
peer/peer group
Advertise the extended
community attribute to a
peer/peer group
peer { group-name | ip-address }
advertise-ext-community
Required
Not configured by
default.
Apply a routing policy to routes advertised to a
peer/peer group
peer { group-name | ip-address }
route-policy route-policy-name
export
Required
Not configured by
default.
Configuring a BGP Route Reflector
If an AS has many BGP routers, you can configure them as a cluster and configure one of them as a
route reflector and others as clients to reduce iBGP connections.
To enhance network reliability and prevent single point failures, you can specify multiple route
reflectors for a cluster. The route reflectors in the cluster must have the same cluster ID specified to
avoid routing loops.
Follow these steps to configure a BGP route reflector:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Configure the router as a route
reflector and specify a peer/peer
group as its client
peer { group-name | ip-address }
reflect-client
Required
Not configured by default.