How to install a patch on the device? |
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 |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd