< Home

mode (Multi-Egress View)

Function

The mode command configures the uplink selection mode.

The undo mode command restores the default link selection mode, which is load balancing by link weight.

Format

mode { priority-of-link-quality | priority-of-userdefine | proportion-of-bandwidth | proportion-of-weight }

undo mode

Parameters

Parameter Description Value
priority-of-link-quality Indicates load balancing by link quality. -
priority-of-userdefine Indicates active/standby backup by link priority. -
proportion-of-bandwidth Indicates load balancing by link bandwidth. -
proportion-of-weight Indicates load balancing by link weight. -

Views

Global multi-egress view

PBR multi-egress view

Default Level

2: Configuration level

Usage Guidelines

The global route selection policy and PBR-based intelligent uplink selection policy are independent from each other, and the latter policy has a higher priority.

Example

# Set the intelligent uplink selection mode for global route selection policies to load balancing by link bandwidth.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] mode proportion-of-bandwidth

# Set the intelligent uplink selection mode for PBR to load balancing by link bandwidth.

<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] mode proportion-of-bandwidth
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >