The priority-of-link-quality { interval | times } command sets the number of probes and interval of link quality detection.
The undo priority-of-link-quality { interval | times } command restores the default settings.
priority-of-link-quality { interval interval | times times } *
undo priority-of-link-quality { interval | times } *
| Parameter | Description | Value |
|---|---|---|
| interval | Specifies the detection interval. | The value is an integer ranging from 1 to 10, in seconds. The default value is 5. |
| times | Specifies the number of probes. | The value is an integer ranging from 2 to 10. The default value is 3. |
After you run the mode priority-of-link-quality command to set the mode of intelligent uplink selection to load balancing by link quality, you can run the priority-of-link-quality { interval | times } command to set the number of probes and interval for sending probe packets.
The configuration takes effect globally for PBR. That is, intelligent uplink selection for PBR performs link quality detection based on the specified number of probes and interval.
# Set the link quality detection interval to 2s and the number of probes to 5 for global intelligent uplink selection.
<sysname> system-view [sysname] multi-interface [sysname-multi-inter] priority-of-link-quality interval 2 times 5
# Set the link quality detection interval to 2s and the number of probes to 5 for PBR-based intelligent uplink selection.
<sysname> system-view [sysname] policy-based-route [sysname-policy-pbr] rule name 1 [sysname-policy-pbr-rule-1] action pbr egress-interface multi-interface [sysname-policy-pbr-rule-1-multi-inter] priority-of-link-quality interval 2 times 5