< Home

add (intelligent uplink selection)

Function

The add command adds intelligent uplink selection member interfaces.

The undo add command deletes intelligent uplink selection member interfaces.

Format

add { interface interface-type interface-number | interface-group { interface-group-name | isp isp-name } } [ priority priority | weight weight ] *

undo add { interface interface-type interface-number | interface-group { interface-group-name | isp isp-name } } [ priority | weight ] *

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface.

-

interface-group-name

Specifies the name of an interface group.

The value must be the name of an existing interface group.

isp-name

Specifies the ISP name.

-

priority

Specifies the member interface priority.

The value is an integer ranging from 1 to 8. The default value is 1.

A larger value indicates a higher priority.

weight

Specifies the member interface weight.

The value is an integer ranging from 1 to 10. The default value is 1.

Views

Global multi-egress view

PBR multi-egress view

Default Level

2: Configuration level

Usage Guidelines

Before you configure an intelligent uplink selection member interface (excluding the Dialer interface, Tunnel interface), you must run the gateway gateway-address [ route { enable | disable } ] command to specify a gateway address for the interface.

Intelligent uplink selection member interfaces can be physical or logical interfaces. All Layer 3 interfaces, excluding the Loopback interface and virtual interface, can serve as member interfaces.

The intelligent uplink selection member interface can be an interface or an interface group. Adding an interface group adds all interfaces in the group in one action. Intelligent uplink selection member interfaces are single interfaces, but using an interface group saves the configuration time.

When the intelligent uplink selection mode is active/standby backup by link priority or load balancing by link weight, you need to specify priority or weight for the intelligent uplink selection member interface. The interface with a higher priority is preferentially used for forwarding traffic, and the interface with a higher weight forwards more traffic.

After you specify the priority for the interface group, all interfaces in the interface group have the same priority. After you specify the weight for the interface group, all interfaces in the interface group share the weight.

Example

# Add member interface GigabitEthernet 0/0/1 in the global multi-egress view and set both the interface priority and weight to 2.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] add interface GigabitEthernet 0/0/1 priority 2 weight 2

# Restore the priority of GigabitEthernet 0/0/1 to the default value.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] undo add interface GigabitEthernet 0/0/1 priority

# Restore the weight of GigabitEthernet 0/0/1 to the default value.

<sysname> system-view
[sysname] multi-interface
[sysname-multi-inter] undo add interface GigabitEthernet 0/0/1 weight
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >