pex-port load-sharing mode

Use pex-port load-sharing mode to configure a port-specific load sharing mode for a PEX port to distribute traffic across its physical links.

Use undo pex-port load-sharing mode to restore the default.

Syntax

pex-port load-sharing mode { destination-ip | destination-mac | ingress-port | source-ip | source-mac } *

undo pex-port load-sharing mode

Default

The default PEX link load sharing mode differs by service modules. For information about the default link load sharing modes of different service modules, see device management in Fundamentals Configuration Guide.

Views

PEX port view

Predefined user roles

network-admin

mdc-admin

Parameters

destination-ip: Distributes traffic across PEX member links based on destination IP address.

destination-mac: Distributes packets across PEX member links based on destination MAC address.

ingress-port: Distributes packets across PEX member links based on incoming port.

source-ip: Distributes packets across PEX member links based on source IP address.

source-mac: Distributes packets across PEX member links based on source MAC address.

Usage guidelines

To successfully configure a port-specific load sharing mode for a PEX port, make sure you have bound a minimum of one physical interface to the PEX port.

You can configure a PEX port-specific load sharing mode to include a combination of multiple criteria for making traffic distribution decisions. If your device does not support a criterion combination, the system displays an error message.

If you configure the port-specific load sharing mode multiple times on a PEX port, the most recent configuration takes effect.

A PEX port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode is available, the port uses the global load sharing mode.

Examples

# Configure a port-specific load sharing mode for PEX port 1 to distribute traffic based on destination MAC address.

<Sysname> system-view
[Sysname] pex-port 1
[Sysname-pex-port1] pex-port load-sharing mode destination-mac

Related commands

pex-port global load-sharing mode