13.5.7 Configuring route reflection
This section describes how to configure a confederation using the following figure as a reference.
|
- <Structure of this section>
(1) List of configuration commands
The following table lists the commands used to configure route reflection.
Command name |
Description |
---|---|
bgp client-to-client reflection |
Specifies that BGP4 routes are to be reflected between the route reflector and clients. |
bgp cluster-id |
Specifies the cluster ID to be used in route reflection. |
bgp router-id |
If bgp cluster-id is not set, the router ID is used as the cluster ID for route reflection. |
neighbor always-nexthop-self |
Specifies that the NEXT_HOP attribute of routes advertised to an internal peer (including route reflection) is to be forcibly changed to the local address being used for peering with the internal peer. |
neighbor route-reflector-client |
Specifies the route reflector client. |
(2) Configuring Route Reflection
- Points to note
-
The bgp client-to-client reflection configuration command is enabled by default and does not need to be set. If you do not want BGP4 routes to be reflected between the route reflector and clients, use the no bgp client-to-client reflection command in config-router mode.
Command examples
-
(config)# router bgp 65531
(config-router)# bgp router-id 192.168.1.100
(config-router)# neighbor 172.16.2.2 remote-as 65532
(config-router)# neighbor 192.168.2.2 remote-as 65531
(config-router)# neighbor 192.168.3.2 remote-as 65531
(config-router)# neighbor 192.168.4.2 remote-as 65531
(config-router)# neighbor 192.168.5.2 remote-as 65531
Configures the BGP4 peers, defining Router 1 as an external peer and Routers 2 to 5 as internal peers.
-
(config-router)# bgp cluster-id 10.1.2.1
Sets the cluster ID.
-
(config-router)# neighbor 192.168.2.2 route-reflector-client
(config-router)# neighbor 192.168.3.2 route-reflector-client
(config-router)# neighbor 192.168.4.2 route-reflector-client
Defines Routers 2, 3, and 4 as route reflector clients.