Configuring IP Routing Protocol-Independent Features
IP Routing Protocol-Independent Configuration Examples
IPC-387
Cisco IOS IP Configuration Guide

Note It is not necessary to include definitions of all areas in an OSPF autonomous system in the configuration

of all routers in the autonomous system. You must define only the directly connected areas. In the example that follows, routes in Area 0 are learned by the routers in area 1 (Router A and Router B) when the ABR (Router C) injects summary LSAs into area1.Autonomous system 60000 is connected to the outside world via the BGP link to the external peer at IP address 172.16.1.6.Following is the example configuration for the general network map shown in Figure63.

Router A Configuration—Internal Router

interface ethernet 1
ip address 192.168.1.1 255.255.255.0
router ospf 1
network 192.168.1.0 0.0.0.255 area 1

Router B Configuration—Internal Router

interface ethernet 2
ip address 192.168.1.2 255.255.255.0
router ospf 1
network 192.168.1.0 0.0.0.255 area 1

Router C Configuration—ABR

interface ethernet 3
ip address 192.168.1.3 255.255.255.0
interface serial 0
ip address 192.168.2.3 255.255.255.0
router ospf 1
network 192.168.1.0 0.0.0.255 area 1
network 192.168.2.0 0.0.0.255 area 0

Router D Configuration—Internal Router

interface ethernet 4
ip address 10.0.0.4 255.0.0.0
interface serial 1
ip address 192.168.2.4 255.255.255.0
router ospf 1
network 192.168.2.0 0.0.0.255 area 0
network 10.0.0.0 0.255.255.255 area 0

Router E Configuration—ASBR

interface ethernet 5
ip address 10.0.0.5 255.0.0.0
interface serial 2
ip address 172.16.1.5 255.255.0.0
router ospf 1
network 10.0.0.0 0.255.255.255 area 0
redistribute bgp 50000 metric 1 metric-type 1