Ruijie Community

Title: How to install a patch on the device? [Print this page]

Author: admin    Time: 2017-5-3 17:31
Title: How to install a patch on the device?
How to install a patch on the device?

Author: admin    Time: 2017-5-3 17:31
Using the OSPF hot patch as an example, the operation is as follows:
Ruijie#copy usb0:xxx tmp:----------------------------Copy the files in the USB flash drive in the tmp directory.
•     Ruijie#run-system-shell--------------------------------Enter the Shell configuration mode.
•     ~ # cd /sbin------------------------------------------------Access the sbin file.
•     /sbin # ls -la | grep ospf.elf------------------------------Check the current OSPF process.
•     /sbin # mv /sbin/ospf.elf /sbin/ospf.elf.bak-----------Back up the OSPF process.
•     /sbin # mv ospf.elf /tmp/vsd/0/ospf.elf.new----------Replace the OSPF file with the new OSPF file.
•     /sbin # chmod 777 ospf.elf------------------------------Authorization
•     /sbin # sync------------------------------------------------Synchronization
•     /sbin # ls -la | grep ospf.elf------------------------------Check the current OSPF process.
•     sbin # pgrep ospf.elf------------------------------Check the current OSPF process.
•     /sbin # pkill -9 ospf.elf-----------------------------------Restart the OSPF process.
•     After the OSPF process is restarted, the system outputs the following information:
•     /sbin # *Mar  5 18:42:39: %HA-5-HA_SCRIPT_RESTART: Process: /sbin/ospf.elf  Pid: 3743 receives error_signal[9] and quits, Process: /sbin/ospf.elf  is restarting ...
•     *Mar  5 18:42:39: %HA-5-HA_SCRIPT_RESTART: Process: /sbin/ospf.elf  restarts 2 times newpid is 3864 and restarts successfully






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2