R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide
272
Preference: 0 Cost: 100
NextHop: 2.0.1.1 Interface: GigabitEthernet2/1/2
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 2.0.2.1 Neighbor : 2.0.1.1
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 00h09m54s
Tag: 0
The output shows that Router C has one route to reach network 1.1.1.0/24, that is, Router
C<—>Router D<—>Router A.
Configuring BGP dynamic peers
Network diagram
All routers run BGP. Router A needs to establish an IBGP connection with Router B, Router C, and Router
D, respectively.
Configure the BGP dynamic peer feature to simply the IBGP peer configuration. Configure Router A as
the route reflector to reflect routes among Router B, Router C, and Router D.
Figure 83 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure IBGP connections:
# Configure BGP dynamic peers on Router A.
<RouterA> system-view
[RouterA] bgp 200
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] group in internal
[RouterA-bgp] listen-range 10.1.0.0 16 group in
# On Router B, configure Router A as an IBGP peer.
<RouterB> system-view
[RouterB] bgp 200
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 10.1.1.1 as-number 200
Router A
Router C
Router D
AS 200
Router B
GE2/1/1
10.1.1.2/24
GE2/1/1
10.1.1.1/24
GE2/1/2
10.1.2.1/24
GE2/1/3
10.1.3.1/24
GE2/1/1
10.1.3.2/24
GE2/1/1
10.1.2.2/24
GE2/1/2
9.1.1.1/24










