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 method of load/traffic distribution.
Specifies the source based load/traffic distribution.
Specifies IP address based load/traffic distribution.
Specifies IP address and Layer 4 port-based load/traffic
Specifies the TCP protocol.
Specifies the UDP protocol.
Specifies the port range. The
y values are non-overlapping values
in the range 0-65535.
Specifies the destination based load/traffic distribution.
Specifies the number of buckets to create. The range is
from 2 to 256, in powers of 2.
Specifies the mask position number. The range is from 0 to
ITD configuration (config-itd)
The following keywords and arguments were added:
This command was introduced.
You must ensure that ITD is enabled before you enter this command.
You can enter the
featureitd global configuration mode command to enable
The options for the
load-balance command are as follows:
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.
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.
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.
This command requires the Enhanced Layer 2 Package license.
This example shows how to configure load balancing for ITD:
switch(config)# feature itd
switch(config)# itd device-group dg
switch(config-device-group)# node ip 18.104.22.168
switch(config-device-group)# node ip 22.214.171.124
switch(config-device-group)# node ip 126.96.36.199
switch(config-device-group)# probe icmp
switch(config)# itd test
switch(config-itd)# device-group dg
switch(config-itd)# ingress interface Ethernet 4/1-10
switch(config-itd)# load-balance method dst ip-l4port range 10 20
Enables the ITD service on the switch.
Adds an ingress interface or multiple interfaces to an ITD
Configures an ITD service.
Creates an ITD device group.
Creates an IPv4 cluster node for ITD.
Creates an IPv6 cluster node for ITD.
Configures the cluster group service probe for ITD.