Step Description Command Keys
esr(config-if-gi)# ipv6 ospf priority
<VALUE>
45 Set the metric size on the interface or
tunnel.
esr(config-if-gi)# ip ospf cost
<VALUE>
<VALUE> – metric size, takes
values of [0..32767].
Default value: 150.
esr(config-if-gi)# ipv6 ospf cost
<VALUE>
47 Enable BFD protocol for OSPF protocol. esr(config-if-gi)# ip ospf bfd-
enable
esr(config-if-gi)# ipv6 ospf bfd-
enable
11.4.2 OSPF configuration example
Objective:
Configure OSPF protocol on the router in order to exchange the routing information with neighbouring 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.
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: