Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

threshold

 

Syntax

Hierarchy Level

[edit chassis fpc slot-number error fatal]

[edit chassis fpc slot-number error major

[edit chassis fpc slot-number error minor]

[edit chassis error fatal]

[edit chassis error major]

[edit chassis error minor]

Release Information

Statement introduced for PTX Series routers in Junos OS Release 13.3.

Statement introduced for MX240, MX480 MX960, and MX2020 routers in Junos OS Release 14.2.

Description

Configure the threshold value at which to take action. If the severity level of the error is fatal, the action is carried out only once when the total number of errors crosses the threshold value. If the severity level of the error is major, the action is carried out once after the occurrence crosses the threshold. If the severity level is minor, the action is carried out as many times as the value specified by the threshold. For example, when the severity level is minor, and you have configured the threshold value as 10, the action is carried out after the tenth occurrence.

Note

You can set the threshold value to 0 for errors with severity level as minor. This implies that no action is taken for that error. You cannot set the threshold value to 0 for errors with severity level as major or fatal.

Default

By default, the error count for fatal and major actions is 1. The default error count for minor actions is 10.

Options

numberSpecify the threshold of error counts at which to take action.

Range: 0 through 4,294,967,295

Required Privilege Level

interfaceTo view this statement in the configuration.
interface-controlTo add this statement to the configuration.