Description

The SLAX script logs will be seen if the scripts are configured and the event triggers the specific script.

Aug 5 09:06:54 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted
Aug 5 09:06:56 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted

 

Symptoms

The SLAX script logs will be seen if the scripts are configured and the event triggers the specific script.

Aug 5 09:06:54 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted
Aug 5 09:06:56 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted
Aug 5 10:20:23 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted
Aug 5 10:20:24 router-12-router cscript: %DAEMON-4: soft_shift_chassis_rpd_crash.slax triggered due to device reboot - will not take effect if device was already tshifted

Solution

The above logs indicate the specific event of reboot that triggered the script soft_shift_chassis_rpd_crash.slax. In the customer scenario, the specific script was configured.

The Slax script is configured on the router by you under event-options event scripts.
 
event-options {

  event-script {

    file snmputility.slax;

    file bgp_event_lookup.slax;

    file soft_shift_chassis_rpd_crash.slax;

    file soft_shift_sib_event.slax;

  }

Stylesheet Language Alternative syntaX (SLAX) is a language for writing Junos OS commit scripts, op scripts, event scripts, and SNMP scripts. In the above scenario, the customer has used the Slax script for
an event a is configured under event-script.

The details of the event and conditions will be mentioned in the script on which the trigger is determined,

The above logs only indicate information about the script and correction
 

Modification History

2024-08-19 : Article Created