< Home

load-balance-profile

Function

The load-balance-profile command creates a load balancing profile and displays the load balancing profile view.

The undo load-balance-profile command deletes a load balancing profile.

By default, there is not a load balancing profile on the device.

Only the S5720-EI, S5720-HI, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

load-balance-profile profile-name

undo load-balance-profile profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a load balancing profile.

The value is a string of 1 to 31 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Before setting the load balancing mode, create a load balancing profile.

Only one load balancing profile can be created.

If VLAN mapping, VLAN stacking, or VLAN re-marking of the ACL is configured on an inbound interface, and a load balancing profile is configured on an inter-device Eth-Trunk outbound interface, you are advised not to choose the VLAN-based load balancing mode when running the mpls field, l2 field, ipv4 field, and ipv6 field commands.

Example

# Create a load balancing profile named a.

<HUAWEI> system-view
[HUAWEI] load-balance-profile a
[HUAWEI-load-balance-profile-a] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >