Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

on-error

Syntax

on-error {raise-alarm;power (cycle | off);write-coredump;}

Hierarchy Level

[edit chassis fpc slot-number sanity-poll][edit chassis lcc number fpc number sanity-poll] (Routing Matrix)

Release Information

Statement introduced in Junos OS Release 11.4.

Description

Instruct the FPC 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 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 and keep it offline. This statement is useful in case of permanent hardware failures.

Caution: The power off statement halts the FPC. Ensure that you have backup paths through different FPC 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.

Published: 2013-03-07