R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

226
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface
3.3.3.3/32 Direct 0 0 127.0.0.1 InLoop0
10.220.2.0/24 Direct 0 0 10.220.2.16 S2/0
10.220.2.16/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
172.17.100.0/24 Direct 0 0 172.17.100.2 S2/1
172.17.100.2/32 Direct 0 0 127.0.0.1 InLoop0
192.168.64.0/24 O_ASE 150 1 172.17.100.1 S2/1
192.168.74.0/24 O_ASE 150 1 172.17.100.1 S2/1
192.168.99.0/24 O_ASE 150 1 172.17.100.1 S2/1
The output shows that Router C has learned routes to 192.168.64.0/24, 192.168.74.0/24, and
192.168.99.0/24 through OSPF.
4. Configure BGP between Router C and Router D, and configure BGP on Router C to redistribute
OSPF routes:
# On Router C, enable BGP, specify Router D as an EBGP peer, and configure BGP to redistribute
OSPF routes.
[RouterC] bgp 65106
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] peer 10.220.2.217 as-number 64631
[RouterC-bgp] import-route ospf
# Enable BGP, and configure Router C as an EBGP peer on Router D.
[RouterD] bgp 64631
[RouterD-bgp] router-id 4.4.4.4
[RouterD-bgp] peer 10.220.2.16 as-number 65106
[RouterD-bgp] quit
# Display routing table information on Router D.
[RouterD] display ip routing-table
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost NextHop Interface
4.4.4.4/32 Direct 0 0 127.0.0.1 InLoop0
10.220.2.0/24 Direct 0 0 10.220.2.217 S2/0
10.220.2.217/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
192.168.64.0/24 BGP 255 1 10.220.2.16 S2/0
192.168.74.0/24 BGP 255 1 10.220.2.16 S2/0
192.168.99.0/24 BGP 255 1 10.220.2.16 S2/0
The output shows that Router D has learned routes to 192.168.64.0/24, 192.168.74.0/24, and
192.168.99.0/24 through BGP.