load-balance identify pppoe

Function

The load-balance identify pppoe command enables a device to identify the IP header of PPPoE packets during load balancing.

The undo load-balance identify pppoe command disables a device from identifying the IP header of PPPoE packets during load balancing.

By default, the IP header of PPPoE packets is not identified during load balancing.

Format

load-balance identify pppoe

undo load-balance identify pppoe

Parameters

None

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

In load balancing scenarios, PPPoE-encapsulated packets are identified as non-IP packets by default. In this case, load balancing is performed based on non-IP packets, which may cause uneven load balancing. After the load-balance identify pppoe command is run, the device parses PPP payload information after identifying PPPoE-encapsulated packets and performs load balancing based on the payload information.

For example, on a VPLS network, a P node performs hash calculation based on the IP 5-tuple by default. If PPPoE packets are carried, the P node processes the PPPoE packets as non-IP packets and performs hash calculation based on MPLS labels. As a result, traffic is unevenly load balanced. To enable a device to identify the IP header of PPPoE packets during load balancing, run the load-balance identify pppoe command. The device then performs hash calculation based on IP packets. The hash factors are the 5-tuple (destination IP address, source IP address, destination port number, source port number, and protocol number).

Precautions

This command takes effect on network-side boards.

In VS mode, this command is supported only by the admin VS.

Example

# Enable the interface board in slot 1 to identify the IP header of PPPoE packets during load balancing.
<HUAWEI> system-view
[~HUAWEI] slot 1
[~HUAWEI-slot-1] load-balance identify pppoe
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >