Sets the maximum number
of messages that can be processed per second.
Privilege:
Security Administrator,
Administrator
Mode
Exec > Global Configuration
> RLF Template Configuration
configure > rlf-template rlf_template_name
Entering the above
command sequence results in the following prompt:
[context_name]host_name(cfg-rlf-template)#
Syntax
msg-rate tps_value burst-size size [ -noconfirm ]
tps_value
Specifies the number
of messages that can be processed per second. This is the maximum number
of allowed transactions per second (TPS) for an external interface.
IMPORTANT:
The TPS value (configured
per external interface) is at a chassis-level and is distributed appropriately
to all session managers, AAA manager, Diamproxy, or any other applications
that use RLF. RLF employs the Token Bucket Algorithm to achieve
the rate limiting.
tps_value must
be an integer from 1 through 100000.
burst_size size
Defines the maximum
number of messages (burst) that can be sent out together at any instant
of time. If this setting is not configured, the default value is
the current message rate.
Burst size is used
to derive the shaping interval in such a way that it splits the
1000 ms in N slots, where N can be 1, 2, 4, 5, 10, 20, 50, and 100.
size must
be an integer from 1 through 100000.
[ -noconfirm ]
Specifies that the
command must execute without any prompts and confirmation from the user.
Usage:
Use this command to
define the number of messages that can be processed per second. This
is the maximum number of allowed transactions per second (TPS) for
an external interface. The RLF ensures that the maximum configured
TPS rate is not exceeded on the interface.
If burst-size is not
configured. the messages are sent without delay when they arrive
in RLF. For example, if the CLI command msg-rate 1000 burst-size 100 is
configured, then all 1,000 messages are sent to an external interface
in bursts of 100 messages (burst-size). If the burst size is not
configured, then all 1,000 messages are sent as they arrive in RLF
(regardless of TPS).
Example:
The following command
sets the value of message rate to 20:
msg-rate 20