If you configure the global load sharing mode multiple times, the most recent configuration takes
effect.
You can also configure a port-specific load sharing mode for a PEX port in PEX port view by using
the pex-port load-sharing mode command.
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 the global PEX link load sharing mode to distribute traffic based on destination MAC
address.
<Sysname> system-view
[Sysname] pex-port global load-sharing mode destination-mac
Related commands
pex-port load-sharing mode
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 following are criteria for distributing different types of packets across PEX links:
•
TCP/UDP packets—Source and destination TCP/UDP port numbers.
•
Non-TCP/-UDP IP packets—Source and destination IP addresses.
•
Non-IP packets (packets without an IP header)—Source and destination MAC addresses.
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. This keyword
is not supported in the current software version.
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.
40