R0106-HP MSR Router Series MPLS Configuration Guide(V7)

100
# Execute the display ip routing-table command on each router to verify that the routers have
learned the routes to one another, including the routes to the loopback interfaces. Take Router A
as an example:
[RouterA] display ip routing-table
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.9/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.9/32 OSPF 10 1 10.1.1.2 GE2/1/1
10.1.1.0/24 Direct 0 0 10.1.1.1 GE2/1/1
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
3. Configure BGP on Router B and Router C to make sure the ASs can communicate with each other:
# Configure Router B.
[RouterB] bgp 100
[RouterB-bgp] peer 20.1.1.2 as-number 200
[RouterB-bgp] address-family ipv4 unicast
[RouterB-bgp-ipv4] peer 20.1.1.2 enable
[RouterB-bgp-ipv4] import-route ospf
[RouterB-bgp-ipv4] import-route direct
[RouterB-bgp-ipv4] quit
[RouterB-bgp] quit
# Configure Router C.
[RouterC] bgp 200
[RouterC-bgp] peer 20.1.1.1 as-number 100
[RouterC-bgp] address-family ipv4 unicast
[RouterC-bgp-ipv4] peer 20.1.1.1 enable
[RouterC-bgp-ipv4] import-route ospf
[RouterC-bgp-ipv4] import-route direct
[RouterC-bgp-ipv4] quit
[RouterC-bgp] quit
# Execute the display ip routing-table command on each router to verify that the routers have
learned the AS-external routes. Take Router A as an example:
[RouterA] display ip routing-table
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.9/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.9/32 OSPF 10 1 10.1.1.2 GE2/1/1
3.3.3.9/32 O_ASE 150 1 10.1.1.2 GE2/1/1
4.4.4.9/32 O_ASE 150 1 10.1.1.2 GE2/1/1
10.1.1.0/24 Direct 0 0 10.1.1.1 GE2/1/1
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
20.1.1.0/24 O_ASE 150 1 10.1.1.2 GE2/1/1
30.1.1.0/24 O_ASE 150 1 10.1.1.2 GE2/1/1