on-error
Syntax
on-error { raise-alarm; power (cycle | off); write-coredump; }
Hierarchy Level
[edit chassis cfeb slot-number], [edit chassis feb slot-number], [edit chassis fpc slot-number sanity-poll], [edit chassis lcc number fpc number sanity-poll]
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.
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.
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.