Results

Chapter: L Commands

L Commands

load-balance

To configure the buckets, mask position, and/or the load-balancing
method of an Intelligent Traffic Director (ITD) service, use the
load-balance command. To remove the
configuration, use the
no form of this command.

Specifies the port range. The
x and
y values are non-overlapping values
in the range 0-65535.

dst

Specifies the destination based load/traffic distribution.

bucketsbucket-number

Specifies the number of buckets to create. The range is
from 2 to 256, in powers of 2.

mask-positionposition

Specifies the mask position number. The range is from 0 to
31.

Command Default

None.

Command Modes

ITD configuration (config-itd)

Command History

Release

Modification

6.2(10)

The following keywords and arguments were added:
ip-l4port,
tcp,
udp,
range
x y.

6.2(8)

This command was introduced.

Usage Guidelines

You must ensure that ITD is enabled before you enter this command.
You can enter the
featureitd global configuration mode command to enable
ITD.

The options for the
load-balance command are as follows:

buckets—Specifies
the number of buckets to create. Buckets must be configured in powers of two.
One or more buckets are mapped to a node in the cluster.

If you configure more buckets than the number of nodes, the buckets
are applied in a round-robin fashion across all the nodes.

mask-position—Specifies
the mask position of the load balancing. This command is useful when a packet
classification has to be made based on specific octets or bit of an IP
addresses. By default, the system uses the last octet/least significant bit
(LSB) for bucketing. If you prefer to use nondefault bits/octets, you can use
the mask-position keyword to provide the starting point at which the traffic
classification is to be made. For example, the starting point is at the 8th bit
for the second octet and the 16th bit for the third octet of an IP address.

method—Specifiesoneofthefollowing:

sourceIPaddress.

destinationIPaddress.

sourceIPaddressandsourceL4port.

destinationIPaddressanddestinationL4port.

Note

Before modifying the service parameters or device-group
parameters, you must enter the
shutdown command. Once the required
parameters are modified, you should enter the
noshutdown command on the service.