ip route prefix-priority-scheduler
Function
The ip route prefix-priority-scheduler command sets the priority-based scheduling weight of IPv4 routes.
The undo ip route prefix-priority-scheduler command restores the default priority-based scheduling weight of IPv4 routes.
By default, the priority-based scheduling weight of IPv4 routes is 8:4:2:1.
Format
ip route prefix-priority-scheduler critical-weight high-weight medium-weight low-weight
undo ip route prefix-priority-scheduler
Parameters
Parameter | Description | Value |
---|---|---|
critical-weight | Sets the scheduling weight of a critical queue. | The value is an integer that ranges from 1 to 10. |
high-weight | Sets the scheduling weight of a high queue. | The value is an integer that ranges from 1 to 10. |
medium-weight | Sets the scheduling weight of a medium queue. | The value is an integer that ranges from 1 to 10. |
low-weight | Sets the scheduling weight of a low queue. | The value is an integer that ranges from 1 to 10. |
Usage Guidelines
Usage Scenario
The integration of network services urgently requires differentiated services. Routes for key services, such as Voice over IP (VoIP), video conferences, and multicast services, need to be converged rapidly, while routes for common services can be converged relatively slowly. In this case, the system needs to converge routes based on their convergence priorities to improve network reliability.
Different routes can be set with different convergence priorities, which can be critical, high, medium, and low listed in descending order. Critical is the highest convergence priority; low is the lowest convergence priority. The system converges routes based on the convergence priorities and convergence rules, that is, schedules the convergence of routes of different convergence priorities in proportion, to guide service forwarding.
When the system is processing a large number of high-priority routes, low-priority routes may fail to be processed for a long time. In this case, to prevent system performance from being affected, run the ip route prefix-priority-scheduler command to adjust the priority-based scheduling weight of IPv4 routes.
Follow-up Procedure
In most cases, convergence priorities of routes are determined by route types. On an OSPF network, you can run the prefix-priority (OSPF) command to adjust the convergence priority of OSPF routes. On an IS-IS network, you can run the prefix-priority (IS-IS) command to adjust the convergence priority of IS-IS routes.