Like OSPFv2, OSPFv3 intervals can also be adjusted.
OSPFv3 Hello and Dead intervals can be modified manually using the following interface configuration mode commands:
- ipv6 ospf hello-interval seconds
- ipv6 ospf dead-interval seconds
Note: Use the no ipv6 ospf hello-interval and no ipv6 ospf dead-interval commands to reset the intervals to their default.
Refer to the IPv6 topology in Figure 1. Assume that the network has converged using OSPFv3.
The example in Figure 2 modifies the OSPFv3 Hello interval to 5 seconds. Immediately after changing the Hello interval, the Cisco IOS automatically modifies the Dead interval to four times the Hello interval. However, as with OSPFv2, it is always good practice to explicitly modify the timer instead of relying on an automatic IOS feature so that modifications are documented in the configuration. Therefore, the Dead interval is also manually set to 20 seconds on the R1 Serial 0/0/0 interface.
Once the Dead Timer on R1 expires, R1 and R2 lose adjacency, as displayed by the highlighted OSPFv3 adjacency message in Figure 2, because the values have only been altered on one side of the serial link between R1 and R2. Recall that the OSPFv3 Hello and Dead intervals must be equivalent between neighbors.
Use the show ipv6 ospf neighbor command on R1 to verify the neighbor adjacencies (Figure 3). Notice that R1 is no longer adjacent with the 188.8.131.52 (R2) neighbor.
To restore adjacency between R1 and R2, the R2 Serial 0/0/0 interface Hello interval is set to 5 seconds (Figure 4). Almost immediately, the IOS displays a message that adjacency has been established with a state of FULL.
Verify the interface intervals using the show ipv6 ospf interface command (Figure 5). Notice that the Hello time is 5 seconds and that the Dead Time was automatically set to 20 seconds instead of the default 40 seconds. Remember that the OSPF automatically sets the Dead interval to four times the Hello interval.