threshold-monitor ecmp

Configures monitoring the utilization of the ECMP Table. The current values of number of ECMP Next Hop entries (in %) is compared with the configured profile limits and against the available hardware space. An alarm is raised when the number of entries falls below the configured low threshold or exceeds the configured high threshold.

Syntax

threshold-monitor ecmp { [ high-limit value-in-percentage | low-limit value-in-percentage | [ actions [ all | none | raslog | snmp ] ] ] }
no threshold-monitor ecmp { high-limit | low-limit | actions }

Parameters

high-limit value-in-percentage
Specifies the high usage limit as a percentage (%) of available ECMP table resources that will trigger the configured action. The range is 10%-100%. The default value is 90%.
low-limit value-in-percentage
Specifies the low usage limit as a percentage (%) of available ECMP table resources that will trigger the configured action. The range is 10%-99%. The default value is 70%.
actions
Specifies the action to be taken when a threshold is exceeded. The values supported are all, none, raslog, and snmp. The default action is all.
all
RASLOG and SNMP trap will be sent when the threshold is exceeded. This is the default configuration.
none
No action will be taken when the threshold is exceeded.
raslog
Only RASLOG will be sent when the threshold is exceeded.
snmp
Only SNMP traps will be sent when the threshold is exceeded.

Modes

Global Configuration Mode

Usage Guidelines

The no form of this command will reset the values to default.

The low-limit threshold value cannot be equal to or higher than the value configured for the high-limit threshold value.

For hardware tables that share space, it is possible to run out of free space even when the number of ECMP Next Hop entries has not reached its configured maximum. Once the hardware space runs out, addition of new entries will be affected.

Examples

The following example configures the lower and higher threshold monitoring values for ECMP Table.

SLX# configure terminal
SLX (config)# threshold-monitor ecmp high-limit 95 low-limit 50 action all
SLX (config)# 

The following example resets the configured ECMP table threshold monitoring values to their defaults

 SLX# configure terminal
SLX (config)# no threshold-monitor ecmp high-limit
SLX (config)# no threshold-monitor ecmp low-limit
SLX (config)# no threshold-monitor ecmp action 

Related Commands