R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
451
To configure an EBGP peer group using the third approach:
Ste
p
Command
1. Enter system view.
system-view
2. Enter BGP view.
bgp as-number
3. Create an EBGP peer group.
group group-name external
4. Add a peer into the group and specify its AS
number.
peer ip-address group group-name as-number
as-number
NOTE:
Do not specify any AS number for a peer before adding it into the peer group.
Peers added in the group can have different AS numbers.
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 routing 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 routing 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 routing policy, see the chapter "Configuring routing policies."
To configure BGP community:
Ste
p
Command
Remarks
1. Enter system view system-view
2. Enter BGP view
bgp as-number
3. Advertise the community attribute to
a peer/peer group.
Advertise the community attribute
to a peer/peer group:
peer { group-name | ip-address }
advertise-community
Advertise the extended
community attribute to a
peer/peer group:
peer { group-name | ip-address }
advertise-ext-community
Not configured by default.
4. Apply a routing policy to routes
advertised to a peer/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.