Reference Guide

Table Of Contents
Interface parameters
To avoid routing errors, interface parameter values must be consistent across all interfaces. For example, set the same time
interval for the hello packets on all routers in the OSPF network to prevent misconfiguration of OSPF neighbors.
1. To change the OSPFv2 parameters in CONFIGURATION mode, enter the interface.
interface interface-name
2. Change the cost associated with OSPF traffic on the interface in INTERFACE mode, from 1 to 65535. The default depends
on the interface speed.
ip ospf cost
3. Change the time interval, from 1 to 65535, that the router waits before declaring a neighbor dead in INTERFACE mode. The
default time interval is 40. The dead interval must be four times the hello interval and must be the same on all routers in the
OSPF network.
ip ospf dead-interval seconds
4. Change the time interval between hello-packet transmission in INTERFACE mode, from 1 to 65535. The default time interval
is 10. The hello interval must be the same on all routers in the OSPF network.
ip ospf hello-interval seconds
5. Change the priority of the interface, which determines the DR for the OSPF broadcast network in INTERFACE mode, from 0
to 255. The default priority of the interface is 1.
ip ospf priority number
6. Change the retransmission interval time, in seconds, between LSAs in INTERFACE mode, from 1 to 3600. The default
retransmission interval time is 5. The retransmit interval must be the same on all routers in the OSPF network.
ip ospf retransmit-interval seconds
7. Change the wait period between link state update packets sent out the interface in INTERFACE mode, from 1 to 3600. The
default wait period is 1. The transmit delay must be the same on all routers in the OSPF network.
ip ospf transmit-delay seconds
Change parameters and view interface status
OS10(conf-if-eth1/1/1)# ip ospf hello-interval 5
OS10(conf-if-eth1/1/1)# ip ospf dead-interval 20
OS10(conf-if-eth1/1/1)# ip ospf retransmit-interval 30
OS10(conf-if-eth1/1/1)# ip ospf transmit-delay 200
View OSPF interface configuration
OS10(conf-if-eth1/1/1)# do show ip ospf interface
ethernet1/1/1 is up, line protocol is up
Internet Address 11.1.1.1/24, Area 0.0.0.0
Process ID 65535, Router ID 99.99.99.99, Network Type broadcast, Cost: 1
Transmit Delay is 200 sec, State BDR, Priority 1
Designated Router (ID) 150.1.1.1, Interface address 11.1.1.2
Backup Designated router (ID) 99.99.99.99, Interface address 11.1.1.1
Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 30
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 150.1.1.1(Designated Router)
Redistribute routes
Add routes from other routing instances or protocols to the OSPFv2 process and include BGP, static, or connected routes in the
OSPFv2 process. Do not route IBGP routes to OSPFv2 unless there are route-maps associated with the OSPFv2 redistribution.
Layer 3
389