Process and Memory Management Commands on Cisco IOS-XR Software
process mandatory
SMR-285
Cisco IOS-XR System Management Command Reference
• If the process is not mandatory and cannot be restarted, it will stay down and the node will not
reboot.
Examples
Turning the mandatory attribute on or off for a process
In the following example, the mandatory attribute is turned on for the “media_ether_config_di” process:
RP/0/RP1/CPU0:router# process mandatory on media_ether_config_di
Turning the reboot option on or off with the process mandatory reboot command
In the following example, the system is set to reboot the node if a mandatory process goes down and
cannot be restarted:
RP/0/RP1/CPU0:router# process mandatory reboot enable
RP/0/RP1/CPU0:Mar 19 19:28:10 : sysmgr[71]: %SYSMGR-4-MANDATORY_REBOOT_ENABLE :
mandatory reboot option enabled by request
In the following example, the system is set not to reboot the node if a mandatory process goes down and
cannot be restarted. In this case, the mandatory process will be restarted, but the node will not ne
rebooted.
RP/0/RP1/CPU0:router# process mandatory reboot disable
RP/0/RP1/CPU0:Mar 19 19:31:20 : sysmgr[71]: %SYSMGR-4-MANDATORY_REBOOT_OVERRIDE
: mandatory reboot option overridden by request
Related Commands Command Description
show processes Displays information, attributes and settings for a processes.