Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

on-error

Syntax

Hierarchy Level

Description

Instruct the FPC or FEB or CFEB to perform actions during an error condition.

Options

raise-alarm—Generate and display a chassis alarm in case of an error.

power cycle—Reboot the FPC or FEB or CFEB after generating a core file. This statement is useful in case of temporary software errors that are eliminated after reboot.

power off—Halt the FPC or FEB or CFEB and keep it offline. This statement is useful in case of permanent hardware failures.

CAUTION:

The power off statement halts the FPC or FEB or CFEB. Ensure that you have backup paths through different FPC or FEB or CFEB to avoid service outage.

Note:

The power cycle and power off statements are mutually exclusive: You can configure either the power cycle or the power off statement for an error.

write-coredump—Trigger the core file in case of an error.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.4.