peer entropy-label (BGP view) (group)

Function

The peer entropy-label command enables the entropy label capability for a device to improve load balancing during traffic forwarding.

The undo peer entropy-label command cancels the existing configuration.

By default, the entropy label capability is not enabled for a device.

Format

peer peerGroupName entropy-label

undo peer peerGroupName entropy-label

Parameters

Parameter Description Value
peerGroupName

Specify an peer group name.

The value is a string of 1 to 47 case-sensitive characters, spaces not supported.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If load balancing is uneven on a network, you can run the peer entropy-label command to enable the entropy label capability for the device. This capability is effective in scenarios where traffic is forwarded along received BGP routes that carry the entropy label. Therefore, you also need to run the peer advertise-entropy-label elc command on the peer to enable the peer to add the entropy label of the entropy label capability (ELC) type to routes to be advertised to the local device. The two configurations help equalize and improve the performance of load balancing.

Precautions

If the peer entropy-label command is run in the BGP-IPv4 unicast address family, the configuration takes effect only for labeled routes.

Example

# Enable the entropy label capability.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group A external
[*HUAWEI-bgp] peer A label-route-capability
[*HUAWEI-bgp] peer A entropy-label
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >