R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

305
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* > 8.1.1.0/24 8.1.1.1 0 32768 i
* >e 9.1.1.0/24 3.1.1.1 0 0 65009i
* e 3.1.2.1 0 0 65009i
{ T h e o u t p u t s h o w s t w o va l i d r o u t e s t o d e s t i n a t i o n 9.1.1. 0 / 24 . T h e ro u t e wi t h n ex t h o p 3.1.1.1 i s
marked with a greater-than sign (>), indicating it is the optimal route. The route with next hop
3.1.2.1 is marked with an asterisk (*), indicating it is a valid route, but not the optimal route.
{ By using the display ip routing-table command, you can find there is only one route to
9.1.1. 0 / 24 w i t h n e x t h o p 3 .1.1.1 a n d o u t p u t i n t e r fa c e G i g a b i t E t h e r n e t 2 / 1 / 2.
3. On Router A, configure the maximum number of ECMP routes destined for AS 65009 as 2 to
improve link usage.
[RouterA] bgp 65008
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] balance 2
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
Verifying the configuration
# Display the BGP routing table on Router A.
[RouterA] display bgp routing-table ipv4
Total number of routes: 3
BGP local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* > 8.1.1.0/24 8.1.1.1 0 32768 i
* >e 9.1.1.0/24 3.1.1.1 0 0 65009i
* >e 3.1.2.1 0 0 65009i
The output shows that there are two valid routes to the destination 9.1.1.0/24, and both of them are the
optimal routes.
By using the display ip routing-table command, you can find there are two routes to 9.1.1.0/24. One has
next hop 3.1.1.1 and output interface GigabitEthernet 2/1/2, and the other has next hop 3.1.2.1 and
output interface GigabitEthernet 2/1/3.