threshold-monitor lif

Configures monitoring of the number of LIFs against the maximum number of supported LIFs and alerts the user when configured thresholds are exceeded.

Syntax

threshold-monitor lif [ high-limit value-in-percent ] [ low-limit value-in-percent ] [ action [ none | raslog | snmp | all ] ] [ count maximum-number-of-events ] [ interval time-interval-in-seconds ]
no threshold-monitor lif

Parameters

action [ none | raslog | snmp | all ]
Specifies the action to be taken when a threshold is exceeded. The values supported are all, none, raslog, and snmp. Default is all.
all
RASLOG and SNMP trap will be sent when the threshold is exceeded.
none
No action will be taken when the threshold is exceeded.
raslog
Only RASLOG will be sent when the threshold is exceeded.
snmp
SNMP traps will be sent when the threshold is exceeded.
high-limit value-in-percentage
Specifies the upper threshold limit for number of LIFs as a percentage (%) that will trigger the configured action. The range is 10%-100%. The default value is 90%.
low-limit value-in-percentage
Specifies the lower threshold limit for number of LIFs as a percentage (%) that will trigger the configured action. The range is 10%-99%. The default value is 70%.
count maximum-number-of-events
Specifies the maximum number of events that will be generated in the time interval configured by the interval keyword. The range is 1-60. The default value is 4 events.
interval time-interval-in-seconds
Specifies the time interval in seconds where events are generated. The range is 60-900 seconds. The default value is 120 seconds.

Modes

Global configuration mode

Usage Guidelines

The default action is all.

The high-limit value must always be higher than the low-limit value . If not, an error will be generated.

Use the interval and count keywords to limit the number of events that are generated due to the thresholds being exceeded.

Examples

This example configures the various thresholds for monitoring LIFs.

SLX (config)# threshold-monitor lif ?
Possible completions:
  actions      Action to be taken when usage crosses threshold limits
               (Default:all)
  count        Maximum number of events generated in configured time interval
               (Default:4)
  high-limit   Upper threshold limit in percentage (Default:90)
  interval     Time interval in seconds (Default:120)
  low-limit    Lower threshold limit in percentage (Default:70)
SLX (config)# threshold-monitor lif interval 180
SLX (config)# threshold-monitor lif count 30 
SLX (config)# threshold-monitor lif high-limit 85 
SLX (config)# threshold-monitor lif low-limit 55 
SLX (config)# threshold-monitor lif action raslog 
SLX (config)# 
SLX (config)# do show running-config threshold-monitor lif 
threshold-monitor lif high-limit 85 low-limit 55 actions raslog count 30 interval 180
SLX (config)#