Configure the System Exception Processing Mode
Configuration Condition
None
Configure the System Exception Processing Mode
When a system exception occurs, the system directly restarts to restore the system. The system exception processing mode is configured in three aspects: The first is enabling periodical exception detection. The system periodically detects the task status, code segment, and semaphore dead lock with a cycle of 10s, 10s, and 30s respectively. Secondly, an exception level is configured. If exceptions of the level and higher levels occur, the device restarts. Exception levels include: alert, critical, emergency, error, and warn. Besides, you can configure the processing mode of the health detection exception, and the processing modes include ignore and restart.
Table 7-5 Configuring the System Exception Processing Mode
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure the system exception processing mode
|
exception { period-detect enable | reboot [ level { alert | critical | emergency | error | warn } ] | detect-health {ignore | reload} }
|
Mandatory.
By default, periodical exception detection is enabled, and the exception level set for device restart is critical.
By default, the health detection is enabled. After the device health detection becomes abnormal, the processing mode is ignore by default.
|
Configure the mode of processing the abnormality in the VST mode
|
exception { period-detect enable | reboot {device device-num | level device device-num { alert | critical | emergency | error | warn } } | detect-health {ignore | reload} }
|
Mandatory.
By default, the periodical abnormal detection is enabled. When the abnormality appears, the abnormal level of the device restarting is critical.
By default, the health detection is enabled. After the device health detection becomes abnormal, the processing mode is ignore by default.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
After an exception level is configured for device restart, if an exception at the level or a higher level occurs, the device restarts.
- From high to low, exception levels include emergency, alert, critical, error, and warn.