102
[RouterB-bgp] quit
# Configure Router C.
[RouterC] bgp 100
[RouterC-bgp] peer 11.1.1.1 as-number 200
[RouterC-bgp] address-family ipv4 unicast
[RouterC-bgp-ipv4] peer 11.1.1.1 enable
[RouterC-bgp-ipv4] import-route ospf
[RouterC-bgp-ipv4] import-route direct
[RouterB-bgp-ipv4] quit
[RouterC-bgp] quit
4.
Configure Router B and Router C to redistribute BGP routes into OSPF:
# Configure OSPF to redistribute routes from BGP on Router B.
[RouterB] ospf
[RouterB-ospf-1] import-route bgp
# Configure OSPF to redistribute routes from BGP on Router C.
[RouterC] ospf
[RouterC-ospf-1] import-route bgp
# Display the IP routing table on Router A.
[RouterA] display ip routing-table
Destinations : 16 Routes : 16
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 O_ASE2 150 1 11.2.1.1 GE1/0
10.2.1.0/24 O_ASE2 150 1 11.2.1.1 GE1/0
10.3.1.0/24 O_ASE2 150 1 11.2.1.1 GE1/0
10.4.1.0/24 O_ASE2 150 1 11.2.1.1 GE1/0
11.2.1.0/24 Direct 0 0 11.2.1.2 GE1/0
11.2.1.0/32 Direct 0 0 11.2.1.2 GE1/0
11.2.1.2/32 Direct 0 0 127.0.0.1 InLoop0
11.2.1.255/32 Direct 0 0 11.2.1.2 GE1/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
5.
Configure route summarization:
# Configure route summarization on Router B to advertise a single route 10.0.0.0/8.
[RouterB-ospf-1] asbr-summary 10.0.0.0 8
# Display the IP routing table on Router A.
[RouterA] display ip routing-table
Destinations : 13 Routes : 13