Masking layer-2 information, Configuring mask option for load balancing – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 839

Advertising
background image

Multi-Service IronWare Switching Configuration Guide

809

53-1003036-02

Configuring IP load sharing

19

Masking layer-2 information

With the load-balance mask ethernet command set, the following Layer-2 values can be masked
during ECMP and LAG index hash calculations: source and destination MAC address, VLAN,
Ethertype, and Inner VLAN. To mask Layer-2 information, use the load-balance mask ethernet
command, as shown in the following.

Brocade(config)# load-balance mask ethernet sa-mac all

Syntax: [no] load-balance mask ethernet [sa-mac | da-mac | vlan | etype | inner-vlan] [ all |

slot-number | slot-number np-id ]

Use the sa-mac option when you want to mask the source MAC address.

Use the da-mac option when you want to mask the destination MAC address.

Use the vlan option when you want to mask the VLAN ID.

Use the etype option when you want to mask the Ethertype

Use the inner-vlan option when you want to mask the inner VLAN 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.

Configuring mask option for load balancing

In an MPLS network, when the L2VPN is configured using a LDP tunnel, which in turn is using a
RSVP bypass tunnel, then the packets will include four labels. The four labels are:

RSVP bypass label - Label 0 which is the outermost MPLS label

RSVP protected label - Label 1

LDP label - Label 2

VC label - Label 3 which is the innermost MPLS label

In the

Figure 202

, all the packets routed between the routers, R2 and R5 include four MPLS labels

which are masked for calculating the ECMP and LAG index hash value.

FIGURE 202

L2VPN packets over a LDP tunnel

Advertising