threshold-monitor bfd-sessions

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

Syntax

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

Parameters

actions [ 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 of BFD sessions 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 of BFD sessions 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 BFD Sessions.

SLX (config)# threshold-monitor bfd-session ?
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 bfd-session interval 180
SLX (config)# threshold-monitor bfd-session count 30 
SLX (config)# threshold-monitor bfd-session high-limit 85 
SLX (config)# threshold-monitor bfd-session low-limit 55 
SLX (config)# threshold-monitor bfd-session action raslog 
SLX (config)# 
SLX (config)# do show running-config threshold-monitor bfd-session 
threshold-monitor bfd-session high-limit 85 low-limit 55 actions raslog count 30 interval 180
SLX (config)#