ESR service routers. ESR-Series. Functionality description. Version 1.12.0
137
esr(config-ospf)# enable
esr(config-ospf)# exit
Neighbouring routers are connected to gi1/0/5 and gi1/0/15 interfaces. To establish the neighbouring 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
esr(config)#
interface
gigabitethernet
1
/
0
/
15
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
esr(config)# exit
5.3.3 OSPF stub area configuration example
Objective:
Change 1.1.1.1 area type, area should be stub. Stub router should advertise routes received via RIP.
Solution:
Pre-configure OSPF protocol and IP addresses on interfaces according to the network structure shown in
figur
e
.
Change area type to stub. For each router from 1.1.1.1 area, execute the following command in the
configuration mode:
esr(config-ospf-area)# area-type stub
For R3 stub router, enable advertising of the routing information from RIP:
esr(config-ospf)# redistribute rip