# FNG Thresholds

Thresholds generate alerts or alarms based on either the total number of FNG calls set up by the system during the specified polling interval, or on the number of currently active calls only.
Alerts or alarms are triggered for call setups based on the following rules:

- Enter condition: Actual number of call setups > High Threshold
- Clear condition: Actual number of call setups < Low Threshold

If a trigger condition occurs within the polling interval, the alert or alarm will not be generated until the end of the polling interval.

The default value is 0, which means there will be no monitoring.

The polling interval is in seconds and it is an integer between 30 and 60000. Entries will be rounded up to the nearest 30 seconds.

Configuring FNG Thresholds

Use the following configuration example to configure FNG threshold monitoring:

    configure

       [ no | default ] threshold monitoring
    fng-service

       [ default ] threshold fng-current-sessions <high_thresh> [ clear <low_thresh> ]

       [ default ] threshold poll fng-current-sessions
    interval <time>

       end

Usage thresholds are provided for monitoring the overall FNG usage on an ASR 5000 chassis. These commands are used to monitor the total number of FNG sessions, both active and inactive, over an entire chassis.

In the commands above, <high_thresh> configures the total number of FNG sessions on an ASR 5000 chassis, both active and inactive. <high_thresh> is any integer from 0 to 300000. There is no default, but 0 means that there is no threshold monitoring.

The clear <low_thresh> command clears any percentage of the number of sessions being monitored using the <high_thresh> variable defined above. <low_thresh> is any integer from 0 to 300000.

The following example configures a monitoring threshold of 300000 active and inactive FNG sessions on an ASR 5000 chassis:

    threshold fng-current-sessions 300000

This turns out to be too many, so the following command clears 100000:

    threshold fng-current-sessions 300000 clear 100000

Saving Your Configuration

When you configure thresholds they are not permanent unless you save the changes. When you have completed configuring thresholds, save your configuration to flash memory, an external memory device, and/or a network location using the Exec mode command save configuration. For additional information on how to verify and save configuration files, refer to the System Administration Guide and the Command Line Interface Reference.