Saturday, March 12, 2011

Lab 36 - OSPF Timers

Prerequisites: CCNP level skills.

Personal Note!
My spine gives me a hard time today. I can't sit in front of the computer for too long :(.

Topology
 Pic. 1 - OSPF Topology.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
Change the default timers (10/40) between R1 and R3. Hello should  be sent every 5 seconds, dead interval should be set 20 seconds. Use only one command per router.

Task 2
Change the dead interval between R1 and R2 to 1/4 of a second

Task 3
On R1 and R3 the SPF algorithm should wait at least 150 milliseconds before it runs again upon receiving a new LSA. Next SPF recalculation should not occur before 1 seconds elapsed since the first one, and maximum time before two consecutive SPF calculation should be 10 seconds.

Task 4
Configure LSA pacing with 70 ms between consecutive LSA updates. LSA retransmissions should be at least 80 ms apart.


Task 5
The routers R1 and R3 should accept the same LSA from a neighbor after 2 seconds. The same LSA is considered to have the same:
  • LSA ID number
  • LSA Type
  • Advertising Router ID
Task 6
R1 and R3 should throttle LSA generation according to the following values:
  • start-delay (default no delay): 200 ms
  • hold-interval (next LSA generation delay default is 5 sec): 10 seconds
  • max-interval (max time the same LSA can be generated default: 7 sec.): 7 seconds
Lab Solution

Task 1
Change the default timers (10/40) between R1 and R3. Hello should  be sent every 5 seconds, dead interval should be set 20 seconds. Use only one command per router.

R1, R3 Configuration:
!
interface Serial0/1
 ip ospf hello-interval 5
!

Notice!
By changing hello parameter, the dead interval becomes 4 times hello automatically. This does not work the other way though (dead interval is not going to change hello timer automatically).

Task 2
Change the dead interval between R1 and R2 to 1/4 of a second.

R1, R2 Configuration:
!
interface FastEthernet1/0
 ip ospf dead-interval minimal hello-multiplier 4
!

Task 3
On R1 and R3 the SPF algorithm should wait at least 150 milliseconds before it runs again upon receiving a new LSA. Next SPF recalculation should not occur before 1 seconds elapsed since the first one, and maximum time before two consecutive SPF calculation should be 10 seconds.

R1, R3 Configuration:
!
router ospf 1
  timers throttle spf 150 1000 10000
!

Task 4
Configure LSA pacing with 70 ms between consecutive LSA updates. LSA retransmissions should be at least 80 ms apart.

R1, R3 Configuration:
!
router ospf 1
 timers pacing flood 70
 timers pacing retransmission 80
!


Task5
The routers R1 and R3 should accept the same LSA from a neighbor after 2 seconds. The same LSA is considered to have the same:
  • LSA ID number
  • LSA Type
  • Advertising Router ID
R1, R3 Configuration:
!
router ospf 1
 timers lsa arrival 2000
!


Task 6
R1 and R3 should throttle LSA generation according to the following values:
  • start-delay (default no delay): 200 ms
  • hold-interval (next LSA generation delay default is 5 sec): 10 seconds
  • max-interval (max time the same LSA can be generated default: 7 sec.): 7 seconds
R1, R3 Configuration:
!
router ospf 1
 timers throttle lsa all 200 10000 7000
!