threshold

Specifies if the measurement exceeds the configured average or max threshold value.

Syntax

threshold { forward | backward } | { average value | max value }
no threshold

Parameters

forward
Defines the forward direction.
backward
Defines the backward direction.
average value
Defines the average value.
max value
Defines the maximum value.

Modes

Y.1731 configuration mode

Usage Guidelines

The threshold command specifies if the measurement exceeds the configured average or max threshold value in the backward or forward direction, then Syslogs or SNMP traps need to generated..

The average-threshold parameter specifies that when the average-threshold value in the applied profile is exceeded, take actions as configured in the action profile for this event.

The max-threshold parameter specifies that when the max-threshold value in the applied profile is exceeded, take actions as configured in the action profile for this event.

Examples

Example of setting the direction and average threshold.

device# configure terminal
device(config)# protocol cfm
device(protocol-cfm)# y1731
device(protocol-cfm-y1731)# test-profile my_test_profile
device(protocol-cfm-y1731-my_test_profile)# threshold backward
device(protocol-cfm-y1731-my_test_profile)# threshold average 25
device(protocol-cfm-y1731-my_test_profile)# exit