You are on page 1of 5

//Set the No.

82 board as the active SCC for example ;Query the Status of the Active/Standby board :cfg-get-dpsstate:1&2; ;close the file patrol :sftm-get-fpatrol:82,FILEPATROL; :sftm-set-fpatrol:82,FILEPATROL,STOP; :sftm-get-fpatrol:83,FILEPATROL; :sftm-set-fpatrol:83,FILEPATROL,STOP; ;query the batch backup status of the Active/Standby board :hbugetbackupinfo ;query the SCC Version Information :ver; :sys-get-nesoftver; :sftm-get-tesetver:83; :sftm-get-tesetver:82; ;query the SCC file :sftm-show-dir:82,"/ofs1/hwx"; :sftm-show-dir:82,"/ofs2/hwx"; :sftm-show-dir:82,"/ofs1/fpga"; :sftm-show-dir:82,"/ofs2/fpga"; :sftm-show-dir:83,"/ofs1/hwx"; :sftm-show-dir:83,"/ofs2/hwx"; :sftm-show-dir:83,"/ofs1/fpga"; :sftm-show-dir:83,"/ofs2/fpga"; ;delete all of the softwaresFPGA filesExtBios files in No.82 SCC board :sftm-delete-file:82,"/ofs1/hwx/ne1500.hwx"; :sftm-delete-file:82,"/ofs1/hwx/eth.ini"; :sftm-delete-file:82,"/ofs1/hwx/eth2.ini"; :sftm-delete-file:82,"/ofs1/hwx/eth3.ini"; :sftm-delete-file:82,"/ofs1/hwx/eth4.ini"; :sftm-delete-file:82,"/ofs1/hwx/ne.ini"; :sftm-delete-file:82,"/ofs1/hwx/20g_5g.ini"; :sftm-delete-file:82,"/ofs1/hwx/ocpcfg.ini"; :sftm-delete-file:82,"/ofs1/hwx/pdtcfg.ini"; :sftm-delete-file:82,"/ofs1/hwx/extbios.hwx"; :sftm-delete-file:82,"/ofs1/fpga/ssq1scc.pga"; :sftm-delete-file:82,"/ofs2/hwx/ne1500.hwx"; :sftm-delete-file:82,"/ofs2/hwx/eth.ini"; :sftm-delete-file:82,"/ofs2/hwx/eth2.ini"; :sftm-delete-file:82,"/ofs2/hwx/eth3.ini"; :sftm-delete-file:82,"/ofs2/hwx/eth4.ini"; :sftm-delete-file:82,"/ofs2/hwx/ne.ini"; :sftm-delete-file:82,"/ofs2/hwx/20g_5g.ini"; :sftm-delete-file:82,"/ofs2/hwx/ocpcfg.ini"; :sftm-delete-file:82,"/ofs2/hwx/pdtcfg.ini"; :sftm-delete-file:82,"/ofs2/hwx/extbios.hwx"; :sftm-delete-file:82,"/ofs2/fpga/ssq1scc.pga"; ;query if delete the files completely

:sftm-show-dir:82,"/ofs1/hwx" :sftm-show-dir:82,"/ofs2/hwx" :sftm-show-dir:82,"/ofs1/fpga" :sftm-show-dir:82,"/ofs2/fpga" loading.....nesoft ;copy the SCC files :sftm-copy-file:82,"/ofs1/hwx/ne1500.hwx",82,"/ofs2/hwx/ne1500.hwx"; :sftm-copy-file:82,"/ofs1/hwx/ne1500.ini",82,"/ofs2/hwx/ne1500.ini"; :sftm-copy-file:82,"/ofs1/hwx/ne2500.ini",82,"/ofs2/hwx/ne2500.ini"; :sftm-copy-file:82,"/ofs1/hwx/ocp.ini",82,"/ofs2/hwx/ocp.ini"; :sftm-copy-file:82,"/ofs1/hwx/syscfg.ini",82,"/ofs2/hwx/syscfg.ini"; :sftm-copy-file:82,"/ofs1/hwx/sysini.cfg",82,"/ofs2/hwx/sysini.cfg"; :sftm-copy-file:82,"/ofs1/hwx/extbios.hwx",82,"/ofs2/hwx/extbios.hwx"; :sftm-copy-file:82,"/ofs1/fpga/ssq1scc.pga",82,"/ofs2/fpga/ssq1scc.pga"; ;query if delete the files completely :sftm-show-dir:82,"/ofs1/hwx" :sftm-show-dir:82,"/ofs2/hwx" :sftm-show-dir:82,"/ofs1/fpga" :sftm-show-dir:82,"/ofs2/fpga" ;delete all of the softwaresFPGA filesExtBios files in the No.83 board :sftm-delete-file:83,"/ofs1/hwx/ne1500.hwx"; :sftm-delete-file:83,"/ofs1/hwx/eth.ini"; :sftm-delete-file:83,"/ofs1/hwx/eth2.ini"; :sftm-delete-file:83,"/ofs1/hwx/eth3.ini"; :sftm-delete-file:83,"/ofs1/hwx/eth4.ini"; :sftm-delete-file:83,"/ofs1/hwx/ne.ini"; :sftm-delete-file:83,"/ofs1/hwx/20g_5g.ini"; :sftm-delete-file:83,"/ofs1/hwx/ocpcfg.ini"; :sftm-delete-file:83,"/ofs1/hwx/pdtcfg.ini"; :sftm-delete-file:83,"/ofs1/hwx/extbios.hwx"; :sftm-delete-file:83,"/ofs1/fpga/ssq1scc.pga"; :sftm-delete-file:83,"/ofs2/hwx/ne1500.hwx"; :sftm-delete-file:83,"/ofs2/hwx/eth.ini"; :sftm-delete-file:83,"/ofs2/hwx/eth2.ini"; :sftm-delete-file:83,"/ofs2/hwx/eth3.ini"; :sftm-delete-file:83,"/ofs2/hwx/eth4.ini"; :sftm-delete-file:83,"/ofs2/hwx/ne.ini"; :sftm-delete-file:83,"/ofs2/hwx/20g_5g.ini"; :sftm-delete-file:83,"/ofs2/hwx/ocpcfg.ini"; :sftm-delete-file:83,"/ofs2/hwx/pdtcfg.ini"; :sftm-delete-file:83,"/ofs2/hwx/extbios.hwx"; :sftm-delete-file:83,"/ofs2/fpga/ssq1scc.pga"; ;query if delete the files completely :sftm-show-dir:83,"/ofs1/hwx" :sftm-show-dir:83,"/ofs2/hwx" :sftm-show-dir:83,"/ofs1/fpga" :sftm-show-dir:83,"/ofs2/fpga" ;copy the file from the No.82 SCC board to the No.82 SCC board :sftm-copy-file:82,"/ofs1/hwx/extbios.hwx",83,"/ofs1/hwx/extbios.hwx"; :sftm-copy-file:82,"/ofs1/hwx/ne1500.hwx",83,"/ofs1/hwx/ne1500.hwx"; :sftm-copy-file:82,"/ofs1/hwx/ne1500.ini",83,"/ofs1/hwx/ne1500.ini"; :sftm-copy-file:82,"/ofs1/hwx/ne2500.ini",83,"/ofs1/hwx/ne2500.ini";

:sftm-copy-file:82,"/ofs1/hwx/ocp.ini",83,"/ofs1/hwx/ocp.ini"; :sftm-copy-file:82,"/ofs1/hwx/syscfg.ini",83,"/ofs1/hwx/syscfg.ini"; :sftm-copy-file:82,"/ofs1/hwx/sysini.cfg",83,"/ofs1/hwx/sysini.cfg"; :sftm-copy-file:82,"/ofs1/fpga/ssq1scc.pga",83,"/ofs1/fpga/ssq1scc.pga"; ;copy the SCC file :sftm-copy-file:83,"/ofs1/hwx/extbios.hwx",83,"/ofs2/hwx/extbios.hwx"; :sftm-copy-file:83,"/ofs1/hwx/ne1500.hwx",83,"/ofs2/hwx/ne1500.hwx"; :sftm-copy-file:83,"/ofs1/hwx/ne1500.ini",83,"/ofs2/hwx/ne1500.ini"; :sftm-copy-file:83,"/ofs1/hwx/ne2500.ini",83,"/ofs2/hwx/ne2500.ini"; :sftm-copy-file:83,"/ofs1/hwx/ocp.ini",83,"/ofs2/hwx/ocp.ini"; :sftm-copy-file:83,"/ofs1/hwx/syscfg.ini",83,"/ofs2/hwx/syscfg.ini"; :sftm-copy-file:83,"/ofs1/hwx/sysini.cfg",83,"/ofs2/hwx/sysini.cfg"; :sftm-copy-file:83,"/ofs1/fpga/ssq1scc.pga",83,"/ofs2/fpga/ssq1scc.pga"; ;query if the process of copying finished drastically :sftm-show-dir:83,"/ofs1/hwx" :sftm-show-dir:83,"/ofs2/hwx" :sftm-show-dir:83,"/ofs1/fpga" :sftm-show-dir:83,"/ofs2/fpga" ;Copy the .ini file of NO. 82 SCC :sftm-copy-file:82,"/ofs1/hwx/ne1500.ini",82,"/ofs1/hwx/ne.ini"; :sftm-copy-file:83,"/ofs1/hwx/ne1500.ini",83,"/ofs1/hwx/ne.ini"; ;query if the process of copying finished drastically :sftm-show-dir:82,"/ofs1/hwx" :sftm-show-dir:82,"/ofs2/hwx" :sftm-show-dir:82,"/ofs1/fpga" :sftm-show-dir:82,"/ofs2/fpga" :sftm-show-dir:83,"/ofs1/hwx" :sftm-show-dir:83,"/ofs2/hwx" :sftm-show-dir:83,"/ofs1/fpga" :sftm-show-dir:83,"/ofs2/fpga" ;delete all the files of the Database :dbms-delete-all:drdb; :dbms-delete-all:fdb0; :dbms-delete-all:fdb1; ;open the file patrol :sftm-set-fpatrol:82,FILEPATROL,START; :sftm-get-fpatrol:82,FILEPATROL; ;query the batch backup status :hbugetbackupinfo ;query the status of the Active/Standby board :cfg-get-dpsstate:2; ;the active/standby switchover :cfg-set-dpsswitch:1,83 ;query the status of the Active/Standby board :cfg-get-dpsstate:2;

;hard resetting the standby board :cfg-reset-board:82,hard; ;delete all the database files :dbms-delete-all:drdb; :dbms-delete-all:fdb0; :dbms-delete-all:fdb1; ;open the file patrol :sftm-set-fpatrol:83,FILEPATROL,START; :sftm-get-fpatrol:83,FILEPATROL; ;hard resetting the active SCC :cfg-reset-board:83,hard; ;query the SCC Version Information :ver; :sys-get-nesoftver :sftm-get-testver:82; :sftm-get-testver:83; Downloading the NE configuration data from T2000 loading basebios.hwx... to the nesoft1 of the active No.83 SCC ;copy the base Bios files to the No.82 board :sftm-copy-file:83,"/ofs1/hwx/basebios.hwx",82,"/ofs1/hwx/basebios.hwx"; ;query if the loading is success :sftm-show-dir:82,"/ofs1/hwx" :sftm-show-dir:83,"/ofs1/hwx" ;activation the base Bios files in the No.82 board :cfg-active-basicbios:82; ;soft resetting the No.82 board :cfg-reset-board:82,soft; ;activation the base Bios files in the No.83 board :cfg-active-basicbios:83; ;soft resetting the No.83 board :cfg-reset-board:83,soft; ;query the version information :ver; :sys-get-nesoftver; :sftm-get-testver:82; :sftm-get-testver:83;

;open the file patrol :sftm-get-fpatrol:Bid,FILEPATROL; :sftm-set-fpatrol:Bid,FILEPATROL,START;

;the command of query the version of board :cfg-get-bdverinfo:Bid; :sftm-get-testver:Bid;

the operation of the ETH Board //Set the N0.5 board(ssn1efs0) as an example ;query if the files load entirely :sftm-show-dir:5,"/ofs1/hwx"; :sftm-show-dir:5,"/ofs1/fpga"; ;hard resetting the data board :cfg-reset-board:5,hard; ;query if the files is loaded :sftm-show-dir:5,"/ofs1/hwx"; ;the command of activation the base Bios :cfg-active-basicbios:5; ;soft resetting the data board :cfg-reset-board:5,soft;

You might also like