< Home

priority-of-link-quality { interval | times }

Function

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.

Format

priority-of-link-quality { interval interval | times times } *

undo priority-of-link-quality { interval | times } *

Parameters

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.

Views

Global multi-egress view

PBR multi-egress view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >