R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
349
To do… Use the command…
Remarks
Enter BGP view bgp as-number
—
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
Required
Not configured
by default.
Advertise the extended
community attribute to a
peer/peer group
peer { group-name | ip-address }
advertise-ext-community
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, specify multiple route reflectors for a
cluster. The route reflectors in the cluster must have the same cluster ID 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.
Enable route reflection between
clients
reflect between-clients
Optional
Enabled by default
Configure the cluster ID of the route
reflector
reflector cluster-id cluster-id
Optional
By default, a route reflector uses its
router ID as the cluster ID.
CAUTION:
• 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.
• In general, a cluster has only one route reflector, and the router ID is used to identify the cluster. You can
configure multiple route reflectors to improve network stability. To avoid routing loops, specify the same
cluster ID for these route reflectors by using the reflector cluster-id command.
Configuring a BGP confederation
Configuring a BGP confederation is another way for reducing iBGP connections in an AS.
A confederation contains sub ASs. In each sub AS, iBGP peers are fully meshed. Between sub ASs, eBGP
connections are established.
If routers not compliant with RFC 3065 exist in the confederation, use the confederation nonstandard
command to make the local router compatible with these routers.