< Home

priority-of-link-quality mask

Function

The priority-of-link-quality mask command sets the mask length for link quality detection.

The undo priority-of-link-quality mask command restores the mask length for link quality detection to the default value.

Format

priority-of-link-quality mask mask-length

undo priority-of-link-quality mask

Parameters

Parameter Description Value
mask-length Specifies the length of the IP address mask. The value is an integer ranging from 1 to 32. The default value is 16.

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 mask command sets the mask length.

The configuration takes effect globally for PBR. That is, intelligent uplink selection for PBR uses this mask length.

After completing link quality detection for a certain destination IP address, the device considers the detection result as the link quality of the destination subnet. The destination subnet is determined by the destination IP address and the mask length specified in the command. You can run the display priority-of-link-quality table command to display the destination IP address and mask length.

In link quality detection, a destination IP address can represent all IP addresses in the destination subnet. You can expand or narrow down the subnet range based on the actual condition. The default value is recommended.

Example

# Set the mask length for link quality detection to 28 for global intelligent uplink selection.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] priority-of-link-quality mask 28

# Set the mask length for link quality detection to 28 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 mask 28
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >