To create a
load-balance group and configure the type of load-balancing to be used, use the
cable
load-balance
group
command in global configuration mode. To delete a load-balance
group, use the
no form of
this command. To reset a load-balance group to its default configuration, use
the
default form
of this command.
cable load-balance group n [method utilization | method modem | method service-flows]
no cable load-balance group n
Syntax Description
n
|
Specifies the number of the load balance group. In Cisco IOS Release
12.2(33)SCE3 and earlier, the valid range is from 1 to 80. In Cisco IOS Release
12.2(33)SCE4 and later, the valid range is from 1 to 256.
|
method
modem
|
(Optional) Specifies that the load-balance group should use the number of
active cable modems on an interface to determine the current load (default).
This method does not take into account the amount of traffic flowing through
those particular cable modems.
|
method
service-flows
|
(Optional) Specifies that the load-balance group should use the number of
active service flow IDs (SFIDs) on an interface to determine the current load.
|
method
utilization
|
(Optional) Specifies that the load-balance group should use an interface’s
current percentage of utilization to determine the current load.
Tip
|
The
utilization
method does not begin moving cable modems for load balancing until the
utilization of the interface is at 25 percent or more. This is done to avoid
the unnecessary moving of cable modems due to temporary spikes in an
interface’s utilization rates.
|
|
Command Default
No load-balance
groups are created. By default, a load-balance group uses the actual number of
cable modems online each interface to determine load balancing needs (modem option).

Note
|
If you do not
create any load-balance groups, the Cisco CMTS defaults to using a form of
registration-based load balancing that attempts to equally distribute cable
modems among upstreams at the time the cable modems register and come online.
No load balancing is done for downstreams or for cable modems that are already
online.
|
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.2(15)BC1
|
This
command was introduced for the Cisco uBR7246VXR and Cisco uBR10012 routers.
|
12.2(33)SCE4
|
The
valid range for the load balance group was changed.
|
IOS-XE 3.15.OS
|
This command is not supported on the Cisco cBR Series
Converged Broadband Routers.
|
Usage Guidelines
The
cable
load-balance
group
command is used to configure the following features:
The
cable
load-balance command creates a load-balance group,
which can then be assigned to a number of upstream and downstream cable
interfaces to allow the Cisco CMTS to load balance cable modems as needed. The
Cisco CMTS can use the load-balance groups for static, passive, and dynamic
load balancing of both upstream and downstream channels. You can configure
downstreams and upstreams to use the same load balancing parameters, or you can
configure upstreams and downstreams separately.

Note
|
You can
create a maximum of 20 load-balance groups on each chassis. However, you can
reuse those load-balance groups on different sets of cable interfaces, as long
as they are in different domains. If downstreams are not included in a
load-balance group, then each downstream can be considered a separate domain.
|
Use the
cable
load-balance
group
(global
configuration) command to initially create and
configure a load-balance group. Then use the
cable
load-balance
group
(interface
configuration) command to assign this load-balance
group to an upstream or downstream, so that the cable interface will begin
participating in load-balancing operations.
You can
configure a load-balance group to use one of the following types of
load-balancing methods:
See the
following sections for more information about each method.
Modem Method
The
modem
method of load-balancing uses the number of active cable modems on an interface
to determine the current load. This is a form of distribution-based load
balancing, in which the absolute numbers of modems are used to determine
whether interfaces are load balanced.
This method
does not take into account the amount of traffic flowing through the cable
modems, but the system does take into account the relative bandwidth of the
channels being used, so that channels with higher bandwidths are allocated
higher numbers of cable modems. This means that when interfaces are using
different channel widths or modulation profiles, the system can assign
different numbers of cable modems to the interfaces to achieve a balanced load.
For example:
- Channel
widths— If two upstreams are being load balanced, and one upstream is
configured with a channel width of 1.6 MHz and the other upstream is configured
for a channel width of 3.2 MHz, the Cisco CMTS allocates twice as many cable
modems to the second upstream, because its channel width is twice as large as
the first upstream’s channel width.
- Modulation
profiles— If one downstream is configured for 64-QAM and the other downstream
is configured for 256-QAM, the Cisco CMTS allocates a proportionately larger
number of cable modems to the second downstream so as to achieve a balanced
load.
When both the
channel width and different modulation profile are set differently on two
interfaces, the system calculates a “weight” value to use as a guide to
determine the relative bandwidths of the interfaces.

Tip
|
In a system
with balanced loads, the interfaces will contain the same number of cable
modems only when the interfaces are configured with the same modulation
parameters.
|
Service Flow Method
The
service-flows method of load balancing uses the
number of active service flow IDs (SFIDs) on an interface to determine the
current load. This is a form of distribution-based load balancing, in which the
absolute numbers of service flows are used to determine whether interfaces are
load balanced.
This method
does not take into account the amount of traffic flowing on each SFID, but the
system does take into account the relative bandwidth of the channels being
used, so that channels with higher bandwidths are allocated higher numbers of
SFIDs. This means that when interfaces are using different channel widths or
modulation profiles, the system can assign different numbers of SFIDs to the
interfaces to achieve a balanced load. For example:
- Channel
widths— For example, if two upstreams are being load balanced, and one upstream
is configured with a channel width of 1.6 MHz and the other upstream is
configured for a channel width of 3.2 MHz, the Cisco CMTS allocates twice as
many SFIDs to the second upstream, because its channel width is twice as large
as the first upstream’s channel width.
- Modulation
profiles— For example, if one downstream is configured for 64-QAM and the other
downstream is configured for 256-QAM, the Cisco CMTS allocates a
proportionately larger number of SFIDs to the second downstream so as to
achieve a balanced load.
When both the
channel width and different modulation profile are set differently on two
interfaces, the system calculates a “weight” value to use as a guide to
determine the relative bandwidths of the interfaces.

Tip
|
In a system
with balanced loads, the interfaces will contain the same number of SFIDs only
when the interfaces are configured with the same modulation parameters.
|
Utilization Method
The
utilization
method uses an interface’s current percentage of utilization to determine the
current load. This method uses the amount of traffic being sent over an
interface, in the form of the percentage of total bandwidth being used. (To
avoid unnecessary movement of cable modems, the
utilization
method does not perform load balancing until an interface is at least 25
percent of utilization.)

Note
|
Do not use
the
utilization
method of load balancing on cable interfaces that have a small number of cable
modems and where a single modem is responsible for the majority of the
interface load. In this condition, the Cisco CMTS could end up continually
moving cable modems from one interface to another in an endless attempt to load
balance the interfaces. To avoid this, configure the utilization threshold to a
value that is higher than what can be caused by any single cable modem.
|
When using the
utilization
method, the system takes into account the relative throughput and bandwidth (as
determined by the modulation profiles and channel widths) of each interface
when evaluating the load on those interfaces. For example, if two upstreams are
being load-balanced using the utilization method, and the first upstream has
twice the bandwidth of the second upstream, the two upstreams are considered
balanced when they reach the same percentage of utilization. The first upstream
is carrying more traffic than the second upstream because it has a larger
capacity for traffic, but the percentage of utilization will be the same.

Note
|
Certain
conditions can cause a system instability that could result in the Cisco CMTS
endlessly attempting to load balance the interfaces. For example, this
situation could occur in noisy environments, where cable modems drop offline on
a regular basis, or when cable modems are repeatedly trying to register because
the provisioning system has sent them the wrong DOCSIS configuration files. If
the Cisco CMTS detects such unstable situations, it does not load balance cable
modems from those interfaces until the system stabilizes. However, if the
system instability persists, you should increase the threshold values using the
cable
load-balance
group
threshold
command until you can solve the stability problems.
|
Use the
no form of
this command to delete a load-balance group. Deleting a load-balance group also
automatically removes all upstream and downstream channel associations that
were made with that group using the
cable
load-balance and
cable
upstream
load-balance commands.

Tip
|
To exclude
individual cable modems from one or more types of load balancing, use the
cable
load-balance
exclude
command.
|
Examples
The following
example shows how to create a load-balance group numbered 10, using the default
method of
modem ,
which specifies that the Cisco CMTS uses the actual number of cable modems that
are online to determine load-balancing operations.
Router# config terminal
Router(config)# cable load-balance group 10
Router(config)#
The following
example shows how to create a load-balance group numbered 1, which uses the
number of active SFIDs on an interface to determine the current load on the
interface:
Router# config terminal
Router(config)# cable load-balance group 1 method service-flows
Router(config)#