Masking layer-3 and layer-4 information – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 838

Advertising
background image

808

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Configuring IP load sharing

19

Syntax: [no] load-balance force-l4-hashing [ all | slot-number | slot-number np-id ]

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

Specifying a slot number using the slot-number variable limits the command to an individual
module.

Specifying a slot number and a network processor ID using the slot-number and np-id variables
limits the command to the ports supported by the specified network processor on the specified
interface module.

NOTE

Problems can occur with the Ping and Traceroute functions when this option is enabled.

Masking layer-3 and layer-4 information

With this option set, the following values can be masked during ECMP and LAG index hash
calculations: TCP or UDP source and destination port information, source and destination IP
address, IPv4 protocol ID, and IPv6 next header. When used with the load-balance force-l4-hashing
command, this command takes precedence. This option can be set using the following commands.

Brocade(config)# load-balance mask ip src-l4-port all

Syntax: [no] load-balance mask ip [src-l4-port | dst-l4-port | src-ip | dst-ip | protocol] [ all |

slot-number | slot-number np-id ]

Use the src-l4-port option when you want to mask the Layer-4 source port.

Use the dst-l4-port option when you want to mask the Layer-4 destination port.

Use the src-ip option when you want to mask the IP source address.

Use the dst-ip option when you want to mask the IP destination address.

Use the protocol option when you want to mask the IPv4 protocol ID.

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

Specifying a slot number using the slot-number variable limits the command to an individual
module.

Specifying a slot number and a network processor ID using the slot-number and np-id variables
limits the command to the ports supported by the specified network processor on the specified
interface module.

This command can be applied for IPv6 using the following command.

Brocade(config)# load-balance mask ipv6 src-l4-port all

Syntax: [no] load-balance mask ipv6 [src-l4-port | dst-l4-port | src-ip | dst-ip | next-hdr] [ all |

slot-number | slot-number np-id ]

Except for the next-hdr option, the command options are the same as for the load-balance mask ip
command as described previously. The next-hdr option is described in the following:

Use the next-hdr option when you want to mask the IPv6 next header.

These commands are disabled by default.

Advertising