F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
280
reflector, or confederation as needed. For how to configure a peer group, see "Configuring a BGP peer
group."
Configuration prerequisites
Peering nodes are accessible to each other at the network layer.
Configuring BGP community
By default, a router does not send the community or extended community attribute to its peers or peer
groups. When the router receives a route carrying the community or extended community attribute, it
removes the attribute before advertising the route to its peers or peer groups.
This task allows you to enable a router to advertise the community or extended community attribute to its
peers, so that you can implement route filtering and control. By using this configuration together with a
routing policy, you can add and modify the community or extended community attribute of a route. For
more information about routing policy, see "Configuring routing policies."
To configure BGP community:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view. bgp as-number N/A
3. Advertise the COMMUNITY
attribute or extended
community attribute to a peer
or peer group.
• Advertise the COMMUNITY
attribute to a peer or peer
group:
peer { group-name |
ip-address }
advertise-community
• Advertise the extended
community attribute to a peer or
peer group:
peer { group-name |
ip-address }
advertise-ext-community
Use either approach.
Not configured by default.
4. Apply a routing policy to
routes advertised to a peer or
peer group.
peer { group-name | ip-address }
route-policy route-policy-name
export
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 of failure, specify multiple route reflectors for a
cluster. The route reflectors in the cluster must have the same cluster ID to avoid routing loops.
In general, it is not required to make clients of a route reflector fully meshed. The route reflector forwards
routing information between clients. If clients are fully meshed, disable route reflection between clients to
reduce routing costs.
To configure a BGP route reflector:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A