Log-Rate-Limit Nsm - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

L
C
OGGING
OMMANDS
-
-
LOG
RATE
LIMIT NSM

log-rate-limit nsm

Overview
This command limits the number of log messages generated by the device for a
given interval.
Use the no variant of this command to revert to the default number of log
messages generated by the device of up to 200 log messages per second.
Syntax
log-rate-limit nsm messages <message-limit> interval
<time-interval>
no log-rate-limit nsm
Default
By default, the device will allow 200 log messages to be generated per second.
Mode
Global Configuration
Usage
Previously, if the device received a continuous stream of IGMP packets with errors,
such as when a packet storm occurs because of a network loop, then the device
generates a lot of log messages using more and more memory, which may
ultimately cause the device to shutdown. This log rate limiting feature constrains
the rate that log messages are generated by the device.
Note that if within the given time interval, the number of log messages exceeds the
limit, then any excess log messages are discarded. At the end of the time interval,
a single log message is generated indicating that log messages were discarded
due to the log rate limit being exceeded.
Thus if the expectation is that there will be a lot of discarded log messages due to
log rate limiting, then it is advisable to set the time interval to no less than 100,
which means that there would only be one log message, indicating log excessive
log messages have been discarded.
Examples
To limit the device to generate up to 300 log messages per second, use the
following commands:
awplus#
awplus(config)#
C613-50186-01 Rev B
Parameter
<message-limit>
<time-interval>
configure terminal
log-rate-limit nsm messages 300 interval 100
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
<1-65535>
The number of log messages generated by the device.
<0-65535>
The time period for log message generation in 1/100 seconds.
If an interval of 0 is specified then no log message rate limiting
is applied.
349

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents