display load-balance hash-info

Function

The display load-balance hash-info command displays information about the load balancing hash mechanism on a specified board or all boards.

Format

display load-balance hash-info slot slot-id

display load-balance hash-info all

Parameters

Parameter Description Value
all

Displays information about the load balancing hash mechanism on all boards.

-

slot slot-id

Displays information about the load balancing hash mechanism on the board in a specified slot.

The value range varies according to device hardware.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
forwarding read

Usage Guidelines

Usage Scenario

To view information about the load balancing hash mechanism on a specified board or all boards, run the display load-balance hash-info command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the load balancing hash mechanism on the board in a specified slot.
<HUAWEI> display load-balance hash-info slot 1
slot 1:
 load-balance hash-arithmetic random
 load-balance hash-fields ip l4
 load-balance hash-fields mac l4
 load-balance hash-fields vll l4
 undo load-balance hash-fields tunnel-info disable
 undo load-balance hash-fields tunnel-inner-ip enable
 undo load-balance hash-fields tunnel-info gtp disable
 load-balance hash-fields mpls ip
# Display information about the load balancing hash mechanism on all boards.
<HUAWEI> display load-balance hash-info all
system:
 undo load-balance hash-fields l2vxlan-vni enable
 undo load-balance hash-fields l3vxlan-vni enable
 undo load-balance hash-fields l2vxlan-deep-hash enable
slot 1:
 load-balance hash-arithmetic random
 load-balance hash-fields ip l4
 load-balance hash-fields mac l4
 load-balance hash-fields vll l4
 undo load-balance hash-fields tunnel-info disable
 undo load-balance hash-fields tunnel-inner-ip enable
 undo load-balance hash-fields tunnel-info gtp disable
 load-balance hash-fields mpls ip
Table 1 Description of the display load-balance hash-info command output
Item Description
display load-balance hash-info all

Display information about the load balancing hash mechanism on all boards.

load-balance hash-arithmetic random

Specify a hash algorithm to be random on the interface board.

load-balance hash-fields ip l4

Specify hash factors that are used for traffic load balancing on the interface board in IP forwarding.

load-balance hash-fields mac l4

Specify hash factors of the interface board that are used for flow-based load balancing in VPLS or common Layer 2 forwarding.

load-balance hash-fields vll l4

Specify hash factors that are used for traffic load balancing on the interface board in VLL forwarding.

load-balance hash-fields mpls ip

Ip is used as the hash factor an interface board uses to perform hash calculation to load-balance MPLS traffic per flow.

slot 1

Display information about the load balancing hash mechanism on the board in a specified slot.

undo load-balance hash-fields l2vxlan-vni enable

Load balancing is not implemented based on VXLAN information.

undo load-balance hash-fields l3vxlan-vni enable

Load balancing for VXLAN Layer 3 forwarding is not enabled.

undo load-balance hash-fields l2vxlan-deep-hash enable

Deep load balancing is disabled for a Layer 2 VXLAN.

undo load-balance hash-fields tunnel-info disable

A device uses tunnel information as a hash factor during hash calculation for non-fragmented IPv4 and IPv6 tunnel packets.

undo load-balance hash-fields tunnel-inner-ip enable

Load balancing based on inner IP packets transmitted over an SRv6 is not enabled.

undo load-balance hash-fields tunnel-info gtp disable

A device uses tunnel information as a hash factor during hash calculation for packets of a specified tunnel type. The hash factor is SIP+DIP+tunnel ID.

system

Display information about the load balancing hash mechanism of system.

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