Configuring Hash Factors (Ingress PE in VLL Scenario)

Configuration Guide

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

Views

Command Format

Slot view

load-balance hash-fields vll { l2 | l3 | l4 | label-ip | label }

  • l2: indicates that hash factors are <source MAC, destination MAC>
  • l3: indicates that hash factors are <source IP address, destination IP address>
  • l4: indicates that hash factors are <source IP address, destination IP address, source port number, destination port number, protocol number>
  • label-ip:
    Extends the l4 mode:
    • For IP packets, hash factors are the source and destination IP addresses, source and destination port numbers, and protocol number.

    • For non-IP packets, hash factors are MPLS labels. If the number of labels is less than or equal to five, all labels are used for hash calculation. If the number of labels is greater than five, five outermost labels are used for hash calculation.

Suitable Scenarios

Ingress PE in VLL Scenario.

  • IP carrying TCP/UDP: the default hash factors are <source IP address, destination IP address, source port number, destination port number, protocol number>
  • IP carrying non-TCP/non-UDP: the default hash factors are <source IP address, destination IP address>

Follow-up Procedure

If this command is configured but traffic load balancing cannot be performed well, you can try to modify hash-arithmetic. For detailed information, see Configuring Hash-arithmetic.

Run the save command to save the current configuration to the configuration file when a set of configuration is finished and the expected functions have been achieved.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >