< Home

priority-of-link-quality protocol

Function

The priority-of-link-quality protocol command sets a protocol type for link quality detection packets.

The undo priority-of-link-quality protocol command restores the default setting.

Format

priority-of-link-quality protocol { icmp | tcp-simple }

undo priority-of-link-quality protocol

Parameters

Parameter Description Value
icmp Sends ICMP probe packets. -
tcp-simple Indicates that TCP packets are used to check network connectivity. A link is considered available upon the reply to the first detection packet by the destination device, not completion of the three-way handshake. -

Views

Global multi-egress view

PBR multi-egress view

Default Level

2: Configuration level

Usage Guidelines

The default protocol type of link quality detection packets is tcp-simple.

After you use the mode priority-of-link-quality command to set the intelligent uplink selection mode to load balancing by link quality, you can use the priority-of-link-quality protocol command to set a protocol type for link quality detection packets.

Example

Set the protocol type to icmp for link quality detection packets in global intelligent uplink selection.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] priority-of-link-quality protocol icmp

# Set the protocol type to icmp for link quality detection packets in 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 protocol icmp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >