Configuring an Interval at Which LSAs Are Retransmitted
Context
After a switch sends an LSA to its neighboring switch, the switch waits for a response within an interval. If no response is received within the interval, the switch retransmits the LSA to the neighboring switch.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The OSPF interface view is displayed.
- (Optional) On an Ethernet interface, run undo portswitch
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode. - Run ospf timer retransmit interval
An interval at which LSAs are retransmitted between adjacent switches is set.
By default, the interval is 5 seconds.
Generally, the interval at which LSAs are retransmitted between adjacent switches must be larger than the round trip time of a packet transmitted between two switches. Otherwise, some LSAs are retransmitted unnecessarily.