Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 841

Advertising
background image

Multi-Service IronWare Switching Configuration Guide

811

53-1003036-02

Configuring IP load sharing

19

Mask MPLS Label2 is enabled on -

No Slots

Mask MPLS Label3 is enabled on -

All Slots

Table 96

describes the output parameters of the show load-balance mask mpls command.

To display current running configuration, enter the following command.

Brocade# show running-config

!

load-balance mask mpls label3 all

!

Hash diversification for LAGs and IP load balancing

In a multi-stage network a traffic flow will normally use the same LAG port or same path (for IP load
balancing) at each stage. The Hash Diversification feature works within an earlier stage of the hash
calculation than the hash rotate feature. Using the load-balance hash-diversify command, you can
provide a unique hash diversify value to a device, or a sub-set of ports on a device. This unique
value is used in calculation of the ECMP and LAG index hash. Consequently, instead of a traffic flow
always following the same port group or path, it will be distributed over different LAG or ECMP
members. To apply hash diversification, use the following command.

Brocade(config)# load-balance hash-diversify random all

Syntax: [no] load-balance hash-diversify [ number | random | slot ] [all | slot-number |

slot-number np-id ]

You can set the unique hash diversify value using one of the following options:

The number option allows you to specify a value from 0 - 255.

The random option directs the CPU to generate a random number for each packet processor and
program it as the hash diversification value.

The slot option specifies the slot ID as the has diversification number.

The default value for the diversification number is 0 and the no version of the command resets the
value to 0 regardless of any value previously set. Also, the most recent command added overrides
any previous instances of the command. For example, if the random option is entered first and is
then followed by the slot option, the value of the slot ID for the specified slot will be used.

The all option applies the command to all ports within the device.

TABLE 96

Output parameters of the show load-balance mask mpls command

Field

Description

Slot

Shows the slot of the interface on which the MPLS masking is enabled.

Mask MPLS Label

Shows whether or not the following labels are masked.

Label0 - Shows if the Label 0 is masked on the interface.

Label1 - Shows if the Label 1 is masked on the interface.

Label2 - Shows if the Label 2 is masked on the interface.

Label3 - Shows if the Label 3 is masked on the interface.

Advertising