Setting the LSU transmit rate
During LSDB synchronization, if the local router has multiple neighbors, it must send many LSUs to each neighbor. When a neighbor receives excessive LSUs within a short time period, the following events might occur:
The performance of the neighbor is degraded because too much system resources are used to process the received LSU packets.
The neighbor drops hello packets used for maintaining the neighbor relationship because it is busy dealing with the LSUs. As a result, the neighbor relationship is torn down. To reestablish a relationship to the neighbor, the local router must send more LSUs to the neighbor. This exacerbates the performance degradation.
This task allows you to limit the global LSU transmit rate by setting the LSU transmit interval and the maximum number of LSUs that can be sent at each interval.
To set the LSU transmit rate:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable OSPF to limit the LSU transmit rate. | ospf lsu-flood-control [ interval count ] | By default, OSPF does not limit the LSU transmit rate. Inappropriate use of this command might cause abnormal routing. As a best practice, execute this command with the default values. |
3. Enter OSPF view. | ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] * | N/A |
4. (Optional.) Set the LSU transmit interval and the maximum number of LSUs that can be sent at each interval. | transmit-pacing interval interval count count | By default, an OSPF interface sends a maximum of three LSU packets every 20 milliseconds. |