ESR series service routers.ESR-Series. User manual
11.4.2 OSPF configuration example
Objective:
Configure OSPF protocol on the router in order to exchange the routing information with neighboring routers.
The router should be in 1.1.1.1 identifier area and announce routes received via RIP.
Solution:
Pre-configure IP addresses on interfaces according to the network structure shown in figure above.
Create OSPF process with identifier 10 and proceed to the OSPF protocol configuration mode:
esr(config)# router ospf 10
Create and enable the required area:
esr(config-ospf)# area 1.1.1.1
esr(config-ospf-area)# enable
esr(config-ospf-area)# exit
Enable advertising of the routing information from RIP:
esr(config-ospf)# redistribute rip
Enable OSFP process:
esr(config-ospf)# enable
esr(config-ospf)# exit
neighboring routers are connected to gi1/0/5 and gi1/0/15 interfaces. To establish the neighboring with other
routers, map them to OSPF process and the area. Next, enable OSPF routing for the interface.
esr(config)# interface gigabitethernet 1/0/5
esr(config-if-gi)# ip ospf instance 10
esr(config-if-gi)# ip ospf area 1.1.1.1
esr(config-if-gi)# ip ospf
esr(config-if-gi)# exit