logging rate-limit
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
63
Alcatel-Lucent
Beta
Beta
OmniAccess 700 CLI Command Reference Guide
LOGGING
RATE
-
LIMIT
logging rate-limit
<
1-10000
> [<
1-3600
>] {
priority
<
0-7
>|
tag
<
string
> [
subtag
<
string
>]}
D
ESCRIPTION
This command is used to limit the number of messages (in the range 1-10000)
generated by a process during a specified time interval. Tag and subtag string can
have only one word.
P
ARAMETERS
D
EFAULT
V
ALUE
Default interval is 1 second.
E
XAMPLE
2005 Nov 16 20:46:14: %snort-5-LOG: [1:499:4] ICMP Large ICMP
Packet
In the above message the tag is snort, priority is 5 and subtag is LOG.
To limit the number of messages coming from snort to, say, 5 in 2 seconds
execute the following command:
ALU(config)# logging rate-limit 5 2 tag snort
2003 Dec 22 18:41:10: %CLI-6-ACL: User created Filter policy f5
In this message the sub-tag is ACL. To have finer control, the subtag of a
particular tag can also be rate-limited.
To limit the number of messages coming from ACL's CLI plugin to 10 in a second,
execute the following command:
ALU(config)#logging rate-limit 10 tag cli subtag acl
Parameter
Description
1-10000
Permissible number of messages. Varies
from 1-10000.
1-3600
Interval under consideration in seconds.
tag <string>
The name of the process.
subtag <string>
The name of the sub-process.
0-7
The priority of the message which has to
be rate-limited. Messages of lower-
priority will also be rate-limited.