Nesoft Configuration Command Line Reference (1)

112
 OptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference Huawei Technologies Co, Ltd All Rights Reserved Document code Product name OptiX OSN 3500&2500  Target readers Engineers Product version V100R001  Edited by Optical Network technical supp ort department Document version rafted by: OptiX OSN 3500 Nesoft Team Date: 2004-10-01  Reviewed by: Date: Reviewed by: Date: Approved by:  Date: Page 1 of 243 OptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference 9/25/2007 file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Transcript of Nesoft Configuration Command Line Reference (1)

Page 1: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 1/243

 

OptiX OSN3500&2500 V100R001 Nesoft

Configuration Command Line Reference

Huawei Technologies Co, Ltd 

All Rights Reserved 

Document code  Product name  OptiX OSN 3500&2500 Target readers  Engineers  Product version  V100R001 

Edited by  Optical Network technical support department  Document version 

rafted by:  OptiX OSN 3500 Nesoft Team  Date:  2004-10-01 Reviewed by:  Date: Reviewed by:  Date: Approved by:  Date: 

Page 1 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 2: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 2/243

Page 3: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 3/243

Contents 

Chapter 1 Equipment Management 1.1 Network Element (NE) Properties Management 

1.1.1 Initialize all the configuration data of the SCC board: cfg-init-all. 1.1.2 Initialize all the configuration data of the NE: cfg-init-ne 

1.1.3 Set the device and subrack type: cfg-set-devicetype 1.1.4 Query the device and subrack type: cfg-get-devicetype 1.1.5 Set the NE name: cfg-set-nename 1.1.6 Query the NE name: cfg-get-nename 1.1.7 Set the NE position: cfg-set-neposition 1.1.8 Query the NE position: cfg-get-neposition 1.1.9 Set the NE memo information: cfg-set-nememo 1.1.10 Query the NE memo information: cfg-get-nememo 1.1.11 Query the NE running status: cfg-get-nestatus 1.1.12 Set the NE test switch status: cfg-set-test 1.1.13 Query the NE test switch status: cfg-get-test 1.1.14 Set the NE service mode: cfg-set-servicemode 1.1.15 Query the NE service mode: cfg-get-servicemode 

1.1.16 Set the switch status of the NE configuration data consistency check: cfg-set-bdcheck 1.1.17 Query the switch status of the NE configuration data consistency check switch status: cfg-get-bdcheck 1.1.18 Set the period of the NE configuration data consistency check: cfg-set-bdchecktime 1.1.19 Query the period of the NE configuration data consistency: cfg-get-bdchecktime 1.1.20 Test command of the NE configuration data consistency check: cfg-test-bdcheck 1.1.21 Configuration check: cfg-verify 1.1.22 Set the switch status of the low service optimization: cfg-set-lxcoptmz 1.1.23 Query the switch status of the low service optimization: cfg-get-lxcoptmz 

1.2 Basic Board Configuration Commands 1.2.1 Install the board: cfg-add-board 1.2.2 Install all boards: cfg-add-allbd 1.2.3 Delete the board: cfg-del-board 1.2.4 Query the installed logic boards in the subrack: cfg-get-board 1.2.5 Query the type of the inserted physical board in the subrack: cfg-get-phybd 

1.2.6 Reset a board: cfg-reset-board 1.2.7 Set the alarm threshold for the board temperature: cfg-set-bdtempth 1.2.8 Query the alarm threshold of the board temperature: cfg-get-bdtempth 1.2.9 Query the board version information: cfg-get-bdversion 1.2.10 Query the detail board version information: cfg-get-bdverinfo 1.2.11 Set the board parameters: cfg-set-bddata 1.2.12 Save the board configuration data to the flash: cfg-backup-bdcfg 1.2.13 Clear the board configuration data in the flash: cfg-clear-bdcfg 1.2.14 Query the board configuration data backup: cfg-get-bdcfg 1.2.15 Set automatic clear: cfg-set-autoclear 1.2.16 Query the automatic clear: cfg-get-autoclear 1.2.17 Query the loop auto clear information of the Ethernet board: cfg-get-ethlooplist 1.2.18 Query the board working status: cfg-get-workstat 1.2.19 Set the FAN running mode: cfg-set-fanmode 

1.2.20 Query the FAN running mode: cfg-get-fanmode 1.2.21 Set the FAN speed: cfg-set-fanspeed 1.2.22 Query the manually-set FAN speed: cfg-get-fanspeed 1.2.23 Query the current FAN information: cfg-get-fancurinfo 

1.3 Common Configuration Commands for Service Boards 1.3.1 Set the AIS inserting status of the alarm event: cfg-set-alm2ais 1.3.2 Query the AIS inserting status of the alarm event: cfg-get-alm2ais 1.3.3 Set the transmission switch of the overhead byte: cfg-set-tohenable 1.3.4 Query the transmission switch of the overhead byte: cfg-get-tohenable 1.3.5 Set the port loop mode: cfg-set-loop 1.3.6 Query the port loop mode: cfg-get-loop 

1.4 Commands for Configuring Line Board Properties 1.4.1 Set vc4 path loopback: cfg-set-vc4loop 

Page 3 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 4: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 4/243

1.4.2 Query the vc4 path loop mode: cfg-get-vc4loop 1.4.3 Set the laser switch status: cfg-set-laser 1.4.4 Query the laser switch status: cfg-get-laser 1.4.5 Set the ALS: cfg-set-als 1.4.6 Query the ALS status: cfg-get-als 1.4.7 Set the ALS time parameter: cfg-set-alstime 1.4.8 Query the ALS time parameter: cfg-get-alstime 1.4.9 Laser ALS constantly in the testing status: cfg-test-als 1.4.10 Set the thresholding-crossing and the degraded threshold of B1B2B3: cfg-set-b1b2b3th 

1.4.11 Query the threshold-crossing and the degraded threshold of B1B2B3: cfg-get-b1b2b3th 1.4.12 Set the to-be-sent J0 bytes: cfg-set-stj0 1.4.13 Query the to-be-sent J0 bytes: cfg-get-stj0 1.4.14 Set the receivable J0 bytes: cfg-set-srj0 1.4.15 Query the receivable J0 bytes: cfg-get-srj0 1.4.16 Query the received J0 bytes: cfg-get-rj0 1.4.17 Set the to-be-sent J1 bytes: cfg-set-stj1 1.4.18 Query the to-be-sent J1 bytes: cfg-get-stj1 1.4.19 Set the receivable J1 byets:cfg-set-srj1 1.4.20 Query the receivable J0 bytes: cfg-get-srj1 1.4.21 Query the received J1 bytes: cfg-get-rj1 1.4.22 Set the to-be-sent J1 bytes (support AU3): cfg-set-stj1ex 1.4.23 Query the to-be-sent J1 bytes (support AU3): cfg-get-stj1ex 1.4.24 Set the receivable J1 bytes (support AU3): cfg-set-srj1ex 

1.4.25 Query the receivable J1 bytes (suppot AU3): cfg-get-srj1ex 1.4.26 Query the received J1 bytes (support AU3): cfg-get-rj1ex 1.4.27 Set the monitoring status of the pass-through J1/C2 byte: cfg-set- j1c2monitor 1.4.28 Query the monitoring status of the pass-through J1/C2 byte: cfg-get-j1c2monitor 1.4.29 Set the to-be-sent C2 byte: cfg-set-stc2 1.4.30 Query the to-be-sent c2 byte: cfg-get-stc2 1.4.31 Set the receivable C2 byte: cfg-set-src2 1.4.32 Query the receivable C2 byte: cfg-get-src2 1.4.33 Query the received C2 byte: cfg-get-rc2 1.4.34 Set the to-be-sent C2 byte (support AU3): cfg-set-stc2ex 1.4.35 Query the to-be-sent C2 byte (support AU3): cfg-get-stc2ex 1.4.36 Set the receivable C2 byte (support AU3): cfg-set-src2ex 1.4.37 Query the receivable C2 byte (support AU3): cfg-get-src2ex 1.4.38 Query the received C2 byte (support AU3): cfg-get-rc2ex 

1.4.39 Set the status of B2EXC and MSAIS (as the clock source switchover condition): cfg-set-alm2clksw 1.4.40 Query the status of B2EXC and MSAIS (as the clock source switchover condition): cfg-get-alm2clksw 1.4.41 Set the to-be-sent N1 bytes: cfg-set-stn1 1.4.42 Query the to-be-sent N1 bytes: cfg-get-stn1 1.4.43 Set the receivable N1 bytes: cfg-set-srn1 1.4.44 Query the receivable N1 bytes: cfg-get-srn1 1.4.45 Query the received N1 bytes: cfg-get-rn1 1.4.46 Set the to-be-sent N1 bytes (support AU3): cfg-set-stn1ex 1.4.47 Query the to-be-sent N1 bytes (support AU3): cfg-get-stn1ex 1.4.48 Set the receivable N1 bytes (support AU3): cfg-set-srn1ex 1.4.49 Query the receivable N1 bytes (support AU3): cfg-get-srn1ex 1.4.50 Query the received N1 bytes (support AU3): cfg-get-rn1ex 1.4.51 Set the overhead extraction function: cfg-set-rohdrop 

1.4.52 Query the overhead extraction function: cfg-get-rohdrop 1.4.53 Set the status of TCM: cfg-set-tcm 1.4.54 Query the status of TCM: cfg-get-tcm 1.4.55 Set the status of TCM (support AU3): cfg-set-tcmex 1.4.56 Query the status of TCM (support AU3): cfg-get-tcmex 1.4.57 Set the AIS inserting status of TCM alarm event: cfg-set-tcalm2ais 1.4.58 Query the AIS inserting status of TCM alarm event: cfg-get-tcalm2ais 1.4.59 Set the hardware REG: cfg-set-hardreg 1.4.60 Query the hardware REG permission status: cfg-get-hardreg 1.4.61 Set the VC4 mode: cfg-set-vc4mode 1.4.62 Query the VC4 mode: cfg-get-vc4mode 

1.5 Commands for Configuring Tributary board Properties 1.5.1 Set BIP threshold for the path bit error: cfg-set-bipth 

Page 4 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 5: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 5/243

1.5.2 Query the BIP threshold for the path bit error: cfg-get-bipth 1.5.3 Path bit error test: cfg-set-bittest 1.5.4 Set the UNEQ inserting status in the case of LOS or path not in use: cfg-set-almuneq 1.5.5 Query the UNEQ inserting status in the case of LOS or path not in use: cfg-get-almuneq 1.5.6 Query the impedance of the path cable: cfg-get-e1eq 1.5.7 Set the to-be-sent J2 bytes: cfg-set-stj2 1.5.8 Query the to-be-sent J2 bytes: cfg-get-stj2 1.5.9 Set the receivable J2 bytes: cfg-set-srj2 1.5.10 Query the receivable J2 bytes: cfg-get-srj2 

1.5.11 Query the received J2 bytes: cfg-get-rj2 1.5.12 Set the to-be-sent V5 byte: cfg-set-stv5 1.5.13 Query the to-be-sent V5 byte: cfg-get-stv5 1.5.14 Set the receivable V5 byte: cfg-set-srv5 1.5.15 Query the receivable V5 byte: cfg-get-srv5 1.5.16 Query the received V5 byte: cfg-get-rv5 1.5.17 Set the status of path: cfg-set-pathused 1.5.18 Query the status of path: cfg-get-pathused 1.5.19 Set the path retiming clock: cfg-set-retiming 1.5.20 Query the path retiming clock: cfg-get-retiming 1.5.21 Set the path sending overhead: cfg-set-tpoh 1.5.22 Query the path sending overhead: cfg-get-tpoh 1.5.23 Query the path receiving overhead: cfg-get-rpoh 1.5.24 Set the path master downlink bus: cfg-set-defbus 

1.5.25 Query the path master downlink bus: cfg-get-defbus 1.5.26 Query the path working downlink bus: cfg-get-dropbus 1.5.27 Set the reporting mode of the bus alarm: cfg-set-busalm 1.5.28 Query the reporting mode of the bus alarm: cfg-get-busalm 1.5.29 Set the to-be-sent J1 bytes of VC3: cfg-set-vc3stj1 1.5.30 Query the to-be-sent J1 bytes of VC3: cfg-get-vc3stj1 1.5.31 Set the receivable J1 bytes of VC3: cfg-set-vc3srj1 1.5.32 Query the receivable J1 bytes of VC3: cfg-get-vc3srj1 1.5.33 Query the received J1 bytes of VC3: cfg-get-vc3rj1 1.5.34 Set the to-be-sent C2 byte of VC3: cfg-set-vc3stc2 1.5.35 Query the to-be-sent C2 byte of VC3: cfg-get-vc3stc2 1.5.36 Set the receivable C2 byte of VC3: cfg-set-vc3src2 1.5.37 Query the receivable C2 byte of VC3: cfg-get-vc3src2 1.5.38 Query the received C2 byte of VC3: cfg-get-vc3rc2 

1.5.39 Set the status of the input balance: cfg-set-selreqb 1.5.40 Query the status of the input balance: cfg-get-selreqb 1.5.41 Set the status of the output balance: cfg-set-selteqb 1.5.42 Query the status of the output balance: cfg-get-selteqb 1.5.43 Set the service type: cfg-set-payloadtype 1.5.44 Query the service type: cfg-get-payloadtype 1.5.45 Set the service matching of the tributary board path: cfg-set-tumatch 1.5.46 Query the service matching of the tributary board path: cfg-get-tumatch 

1.6 Ethernet Boards Configuration Commands 1.6.1 Set the loop mode of the ethernet path: cfg-set-vcloop 1.6.2 Query the loop mode of the ethernet path: cfg-get-vcloop 1.6.3 Set the to-be-sent J1 bytes: cfg-set-vcstj1 1.6.4 Query the Ethernet to-be-sent J1 bytes: cfg-get-vcstj1 

1.6.5 Set the ethernet receivable J1 bytes: cfg-set-vcsrj1 1.6.6 Query the ethernet receivable J1 bytes: cfg-get-vcsrj1 1.6.7 Query the ethernet received J1 bytes: cfg-get-vcrj1 1.6.8 Set the ethernet to-be-sent C2 byte: cfg-set-vcstc2 1.6.9 Query the ethernet to-be-sent C2 byte: cfg-get-vcstc2 1.6.10 Set the ethernet receivable C2 byte: cfg-set-vcsrc2 1.6.11 Query the ethernet receivable C2 byte: cfg-get-vcsrc2 1.6.12 Query the ethernet received C2 byte: cfg-get-vcsrc2 1.6.13 Set the ethernet to-be-sent J2 bytes: cfg-set-vcstj2 1.6.14 Query the ethernet to-be-sent J2 bytes: cfg-get-vcstj2 1.6.15 Set the ethernet receivable J2 bytes: cfg-set-vcsrj2 1.6.16 Query the ethernet receivable J2 bytes: cfg-get-vcsrj2 1.6.17 Query the ethernet received J2 bytes: cfg-get-vcrj2 

Page 5 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 6: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 6/243

1.6.18 Set the ethernet to-be-sent V5 bytes: cfg-set-vcstv5 1.6.19 Query the ethernet to-be-sent V5 bytes: cfg-get-vcstv5 1.6.20 Set the ethernet reveivable V5 bytes: cfg-set-vcsrv5 1.6.21 Query the ethernet reveivable V5 bytes: cfg-get-vcsrv5 1.6.22 Query the ethernet reveived V5 bytes: cfg-get-vcrv5 

1.7 Commands for Configuring Clock Board Properties 1.7.1 Query the current tracing clock source: cfg-get-cursyn 1.7.2 Query the current 2M tracing clock source: cfg-get-2mcursyn 1.7.3 Query the current tracing source and the corresponding S1 bytes: cfg-get-cursyns1 

1.7.4 Query the 2M current tracing source and the corresponding S1 bytes: cfg-get-2mcursyns1 1.7.5 Query the S1 bytes corresponding to all sources in the system priority list: cfg-get-alls1 1.7.6 Query the S1 bytes corresponding to all sources in the 2M priority list: cfg-get-2malls1 1.7.7 Query the currently existing sources in the priority list: cfg-get-synexist 1.7.8 Set the priority list of the system clock source: cfg-set-synclass 1.7.9 Set the clock source priority list of the 2M phase source: cfg-set-2msynclass 1.7.10 Query the clock source priority list: cfg-get-synclass 1.7.11 Query the clock source priority list of the 2M phase source: cfg-get-2msynclass 1.7.12 Execute the external switch and reset commands of the system clock priority list: cfg-set-synextsw 1.7.13 Execute the external switch and reset commands of the 2M clock priority list: cfg-set-2msynextsw 1.7.14 Query the switching status of the clock source in the system clock priority list: cfg-get-synswstatus 1.7.15 Query the switching status of the clock source in the 2M phase source priority list: cfg-get-2msynswstatus1.7.16 Set the action for the 2M clock source failure: cfg-set-2mpllsynlosaction 1.7.17 Query the action for the 2M clock source failure: cfg-get-2mpllsynlosaction 

1.7.18 Enable/Disable the configured clock source to be used in the switching: cfg-set-synenable 1.7.19 Query the status (enable/disable) of the configured clock source to be used in the switching: cfg-get-synenable 1.7.20 Set the receiving time slot for the external source S1 byte: cfg-set-exts1inslot 1.7.21 Query the receiving TS of the external source S1 byte: cfg-get-exts1inslot 1.7.22 Set the output TS for the external source S1 byte: cfg-set-exts1outslot 1.7.23 Query the output TS of the external source S1 byte: cfg-get-exts1outslot 1.7.24 Enable/Disable switching in the sequence of descending priority: cfg-set-syncnorvt 1.7.25 Query the enabling status of switching the clock source in the sequence of descending priority: cfg-get-syncnorvt 1.7.26 Set the data output mode in the Keep mode: cfg-set-synkeepmode 1.7.27 Query the data output mode in the Keep mode: cfg-get-synkeepmode 1.7.28 Set the working mode for the data output of the external source: cfg-set-outsynmode 1.7.29 Query the working mode of the data output of the external source: cfg-get-outsynmode 

1.7.30 Set the data output threshold for the external source: cfg-set-outputth 1.7.31 Query the data output threshold of the external source: cfg-get-outputth 1.7.32 Set maunually the S1 byte clock quality: cfg-set-mans1qua 1.7.33 Query the S1 byte clock quality: cfg-get-mans1qua 1.7.34 Set the waiting time for the clock source recovery: cfg-set-synwtrtime 1.7.35 Query the waiting time for the clock source recovery: cfg-get-synwtrtime 1.7.36 Set ID for the S1 byte clock source: cfg-set-syns1id 1.7.37 Query the ID of the S1 byte clock source: cfg-get-syns1id 1.7.38 Set the input mode for the external source: cfg-set-insynmode 1.7.39 Query the input mode of the external source: cfg-get-insynmode 1.7.40 Set the SSM protocol mode for the S1 byte: cfg-set-s1mode 1.7.41 Query the SSM protocol mode of the S1 byte: cfg-get-s1mode 1.7.42 Permit/Forbid the optical interface corresponding to the clock source to output the S1 byte: cfg-set-

s1exportmode 1.7.43 Query the status of permitting/forbidding the optical interface corresponding to the clock source to outputS1 byte: cfg-get-s1exportmode 1.7.44 Query the current working mode of the clock board: cfg-get-stgworkmode 1.7.45 Set the quality level represented by QL_UNKNOW: cfg-set-qlunknow 1.7.46 Query the quality level represented by QL_UNKNOW: cfg-get-qlunknow 1.7.47 Permit/Forbid the optical interface to output the clock ID: cfg-set-s1idexportmode 1.7.48 Query the status of permitting/forbidding the optical interface to output the clock ID: cfg-get-s1idexportmod1.7.49 Enable/Disable the frequency deviation function of the clock source: cfg-set-synbaddetect 1.7.50 Query the status (enable/disable) of the frequency deviation function of the clock source: cfg-get-synbaddetect 1.7.51 Set the condition for the external source failure: cfg-set-lapseterm 1.7.52 Query the condition for the external source failure: cfg-get-lapseterm 

Page 6 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 7: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 7/243

1.7.53 Query the working status and DA value of the current clock source: cfg-get-synstatusda 1.8 EOW Configuration Commands 

1.8.1 Set the orderwire number: cfg-set-telnum 1.8.2 Query the orderwire number: cfg-get-telnum 1.8.3 Set the conference orderwire number for the whole network: cfg-set-meetnum 1.8.4 Query the conference orderwire number of the whole network: cfg-get-meetnum 1.8.5 Set the telephone number length: cfg-set-tellen 1.8.6 Query the telephone number length: cfg-get-tellen 1.8.7 Set the call waiting time: cfg-set-reqtime 

1.8.8 Query the call waiting time: cfg-get-reqtime 1.8.9 Set the availability of the optical interface in the addressing call: cfg-set-lineused 1.8.10 Query the availability of the optical interface in the addressing call: cfg-get-lineused 1.8.11 Set the availability of the optical interface in the conference call: cfg-set-meetlineused 1.8.12 Query the availability of the optical interface in the conference call: cfg-get-meetlineused 1.8.13 Set the TS and broadcast source of the broadcast data port: cfg-set-dataport 1.8.14 Delete the configuration information of the broadcast data interface: cfg-del-dataport 1.8.15 Query the TS and source of the broadcast data interface: cfg-get-dataport 1.8.16 Set the multiplex port to the com port or the broadcast data port: cfg-set-porttype 1.8.17 Query the port type of the multiplex port: cfg-get-porttype 1.8.18 Set the electrical characteristics of the port: cfg-set-portmode 1.8.19 Query the electrical characteristics of the port: cfg-get-portmode 1.8.20 Set the F1 data port: cfg-set-f1port 1.8.21 Query the configuration of F1 data port: cfg-get-f1port 

1.8.22 Delete the pass-through configuration of the F1 data port (See the ¡°Set the F1 data port¡± command) 1.8.23 Set the subnet number length: cfg-set-subnetlen 1.8.24 Query the subnet number length: cfg-get-subnetlen 1.8.25 Set the subnet number: cfg-set-subnetbd 1.8.26 Query the subnet number: cfg-get-subnetbd 1.8.27 Set the status (enable/disable) of the auto switch protection: cfg-set-autoswitch 1.8.28 Query the status (enable/disable) of the auto switch protection: cfg-get-autoswitch 1.8.29 Test the telephone ring: cfg-set-ringtest 1.8.30 Test the ring back tone: cfg-set-alerttest 1.8.31 Test the call dialing: cfg-set-dialnumtest 

1.9 Commands for Configuring Optical amplifier board Properties 1.9.1 Open/Close the pump laser: cfg-set-pumplasersw 1.9.2 Query the status (open/close) of the pump laser: cfg-get-pumplasersw 1.9.3 Query the type of the optical amplifier board: cfg-get-oatype 

1.9.4 Query the performance parameter list of the optical amplifier board: cfg-get-paralist 1.10 Alarm Bolean Management 

1.10.1 Set the output status of the alarm relay switch: cfg-set-cskswitch 1.10.2 Query the output status of the alarm relay switch: cfg-get-cskswitch 1.10.3 Set the output status of the auxiliary function relay: cfg-set-extrelayuse 1.10.4 Query the output status of the auxiliary function relay: cfg-get-extrelayuse 1.10.5 Set the relay input mode: cfg-set-onerelayuse 1.10.6 Query the relay input mode: cfg-get-onerelayuse 

1.11 Pluggable Laser Module Management 1.11.1 Query the laser module status: cfg-get-lsr-stat 1.11.2 Query the laser module sequence number: cfg-get-lsr-sn 1.11.3 Query the laser module speed: cfg-get-lsr-speed 1.11.4 Query the laser module transmission distance: cfg-get-lsr-distance 

1.11.5 Query the laser module HWID: cfg-get-lsr-hwid 1.11.6 Set the HWID for the pluggable laser module: cfg-set-lsr-hwid 

Chapter 2 Seveice and Protection 2.1 Report of Service and Protection Events 

2.1.1 Report switchover events of the ring MS protection group 2.1.2 Report the switchover events of the liner MS protection group 2.1.3 Report the switchover events of the SNCP protection group 2.1.4 Report the switchover events of the TPS protection group 2.1.5 Report the status change events of the TPS protection board 2.1.6 Report the switchover events of the DPS protection group 

2.2 Cross Connection Commands 2.2.1 Create the cross connection: cfg-add-xc 2.2.2 Delete the cross connection: cfg-del-xc 

Page 7 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 8: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 8/243

2.2.3 Query the cross connection: cfg-get-xc 2.2.4 Query the actual high order cross connection: cfg-get-xcconnect 2.2.5 Query the high order cross connection route: cfg-get-connect 2.2.6 Cross connection query conditions: cfg-get-condxc 2.2.7 Query the cross connection low order services: cfg-get-bdlowxc 

2.3 Linear Multiplex Section Commands 2.3.1 Create a linear MSP Group: cfg-add-lmspg 2.3.2 Delete a linear MSP group: cfg-del-lmspg 2.3.3 Query all the linear MSP groups: cfg-get-lmspg 

2.3.4 Set the waiting time for the linear MSP group recovery: cfg-set-lmsattrib 2.3.5 Query the waiting time for the linear MSP group recovery: cfg-get-lmsattrib 2.3.6 Set the signal degrading flag for the protection group: cfg-set-lmssdflag 2.3.7 Query the degrading flag of the protection group: cfg-get-lmssdflag 2.3.8 Set the port mapping relationship of the linear MS protection unit: cfg-set-lmsbdmap 2.3.9 Query the port mapping relationship of the linear MS protection unit: cfg-get-lmsbdmap 2.3.10 Start the linear MS protocol controller: cfg-start-lms 2.3.11 Stop the linear MS protocol controller: cfg-stop-lms 2.3.12 Initiate the external switchover command of the linear MSP group: cfg-set-lmsswitch 2.3.13 Query the switchover status of the linear MS protection group: cfg-get-lmsstate 2.3.14 Query the switchover event logs of the Linear MS protection group: cfg-get-lmsevent 2.3.15 Clear the switchover event logs of the linear MS protection group: cfg-init-lmsevent 2.3.16 Set the switchover holdoff time of the linear MS protection group: cfg-set-lmsholdofftime 2.3.17 Query the switchover holdoff time of the linear MS protection group: cfg-get-lmsholdofftime 

2.3.18 Set the k2 mode of the linear MS protection group: cfg-set-lmsk2mode 2.3.19 Query the k2 mode of the linear MS protection group: cfg-get-lmsk2mode 2.3.20 Set the priority of the linear MS SF and SD in the K bytes: cfg-set-lmsklevel 2.3.21 Query the priority of the linear MS SF and SD in the K bytes: cfg-get-lmsklevel 

2.4 Ring Multiplex Section Commands 2.4.1 Create a Ring MS protection group: cfg-add-rmspg 2.4.2 Delete a Ring MS protection group: cfg-del-rmspg 2.4.3 Query all the MS Ring protection groups: cfg-get-rmspg 2.4.4 Set the attributes of the MS ring protection group: cfg-set-rmsattrib 2.4.5 Query the attributes of the MS ring protection group: cfg-get-rmsattrib 2.4.6 Set the degrading flag of the MS ring protection group: cfg-set-rmssdflag 2.4.7 Query the degrading flag of the MS ring protection group: cfg-get-rmssdflag 2.4.8 Set the port mapping relationship of the MS ring protection unit: cfg-set-rmsbdmap 2.4.9 Query the port mapping relationship of the MS ring protection unit: cfg-get-rmsbdmap 2.4.10 Start the MS ring protocol controller: cfg-start-rms 2.4.11 Stop the MS ring protocol controller: cfg-stop-rms 2.4.12 Initiate the external switchover command of the MS ring: cfg-set-rmsswitch 2.4.13 Query the switchover status of the MS ring protection group: cfg-get-rmsstate 2.4.14 Query the event Logs of the MS ring protection group: cfg-get-rmsevent 2.4.15 Initialize the event logs of the MS switchover process: cfg-init-rmsevent 2.4.16 Set the protocol type of the MS ring protection group: cfg-set-rmsprotocol 2.4.17 Query the protocol type of the MS ring protection group: cfg-get- rmsprotocol 2.4.18 Set the holdoff time for the MS ring switchover: cfg-set-rmsholdofftime 2.4.19 Query the holdoff time for the MS ring switchover: cfg-get-rmsholdofftime 2.4.20 Query the locking status of the MS ring: cfg-get-rmslock 2.4.21 Set the enabling flag of the MS ring service suppression: cfg-set-rmssquflag 2.4.22 Query the enabling flag of the MS ring service suppression: cfg-get-rmssquflag 

2.4.23 Set the node configuration table for the whole MS ring: cfg-set-rmsnodemap 2.4.24 Query the node configuration table for the whole MS ring: cfg-get-rmsnodemap 2.4.25 Add the suppression service for the MS ring: cfg-add-rmsringmap 2.4.26 Query the suppression service of the MS ring: cfg-get-rmsringmap 2.4.27 Delete the suppression service of the MS ring: cfg-del-rmsringmap 2.4.28 Clear the suppression service of the MS ring: cfg-clear-rmsringmap 2.4.29 Query the service suppression status of the MS ring: cfg-get-rmssquflag 

2.5 SNCP Commands 2.5.1 Add an SNCP group: cfg-add-sncppg 2.5.2 Delete an SNCP group: cfg-del-sncppg 2.5.3 Query all the SNCP groups: cfg-get-sncppg 2.5.4 Set the revert mode and waiting time for recovery for the SNCP group: cfg-set-sncppgpara 2.5.5 Query the revert mode and waiting time for recovery fot the SNCP group: cfg-get-sncppgpara 

Page 8 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 9: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 9/243

2.5.6 Set the port mapping relationship for the SNCP unit: cfg-set-sncpbdmap 2.5.7 Query the port mapping relationship of the SNCP unit: cfg-get-sncpbdmap 2.5.8 Set the SNCP attributes: cfg-set-sncpattrib 2.5.9 Query the attributes of the SNCP unit: cfg-get-sncpattrib 2.5.10 Initiate the SNCP external switchover command: cfg-set-sncpswitch 2.5.11 Query the switchover status of the SNCP group: cfg-get-sncpstate 2.5.12 Query the SNC node information: cfg-get-sncinfo 2.5.13 Query the diversion of the SNC monitoring point: cfg-get-sncdivert 2.5.14 Enable reporting the SNCP switchover event: cfg-set-sncpreport 

2.5.15 Query the enabling status of reporting the SNCP switchover event: cfg-get-sncpreport 2.5.16 Query the SNCP protection group with specified conditions: cfg-get-condsncp 2.5.17 Creat SNCP protection groups on the basis of common services: cfg-convert-xctosncp 2.5.18 Convert the SNCP group to the normal service: cfg-convert-sncptoxc 2.5.19 Add the SNCP protection packet: cfg-add-sncpbindpg 2.5.20 Query information about the protection group in the SNCP protection packet: cfg-get-sncpbindpg 2.5.21 Remove the protection group from the SNCP packet: cfg-remove-sncpbindpg 

2.6 TPS Protection 2.6.1 Add a TPS protection group: cfg-add-tpspg 2.6.2 Delete a TPS protection group: cfg-del-tpspg 2.6.3 Query all the TPS protection groups: cfg-get-tpspg 2.6.4 Set the waiting time for recovery for the TPS protection group: cfg-set-tpswtrtime 2.6.5 Query the waiting time for recovery of the TPS protection group: cfg-get-tpswtrtime 2.6.6 Set the mapping relationship between the TPS protection unit and the board: cfg-set-tpsbdmap 

2.6.7 Query the mapping relationship between the TPS protection unit and the board: cfg-get-tpsbdmap 2.6.8 Set the switchover priority for the TPS protection unit: cfg-set-tpspri 2.6.9 Query the switchover priority of the TPS protection unit: cfg-get-tpspri 2.6.10 Initiate the TPS external switchover command: cfg-set-tpsswitch 2.6.11 Query the switchover status of the TPS protection group: cfg-get-tpsstate 2.6.12 Query the locking status of the board inside the TPS protection group: cfg-get-tpslockstate 2.6.13 Start the TPS controller: cfg-start-tps 2.6.14 Stop the TPS controller: cfg-stop-tps 

2.7 DPS Commands 2.7.1 Query information about the DPS protection group: cfg-get-dpspg 2.7.2 Initiate the DPS external switchover command: cfg-set-dpsswitch 2.7.3 Query the switchover status of the DPS protection group: cfg-get-dpsstate 2.7.4 Set the switchover revert mode for the DPS protection group: cfg-set-dpsrvtmode 2.7.5 Query the switchover revert mode of the DPS protection group: cfg-get-dpsrvtmode 

2.7.6 Query the switching times of the DPS protection group: cfg-get-dpsswitchtimes 2.7.7 Clear the switching times record of the DPS protection group: cfg-clear-dpsswitchtimes 

Page 9 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 10: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 10/243

Keyword: 

OSN3500&2500 Command

Summary: 

OptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

Abbreviation list: 

None.

Reference list: 

None.

Page 10 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 11: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 11/243

Chapter 1 Equipment Management 

1.1 Network Element (NE) Properties Management

1.1.1 Initialize all the configuration data of the SCC board: cfg-init-all.

1.1.2 Initialize all the configuration data of the NE: cfg-init-ne

Name cfg-init-all

Function To clear all the configuration data stored on the SCC board.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format :cfg-init-all

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-init-all

PrePrecautions Note: Executing this command will clear all the configuration data stored on the SCC board, and the NE will entthe INSTALLING status. Please be cautious with this command.

Remarks

Name cfg-init-ne

Function To clear the whole NE, including the configuration data stroed on the SCC board and all the service boards.

Command Level System maintenance

Availabe to User level

Version 5.21.01

Input Format :cfg-init-ne

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-init-ne;

PrePrecautions Note: Executing this command will clear all the configuration data stored on the SCC board and all the serviceboards, and the NE will enter the INSTALLING status. Please be cautious with this command.

Page 11 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 12: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 12/243

1.1.3 Set the device and subrack type: cfg-set-devicetype

1.1.4 Query the device and subrack type: cfg-get-devicetype

Remarks

Name cfg-set-devicetype

Function To set the device and subrack type for the NE.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-devicetype:NeType,ShelfType

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1NeType: Means the device of the OptiX Osn3500 type;adopts the value OptiXOsn3500.

2 ShelfTypes: Adopts the fixed value standard.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-devicetype:OptiXOsn3500,standard;

PrePrecautions

Remarks

Name Cfg-get-devicetype

Function To query the device and subrack type of the NE.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-devicetype

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return in the table format, with the the relevant fields as:

NE-TYPE: the device type

SHELF-TYPE: the subrack type

Page 12 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 13: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 13/243

Page 14: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 14/243

1.1.7 Set the NE position: cfg-set-neposition

1.1.8 Query the NE position: cfg-get-neposition

Output Format

Return in thetable format, with the relevant fields as:

NE-NAMENENAME_LENGTH NE-NAME

OptiX OSN 3500Total records :1

Example :cfg-get-nename

PrePrecautions

Remarks

Name cfg-set-neposition

Function To set the NE position.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-neposition:neposition

Number of parameters 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1NE position description: A character string not more t32 characters. Use the space to fill in the string if it isless than 32 characters.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-neposition:"ShenZhen HuaWei"

PrePrecautions ¡¡

Remarks

Name cfg-get-neposition

Function To query the NE position.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-neposition

Page 14 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 15: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 15/243

1.1.9 Set the NE memo information: cfg-set-nememo

1.1.10 Query the NE memo information: cfg-get-nememo

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return in thetext format, with the relevant field as:NE-POSITION : the NE position

Example :cfg-get-nepositionNE-POSITION : ShenZhen HuaWei

PrePrecautions

Remarks

Name cfg-set-nememo

Function To set the NE memo information.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-nememo:nememo;

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1NE memo information: A character string not more than 32characters. Use space to fill in the string if it is less than 32

characters.

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-nememo:"This is OSN 3500 NE"

Preautions

Remarks

Name cfg-get-nememo

Function To query the NE memo information.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-nememo

Page 15 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 16: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 16/243

1.1.11 Query the NE running status: cfg-get-nestatus

1.1.12 Set the NE test switch status: cfg-set-test

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return in thetext format, with the relevant field as:NE-MEMO: the NE memo information

Example :cfg-get-nememoNE-MEMO : This is OSN 3500 NE

Precautions ¡¡

Remarks

Name cfg-get-nestatus

Function Query the NE running status

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-nestatus

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return in thetext format, with the relevant field as:NE-STATUS: the NE status

Example

:cfg-get-nestatus;NE-STATUS : installor:cfg-get-nestatus;NE-STATUS : running

Precautions

Remarks

Name cfg-set-test

Function To set the status fo the NE test switch.

Command Level System debugging

Available to Internal level

Version 5.21.01

Input Format :cfg-set-test

Page 16 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 17: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 17/243

1.1.13 Query the NE test switch status: cfg-get-test

1.1.14 Set the NE service mode: cfg-set-servicemode

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 NE test switch status: open or close

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-test:open

Precautions This is an internal command, used for debugging only.

Remarks

Name cfg-get-test

Function To query the status of the NE test switch.

Command Level System debugging

Available to Internal level

Version 5.21.01

Input Format:cfg-get-test

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return in thetext format, with the the relevant field as:NE-STATUS: the NE status

Example :cfg-get-testTEST_SWITCH : open

Precautions This is an internal command, used for debuggin only.

Remarks

Name cfg-set-servicemode

Function To set the NE service mode to the line mode (lucent mode) or the slot mode (HUAWEI mode).

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-servicemode:line or slot

Number of parameters: 1; parameters not repetitive.

Page 17 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 18: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 18/243

1.1.15 Query the NE service mode: cfg-get-servicemode

1.1.16 Set the switch status of the NE configuration data consistency check: cfg-set-bdcheck

Input Parameters

Parameter location Parameter meaning and value

1

Service mode:

line: lucent modeslot: HUAWEI mode

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-servicemode:line

Precautions

Remarks

Name cfg-get-servicemode

Function To query the NE service mode: the line mode (lucent mode) or the slot mode (HUAWEI mode).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-servicemode

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Example :cfg-get-servicemodeSERVICE MODE : slot

Precautions

Remarks

Name cfg-set-bdcheck

Function To set switch status of the NE configuration data consistency check.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-bdcheck:flag

Number of parameters 1; parameters not repetitive.

Page 18 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 19: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 19/243

1.1.17 Query the switch status of the NE configuration data consistency check switch status:cfg-get-bdcheck

1.1.18 Set the period of the NE configuration data consistency check: cfg-set-bdchecktime

Input Parameters

Parameter location Parameter meaning and value

1 Switch status: enable or disableDefault: disable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-bdcheck:enable

Precautions ¡¡

Remarks

Name cfg-get-bdcheck

Function To query the switch status of the NE configuration data consistency check.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-bdcheck

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Example :cfg-get-bdcheck

Precautions ¡¡

Remarks

Name cfg-set-bdchecktime

Function To set the period of the NE configuration data consistency check. The check is performed on the configuratiodata of one service board each time.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-bdchecktime;time

Number of parameters: 1; parameters not repetitive.

Page 19 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 20: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 20/243

Page 21: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 21/243

Page 22: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 22/243

1.1.23 Query the switch status of the low service optimization: cfg-get-lxcoptmz

1.2 Basic Board Configuration Commands

1.2.1 Install the board: cfg-add-board

Example  :cfg-set-lxcoptmz:enable

Precautions 

Remarks The default status is disable.

Name :cfg-get-lxcoptmz

Function To query the switch status of the low service optimization.

Command Level System debugging

Available to Internal level

Version 5.21.01

Input Format:cfg-get-lxcoptmz

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output FormatReturn in thetable format.Table heading: LOWXC OPTIMIZEFLAG

Example

:cfg-get-lxcoptmzLOWXC OPTIMIZE FLAG

disableTotal records :1

Precautions ¡¡

Remarks

Name cfg-add-board

Function To install the logic board.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-add-board:Bid, BoardType

Number of parameters: 2; repetitive parameter blocks.

Parameter location Parameter meaning and value

Page 22 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 23: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 23/243

1.2.2 Install all boards: cfg-add-allbd

1.2.3 Delete the board: cfg-del-board

Input Parameters1 Bid: 1~37 (27 and 28 are PIU¡¯ s; manual installation

unnecessary) and 60~67

2 BoardType: slots supporting these boards

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-add-board:5&6, ssn1sl16

Precautions

1: The PIU(Power Interface Unit), FAN(Fan Board), AUX(Auxiliary Board) boards and the active SCC board aautomatically installed; manual installation unnecessary.2: The logic board ID is adopted during the board installation; it might be different from the physical slot ID.3: The active SCC board is installed automatically; the standby SCC board can be installed manually or delet

Remarks

Name cfg-add-allbd

Function One-off installation of all boards.

Command Level System debugging

Available to Internal level

Version 5.21.01

Input Format:cfg-add-allbd

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-add-allbd

Precautions

1: The NE can execute this command only in the INSTALLING status.2: This command does not process the automatically installed boards.3: This command is used to install the logic board only, and the board is in the ADDING status; after thiscommand. Use the cfg-verify command to verify manually the configuration, so as to activate the board.

Remarks This command is used for development and testing; for internal use only.

Name cfg-del-board

Function To delete a board.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format :cfg-del-board:Bid

Page 23 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 24: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 24/243

1.2.4 Query the installed logic boards in the subrack: cfg-get-board

1.2.5 Query the type of the inserted physical board in the subrack: cfg-get-phybd

Number of parameters: 1; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1~37 (27 and 28 are PIU¡¯ s; cannot be installed or delemanually), 60~67

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-del-board:1&&3

Precautions

Remarks The auto-installed boards cannot be deleted manually.

Name cfg-get-board

Function To query the installed logic boards in the subrack.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-board

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return in thetable format upon success:

:cfg-get-board INSTALLED-BOARDBid BD-TYPE ACTIVE-STATUS18 nscc active27 piu active28 piu active37 aux active38 fan active39 fan active40 fan active

Example :cfg-get-board

Precautions

Remarks

Name cfg-get-phybd

Function To query the type of the inserted physical board in the subrack.

Command Level System monitoring

Page 24 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 25: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 25/243

1.2.6 Reset a board: cfg-reset-board

Available to User level

Version 5.21.01

Input Format:cfg-get-phybd

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return in thetable format upon success::cfg-get-phybd

PHY-BOARDBid BD-TYPE7 ssn1slq48 ssn1sl1610 gxcsa

11 ssn1sl1612 ssn1slq413 ssn1slq418 nscc27 piu37 aux38 fan39 fan40 fan

Example :cfg-get-phybd

Precautions

Remarks

Name cfg-reset-board

Function To reset a board.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-reset-board:Bid, resetmode

Number of parameters: 2; repetitive parameter blocks.

Parameter location Parameter meaning and value

Page 25 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 26: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 26/243

1.2.7 Set the alarm threshold for the board temperature: cfg-set-bdtempth

1.2.8 Query the alarm threshold of the board temperature: cfg-get-bdtempth

Input Parameters

1 Bid: 1~18,37, 60~67

2Resetmode:hard: hard reset modesoft: soft reset mode

Output Format

Example :cfg-reset-board:4&6, soft

Precautions

Remarks

Name cfg-set-bdtempth

Function To set the alarm threshold for the board temperature.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-bdtempth:Bid, temphighgate, templowgate;

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: the board ID

2 Upper threshold: 600¡«700; unit: 0.1 degree centigrade;0x7FFF means monitoring unnecessary.Default: 650

3Lower threshold: 0¡«100; unit: 0.1 degree centigrade; 0x7FFmeans monitoring unnecessary.Default: 0

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-bdtempth:9,650,50

Precautions The upper threshold must be higher than the lower threshold.V100R001 supports setting temperature threshold for only the XCS board.

Remarks

Name cfg-get-bdtempth

Function To query the alarm threshold of the board temperature.

Command Level System monitoring

Page 26 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 27: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 27/243

1.2.9 Query the board version information: cfg-get-bdversion

1.2.10 Query the detail board version information: cfg-get-bdverinfo

Available to User level

Version 5.21.01

Input Format:cfg-get-bdtempth:Bid

Number of parameters: 1; repetitive parameter blocks

Input Parameters

Parameter location Parameter meaning and value

1 Bid: the board ID

Output Format

Return in thet able format upon success::cfg-get-bdtempth:10

BD-TEMP-THTEMP-HIGH TEMP-LOW650 0

Example :cfg-get-bdtempth:9

PrecautionsOnly the setting value is displayed when using this command to query the temperature; unit: 0.1 degreecentigrade.V100R001 supports querying the temperature threshold of the XCS board only.

Remarks

Name cfg-get-bdversion

Function To query the board version information.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-bdversion:Bid

Number of parameters: 1; repetitive parameter blocks

Input ParametersParameter location Parameter meaning and value

1 Bid: 1~18,37, 60~67

Output Format

Return the following in the table format upon success:¡¡:cfg-get-bdversion:8

BOARD-VERSIONBid BD-TYPE RVER DVER HVER ONLINE-FLAG8 ssn1sl16 0x02 0x0b 0x9044 online

Example :cfg-get-bdversion:4&6

Precautions

Remarks

Page 27 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 28: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 28/243

Page 29: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 29/243

Page 30: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 30/243

1.2.15 Set automatic clear: cfg-set-autoclear

Name cfg-get-bdcfg

Function To query the board configuration data backup.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-bdcfg:Bid

Number of parameters: 1; repetitive parameter blocks.

Input ParametersParameter location Parameter meaning and value

1 Bid: 1~16(40G)/17(80G),37

Output Format

¡¡:cfg-get-bdcfg:8BDCFG-STATUS

Bid BDCFG-FLAG TIME-INFO8 yes 2004-11-5 17:27:9

Example :cfg-get-bdcfg:4

Precautions

Remarks

Name cfg-set-autoclear

Function To set the automatic clear of an operation.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-autoclear: AutoClearType, AutoClearStatus, AutoClearTime

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 AutoClearType: portloop or au4loop

2 AutoClearStatus: disable or enable (default)

3AutoClearTime: 1~2880 minutes, 5 minutes by default£»Fill 0 minutes for AutoClearTime when AutoClearStatus isdisable.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Page 30 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 31: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 31/243

1.2.16 Query the automatic clear: cfg-get-autoclear

1.2.17 Query the loop auto clear information of the Ethernet board: cfg-get-ethlooplist

Example :cfg-set-autoclear:portloop,enable,5

Precautions

Remarks

Name cfg-get-autoclear

Function To query the automatic clear of a specified operation.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-autoclear:AutoClearType

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 AutoClearType: portloop or au4loop

Output Format

Return the following in the table format upon success:

:cfg-get-autoclear:portloopAUTOCLEAR

TYPE AUTOCLEAR AUTOCLEARTIME

portloop enable 5

Example :cfg-get-autoclear:portloop

Precautions

Remarks

Name cfg-get-ethlooplist

Function To query the loop auto clear information of the Ethernet board, and to return the current Ethernet boardinformation in the loop auto clear link list.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-ethlooplist:Bid

Number of parameters: 1; parameters not repetitive.

Page 31 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 32: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 32/243

1.2.18 Query the board working status: cfg-get-workstat

1.2.19 Set the FAN running mode: cfg-set-fanmode

Input Parameters

Parameter location Parameter meaning and value

1 Bid (Ethernet board ID): 1~8,11~16(40G)/17(80G); support tparameter 0 (querying all the boards).

Output Format

Return the following in the table format upon success:

:cfg-get-ethlooplist:0;ETH-LOOP-LIST

BID ACL_TYPE LOOP_TYPE PORT PATH OVERTIME5 vc3loop vc3path 1 1 45 vc3loop vc3path 1 2 45 vc3loop vc3path 1 3 45 vc3loop vc3path 1 4 45 vc3loop vc3path 1 5 45 vc3loop vc3path 1 6 45 vc3loop vc3path 1 7 45 vc3loop vc3path 1 8 4

Example :cfg-get-ethlooplist:0

Precautions

Remarks

Name cfg-get-workstat

Function To query the working status of a board.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-workstat:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 1~18, 37

Output Format

Return the following in the table format upon success:

:cfg-get-workstat:8BD-WORK-STATUS

BID WORK-STAT8 working

Example :cfg-get-workstat:8

Precautions

Remarks

Page 32 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 33: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 33/243

1.2.20 Query the FAN running mode: cfg-get-fanmode

Name cfg-set-fanmode

Function To set the FAN running mode.

Command Level System operation

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-fanmode:FanMode

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1

FanMode:auto: The FAN adjusts the speed automatically according tothe entironment temperature.manu: The FAN runs in the manually-set speed.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-fanmode:manu

Precautions

Remarks

Name cfg-get-fanmode

Function To query the FAN running mode.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-fanmode

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return the following in the text format upon success:

:cfg-get-fanmodeFAN-MODE : auto

Example :cfg-get-fanmode

Precautions

Remarks

Page 33 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 34: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 34/243

1.2.21 Set the FAN speed: cfg-set-fanspeed

1.2.22 Query the manually-set FAN speed: cfg-get-fanspeed

Name cfg-set-fanspeed

Function To set the FAN speed.

Command Level System operation

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-fanspeed:FanSpeed

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1

FanSpeed: the FAN speed:high: full speedmid: middle speed

low: low speedstop: stop

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-fanspeed:mid

Precautions This command is effective only when the FAN mode is manu.

Remarks

Name cfg-get-fanspeed

Function To query the manually-set FAN speed; not the current FAN speed.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-fanspeed

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return the following in the text format upon success:

:cfg-get-fanspeedFAN-SPEED : high

Example :cfg-get-fanspeed

Page 34 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 35: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 35/243

1.2.23 Query the current FAN information: cfg-get-fancurinfo

1.3 Common Configuration Commands for Service Boards

1.3.1 Set the AIS inserting status of the alarm event: cfg-set-alm2ais

Precautions This command can only query the manually-set instead of the current FAN speed. Use the cfg-get-fanspeedcommand to query the current FAN speed.

Remarks

Name cfg-get-fancurinfo

Function To query the current FAN information.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-fancurinfo

Number of parameters: 0; parameters not repetitive.

Input Parameters No parameter.

Output Format

Return the following in the text format upon success:

:cfg-get-fancurinfoFAN-CUR-INFO

Online AlmStat CurSpeedonline 0 highonline 0 highonline 0 high

Total records :3

Example :cfg-get-fancurinfo

Precautions The current FAN information includes the FAN status, alarm status and the current speed.

Remarks

Name cfg-set-alm2ais

Function To set whether the alarm event inserts AIS.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-alm2ais:Bid, Pid, AlmEid, Flag

Page 35 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 36: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 36/243

1.3.2 Query the AIS inserting status of the alarm event: cfg-get-alm2ais

Number of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3AlmEid: roof,hptim,hpslm,hpuneq,hplom,b1exc,b1sd,b2exc,b2sd,b3exc,b3sd,lptim,lpuneq,lpslm,bipexc;

4 Flag: disable or enableDefault: disable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-alm2ais:6&8,1, msais&msrdi,enable

Precautions This command applies to the line board, tributary board and the Ethernet board.

Remarks

Name cfg-get-alm2ais

Function To query whether the alarm event inserts the AIS.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-alm2ais:Bid, Pid, AlmEid

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AlmEid: roof,hptim,hpslm,hpuneq,hplom,b1exc,b1sd,b2exc,b2sd,b3exc,b3sd,lptim,lpuneq,lpslm,bipexc;

Output Format

Return the following in the text format upon success:

:cfg-get-alm2ais:8,1,auais&aulopALM2AIS-STATUS

Bid Pid ALARM-EID AIS-ENABLE8 1 auais enable

Example :cfg-get-alm2ais:8,1,auais&msrdi

Precautions This command applies to the line board, tributary board and Ethernet board.

Remarks

Page 36 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 37: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 37/243

1.3.3 Set the transmission switch of the overhead byte: cfg-set-tohenable

1.3.4 Query the transmission switch of the overhead byte: cfg-get-tohenable

Name cfg-set-tohenable

Function To enable/disable setting the transmission switch of the overhead bytel.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-tohenable:Bid, Flag

Number of parameters: 2; repetitive parameter blocks.

Input Parameters¡¡¡¡

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2

Flag: disable or enable

Default: disable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-tohenable:1&2,disable

Precautions This command is delivered directly to the board. Therefore, the board must be connected.

Remarks This command applies currently only to the tributary board; the line board does not support the transmissionconfiguration of the overhead byte.

Name cfg-get-tohenable

Function To query the transmission switch status of the overhead byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-tohenable:Bid

Number of parameters: 1; repetitive prameter blocks.

Input Parameters¡¡

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

Output Format

Return the following in the text format upon success:

:cfg-get-tohenable:2TOH-ENABLE-STATUSBid TOH-ENABLE2 disable

Total records :1

Page 37 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 38: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 38/243

Page 39: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 39/243

1.4 Commands for Configuring Line Board Properties

1.4.1 Set vc4 path loopback: cfg-set-vc4loop

1.4.2 Query the vc4 path loop mode: cfg-get-vc4loop

Input Parameters1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return in the table format upon success, with the relevant fields as:Bid, Pid and LOOP-MODE

Example

:cfg-get-loop:4,1LOOP-STATUS

Bid Pid LOOP-MODE4 1 noloop

Total records :1

Precautions This command is delivered directly to the board. Therefore, the board must be connected.

Remarks

Name cfg-set-vc4loop

Function To set vc4 path loopback.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-vc4loop:Bid, Pid, AU4Id ,loopmode

Number of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS); 1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 loopmode: loopin or loopout or noloopDefault: noloop

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-vc4loop:6&8,1,1,loopin

Precautions This command is delivered directly to the board. Therefore, the board must be connected.

Remarks The N2-series boards do not support VC4 loopback because of the chip defect.

Name cfg-get- vc4loop

Page 39 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 40: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 40/243

Page 41: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 41/243

1.4.4 Query the laser switch status: cfg-get-laser

1.4.5 Set the ALS: cfg-set-als

Example :cfg-set-laser:6&&8,1,close

Precautions This command is delivered directly to the board. Therefore, the board must be connected.

Remarks

Name cfg-get-laser

Function To query the status of the laser switch.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-laser:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-laser:11,1;LASER-SWITCH-STATUS

Bid Pid LASER-STATUS11 1 open

Total records :1

Example :cfg-get-laser:6&&8,1

Precautions This command is effective to the optical board only. This command is delivered directly to the board, thereforthe board must be connected.

Remarks ¡¡

Name cfg-set-als

FunctionTo set ALS.A technique (procedure) to automatically shutdown the output power of laser transmitters and optical amplifieto avoid exposure to hazardous levels.

Command Level System maintenance

Available to User level

Version 5.21.01

:cfg-set-als:Bid, Pid, Flag

Page 41 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 42: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 42/243

1.4.6 Query the ALS status: cfg-get-als

1.4.7 Set the ALS time parameter: cfg-set-alstime

Input Format Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 Flag:disable or enableDefault: enable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-als:6&&8,1,enable

Precautions This command applies to the optical service processing board and the optical amplifier board.

Remarks ALS(automatic laser shutdown, ITU-T G.664)

Name cfg-get-als

Function To query the ALS status.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-als:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-als:6,1;ALS-STATUS

Bid Pid ALS-ENABLE6 1 disable

Total records :1

Example :cfg-get-als:6&&8,1&&2;

Precautions This command applies to the optical board only.

Remarks ¡¡

Name cfg-set-alstime

Page 42 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 43: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 43/243

Page 44: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 44/243

1.4.9 Laser ALS constantly in the testing status: cfg-test-als

1.4.10 Set the thresholding-crossing and the degraded threshold of B1B2B3: cfg-set-b1b2b3th

Bid Pid OPEN-TIME CLOSE-TIME TEST-TIME6 1 200 6000 9000

Total records :1

Precautions This command applies to the optical board only.

Remarks The set value (unit: 10ms) is obtained through query using the command line.

Name cfg-test-als

Function The laser ALS is constantly in the testing tatus.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-test-als:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-test-als:6,1&2

Precautions This command applies to the optical board only.This command is delivered directly to the board. Therefore, the board must be connected.Set the time for the constant testing status of the laser LAS in the time parameter setting; defaulted as 90s.

Remarks

Name cfg-set-b1b2b3th

Function To set the threshold-crossing and the degraded threshold of the B1B2B3 error.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-b1b2b3th:Bid, Pid, th-type, exec_th, sd_th

Number of parameters: 5; repetitive parameter blocks.

Parameter location Parameter meaning and value

Page 44 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 45: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 45/243

1.4.11 Query the threshold-crossing and the degraded threshold of B1B2B3: cfg-get-b1b2b3th

Input Parameters

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3

th-type:b1th (B1 threshold) orb2th (B2 threshold) orb3th (B3 threshold) orb3iec(B3-IEC threshold)

4

exec_th:1 (1.0E-9) or2 (1.0E-8) or3 (1.0E-7) or4 (1.0E-6) or5 (1.0E-5) or6 (1.0E-4) or7 (1.0E-3)Default: 7

5

Sd_th:1 (1.0E-9) or2 (1.0E-8) or3 (1.0E-7) or4 (1.0E-6) or5 (1.0E-5) or6 (1.0E-4) or7 (1.0E-3)Default: 4

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-b1b2b3th:6&&8,1&2,b1th,7,4

Precautions The threshold-crossing must be higher than the degraded threshold.

Remarks

According to the ITU-TG.783 recommendation, the detection start and end time vary according to the thresho

of the inserted error. Generally, every lower level has a ten times increase in the time.Take the default situation for example: Insert the b1 error at the rate of 1E-4, and the b1sd alarm terminates ttime the insertion is completed. If setting the threshold of b1over to 1E-5 and that of b1sd to 1E-7, insert the berror at the rate of 1E-4, and the b1over alarm terminates the time the insertion is completed. However, the balarm will be generated successively, which will last around 10s.

Name cfg-get-b1b2b3th

Function To query the threshold-crossing and the degraded threshold of the B1B2B3 error.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-b1b2b3th:Bid, Pid, th-type

Number of parameters: 3; repetitive parameter blocks.

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

Page 45 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 46: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 46/243

1.4.12 Set the to-be-sent J0 bytes: cfg-set-stj0

Input Parameters

2 Pid: 1-X (Determine X according to the board type.)

3

th-type:b1th (B1 threshold) orb2th (B2 threshold) orb3th (B3 threshold) orb3iec(B3-IEC threshold)

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-b1b2b3th:6,1,b1th;B1B2B3-TH

Bid Pid TH-TYPE EXEC-TH SD-TH6 1 b1th 7 4

Total records :1

Example :cfg-get-b1b2b3th:6&&8,1&2,b1th

Precautions ¡¡

Remarks ¡¡

Name cfg-set-stj0

Function To set the to-be-sent J0 bytes.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format

:cfg-set-stj0:Bid, Pid, J0mode, J0value

Number of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3

J0mode:

Value Meaning0 SDH mode (The bit7 of the first and only the first byte the J0 byte sequence is 1.)

1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode

Default: 1

4 J0 (Value: a character string not more than 16 bytes).Default: ¡° HuaWei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stj0:6&&8,1&2,1," HuaWei SBS "

Page 46 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 47: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 47/243

1.4.13 Query the to-be-sent J0 bytes: cfg-get-stj0

1.4.14 Set the receivable J0 bytes: cfg-set-srj0

Precautions This command applies to LU boards only.Defaut:¡° HuaWei SBS ¡± (One space at the beginning and five spaces at the end)

Remarks

Name cfg-get-stj0

Function To query the to-be-sent J0 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stj0:Bid, Pid

Number of parameters 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-stj0:6,1;STJ0

Bid Pid J0MODE J0VALUE6 1 1 HuaWei SBS

Total records :1

Example :cfg-get-stj0:6&&8,1&2

Precautions This command applies to LU boards only.

Remarks ¡¡

Name cfg-set-srj0

Function To set the receivable J0 bytes.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-srj0:Bid, Pid, J0mode, J0value

Number of parameters: 4; repetitive parameter blocks.

Parameter location Parameter meaning and value

Page 47 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 48: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 48/243

1.4.15 Query the receivable J0 bytes: cfg-get-srj0

1.4.16 Query the received J0 bytes: cfg-get-rj0

Input Parameters

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3

J0mode:Value Meaning:0 SDH mode (The bit7 of the first and only the first byte the J0 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification to

generate the first byte.)2 SONET modeDefault value: 1

4 J0value: a character string not more than 16 bytesDefault: ¡° HuaWei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-srj0:6&&8,1&2,1," HuaWei SBS "

Precautions This command applies to LU boards only.Default value:¡° HuaWei SBS ¡± (One space at the beginning and five spaces at the end).

Remarks ¡¡

Name cfg-get-srj0

Function To query the receivable J0 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-srj0:Bid, Pid

Number of parameters: 2; receivable parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-srj0:6&&8,1&2

Precautions This command applies to LU boards only.

Remarks ¡¡

Name cfg-get-rj0

Page 48 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 49: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 49/243

1.4.17 Set the to-be-sent J1 bytes: cfg-set-stj1

Function To query the received J0 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rj0:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-rj0:6&&8,1&2

Precautions This command applies to the in-position LU boards only.

Remarks ¡¡

Name cfg-set-stj1

Function To set the to-be-sent J1 bytes.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-stj1:Bid, Pid, AU4Id, J1mode, J1value

Number of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4

J1mode:0 SDH mode (The bit7 of the first and only the first byte the J1 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)Default value: 1

J1value:If the j1 protocol mode adoapts 0 and 1, J1 is a character st

Page 49 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 50: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 50/243

1.4.18 Query the to-be-sent J1 bytes: cfg-get-stj1

1.4.19 Set the receivable J1 byets:cfg-set-srj1

5

not more than 16 bytes.If the j1 protocol mode adopts 2, J1 is a character string notmore than 64 bytes.Default: ¡° Huawei SBS ¡±

Output Format ¡¡Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stj1:6&&8,1,1&&16,1," HuaWei SBS "

Precautions

When the j1 protocol mode adopts 0 and 1, the j1 character string can be more than 16 bytes. However, onlyfirst 16 bytes are valid.Default: ¡° HuaWei SBS ¡± (One space at the beginning and five spaces at the end)The to-be sent J1 string can be set for the VC12 service. In terms of the VC3 service, the lower oder sevice cbe set while the higher order service cannot.

Remarks

Name cfg-get-stj1

Function To query the to-be-sent J1 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stj1:Bid, Pid, AU4Id

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-srj1:6&&8,1,1&&16

Precautions

Remarks

Name cfg-set-srj1

Function To set the receivable J1 byets.

Command Level System maintenance

Available to User level

Page 50 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 51: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 51/243

1.4.20 Query the receivable J0 bytes: cfg-get-srj1

Version 5.21.01

Input Format:cfg-set-srj1:Bid, Pid, AU4Id, J1mode, J1value

Number parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4

J1mode:0 SDH mode (The bit7 of the first and only the first byte the J1 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)Default: 1

5

J1value:If the j1 protocol mode adopts 0 and 1, J1 is a character strinot more than 16 bytes.If the j1 protocol mode adopts 2, J1 is a character string notmore than 64 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-srj1:6&&8,1,1&&16,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-srj1

Function To query the receivable J1 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-srj1:Bid, Pid, AU4Id

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

Page 51 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 52: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 52/243

Page 53: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 53/243

1.4.23 Query the to-be-sent J1 bytes (support AU3): cfg-get-stj1ex

Input Parameters

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 1-3

5

J1mode:0 SDH mode (The bit7 of the first and only the first byte the J1 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)Default: 1

6

J1value:If the j1 protocol mode adopts 0 and 1, J1 is a character strinot more than 16 bytes.If the j1 protocol mode adopts 2, J1 is a character string notmore than 64 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stj1ex:6&&8,1,1&&16,1,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-stj1ex

Function To query the to-be-sent J1 bytes (supportAU3).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stj1ex:Bid, Pid, AU4Id, AU3Id

Number of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 0-3

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-stj1ex:6&&8,1,1&&16,1

Page 53 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 54: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 54/243

1.4.24 Set the receivable J1 bytes (support AU3): cfg-set-srj1ex

1.4.25 Query the receivable J1 bytes (suppot AU3): cfg-get-srj1ex

Precautions ¡¡

Remarks ¡¡

Name cfg-set-srj1ex

Function To set the to-be-received J1 bytes (support AU3).

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-srj1ex:Bid, Pid, AU4Id, AU3Id, J1mode, J1value

Number of parameters: 6; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 1-3

5

J1mode:Value Meaning0 SDH mode (The bit7 of the first and only the first byte the J1 byte sequence is 1.)

1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)Default: 1

6

J1value:If the j1 protocol mode adopts 0 and 1, J1 is a character strinot more than 16 bytes.If the j1 protocol mode adopts 2, J1 is a character string notmore than 64 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-srj1ex:6&&8,1,1&&16,1,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-srj1ex

Function To query the receivable J1 bytes (support AU3).

Page 54 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 55: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 55/243

Page 56: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 56/243

Page 57: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 57/243

1.4.29 Set the to-be-sent C2 byte: cfg-set-stc2

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-j1c2monitor:1&2,1&&4

Precautions

Remarks

Name cfg-set-stc2

Function To set the to-be-sent C2 byte.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format :cfg-set-stc2:Bid, Pid, AU4Id, C2valueNumber of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4

C2value:Value Meaning

uneq singal uneuippedunsp non-specific payload equippedtugs TUG structuretulock Lock TUasyn 34.368Mbit/s and 44.736Mbit/s singnals,asynchronously mapped into C-3develop Mapping to be developeda140 139.264Mbit/s signal, asynchronously mapped intC--4atm ATM mappingman MAN (DQDB) mappingfddi FDDIppp PPPsynsdl Simple data link mapping of the SDH self-synchronizing scrambler

laps LAPSsetsdl Set and reset the simple data link mapping of thescramblerenet 10G Ethernet network signal mappinggfp Changeable topological data connection mappingresv Reservedresvn1 Reseerved for the national useresvn2 Reseerved for the national usetest 0.181 test signalais VC-AIS (used for serial connection only)Default: tugs

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Page 57 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 58: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 58/243

Page 59: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 59/243

1.4.32 Query the receivable C2 byte: cfg-get-src2

Input Parameters

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4

C2value:Value Meaninguneq Signal unequippedunsp Non-specific payload equippedtugs TUG structure

tulock Lock TUasyn 34.368Mbit/s and 44.736Mbit/s signals, asynchronouslymapped into C-3develop Mapping to be developeda140 139.264Mbit/s signal, asynchronously mapped into C-4atm ATM mappingman MAN (DQDB) mappingfddi FDDIppp HDLC/PPP signal mappingresvn3 Reservedlaps HDLC/LAPS signal mappingresvn4 Reservedenet 10G Ethernet network signal mappinggfp GFP mappingresv Reserved

resv1 Reserved for the national useresv2 Reserved for the national usetest 0.181 test signalais VC-AIS (used for serial connection only)Default: tugs

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-src2:6&&8,1,1&&16,tugs

Precautions ¡¡

Remarks ¡¡

Name cfg-get-src2

Function To query the receivable C2 byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-src2:Bid, Pid, AU4Id

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

Page 59 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 60: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 60/243

Page 61: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 61/243

1.4.35 Query the to-be-sent C2 byte (support AU3): cfg-get-stc2ex

Input Parameters

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 1-3

5

C2value:Value Meaninguneq Sinal unequippedunsp Non-specific payload equippedtugs TUG structuretulock Lock TUasyn 34.368Mbit/s and 44.736Mbit/s signals, asynchronouslymapped into C-3develop Mapping to be developeda140 139.264Mbit/s signal, asynchronously mapped into C--4atm ATM mappingman MAN (DQDB) mappingfddi FDDIppp HDLC/PPP signal mappingresvn3 Reservedlaps HDLC/LAPS signal mappingresvn4 Reservedenet 10G Ethernet network signal mappinggfp GFP mappingresv Reservedresv1 Reserved for the national useresv2 Reserved for the national usetest 0.181 test signalais VC-AIS (used for the serial connection only)Default: tugs

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stc2ex:6&&8,1,1&&16,1,tugs

Precautions ¡¡

Remarks ¡¡

Name cfg-get-stc2ex

Function To query the to-be-sent C2 byte (support AU3).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stc2ex:Bid, Pid, AU4Id, AU3Id

Number of parameters: 4; repetitive parameter blocks.

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

Page 61 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 62: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 62/243

1.4.36 Set the receivable C2 byte (support AU3): cfg-set-src2ex

Input Parameters

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 0-3

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-stc2ex:6&&8,1,1&&16,1

Precautions ¡¡

Remarks ¡¡

Name cfg-set-src2ex

Function To set the receivable C2 byte (support AU3).

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-src2ex:Bid, Pid, AU4Id, AU3Id, C2value

Number of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 1-3

5

C2value:Value Meaninguneq Sinal unequippedunsp Non-specific payload equippedtugs TUG structuretulock Lock TUasyn 34.368Mbit/s and 44.736Mbit/s signals, asynchronouslymapped into C-3

develop Mapping to be developeda140 139.264Mbit/s signal, asynchronously mapped into C--4atm ATM mappingman MAN (DQDB) mappingfddi FDDIppp HDLC/PPP signal mappingresvn3 Reservedlaps HDLC/LAPS signal mappingresvn4 Reservedenet 10G Ethernet network signal mappinggfp GFP mappingresv Reservedresv1 Reserved for the national useresv2 Reserved for the national use

Page 62 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 63: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 63/243

Page 64: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 64/243

Page 65: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 65/243

Page 66: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 66/243

1.4.42 Query the to-be-sent N1 bytes: cfg-get-stn1

1.4.43 Set the receivable N1 bytes: cfg-set-srn1

Input Parameters

3 AU4Id: 1-X (Determine X according to the board type.)

4

N1mode:

Value Meaning0 CRC verification mode (The bit7 of the first byte in thebyte sequence is 1, and the bit7 of other bytes is 0.)1 CRC verification mode (Adopt forcibly CRC verificationgenerate the first byte.)

Default: 1

5 N1value: a character string not more than 16 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stn1:1&2,1,1&&16,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-stn1

Function To query the to-be-sent N1 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stn1:Bid, Pid, AU4Id

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-stn1:1&2,1,1&&16

Precautions

Remarks

Name cfg-set-srn1

Page 66 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 67: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 67/243

1.4.44 Query the receivable N1 bytes: cfg-get-srn1

Function To set the receivable N1 bytes.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-srn1:Bid, Pid, AU4Id, N1mode, N1value

Number of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4

N1mode:

Value Meaning0 CRC verification mode (The bit7 of the first byte in thebyte sequence is 1, and the bit7 of other bytes is 0.)1 CRC verification mode (Adopt forcibly CRC verificationgenerate the first byte.)

Default: 1

5 N1value: a character string not more than 16 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-srn1:1&2,1,1&&16,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-srn1

Function To query the receivable N1 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-srn1:Bid, Pid, AU4Id

Number of parameters: 3; repetitive parameter blocks.

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

Page 67 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 68: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 68/243

Page 69: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 69/243

Page 70: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 70/243

1.4.48 Set the receivable N1 bytes (support AU3): cfg-set-srn1ex

1.4.49 Query the receivable N1 bytes (support AU3): cfg-get-srn1ex

Example :cfg-get-stn1ex:1&2,1,1&&16,1,1

Precautions

Remarks

Name cfg-set-srn1ex

Function To set the receivable N1 bytes (support AU3).

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-srn1ex:Bid, Pid, AU4Id, AU3Id, N1mode, N1value

Number of parameters: 6; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 AU4Id: 1-X (Determine X according to the board type.)

4 AU3Id: 1-3

5

N1mode:

Value Meaning0 CRC verification mode (The bit7 of the first byte in thebyte sequence is 1, and the bit7 of other bytes is 0.)1 CRC verification mode (Adopt forcibly CRC verificationgenerate the first byte.)

Default: 1

6N1value: a character string not more than 16 bytes.Default: ¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-srn1ex:1&2,1,1&&16,1,1," HuaWei SBS "

Precautions

Remarks

Name cfg-get-srn1ex

Function To query the receivable N1 bytes (support AU3).

Page 70 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 71: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 71/243

Page 72: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 72/243

1.4.51 Set the overhead extraction function: cfg-set-rohdrop

1.4.52 Query the overhead extraction function: cfg-get-rohdrop

Remarks

Name cfg-set-rohdrop

Function To set the overhead extraction function.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-rohdrop: Bid, Pid, RohdropNum, Rohdroppos, muldepth

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16 (40G XCS); 1-8, 11-17 (80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3 RohdroppNum: 0~4 (0 stands for no extraction; the followedparameters are invalid.)

2*(Y+1)

Rohdroppos: Location of the Y(1-4) overhead. The high 4bitstands for the row number of the overhead in the SDH frame(1~9), and the low 4bit for the line number of the extraction the SDH frame (1~9).

2*(Y+1)+1 muldepth: Multiplex depth of the Y overhead (Value range: 1N stands for the optical interface rate STM-N; the max N is 6

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example cfg-set-rohdrop

Precautions

Remarks

Name cfg-get-rohdrop

Function Query the overhead extraction function.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Formatcfg-get-rohdrop:Bid,Pid

Number of parameters: 2; repetitive parameter blocks.

Page 72 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 73: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 73/243

Page 74: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 74/243

Page 75: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 75/243

Page 76: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 76/243

Page 77: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 77/243

Page 78: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 78/243

Page 79: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 79/243

1.5 Commands for Configuring Tributary board Properties

1.5.1 Set BIP threshold for the path bit error: cfg-set-bipth

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-vc4mode:4,1,1

Precautions

Remarks

Name cfg-set-bipth

Function To set BIP threshold for the path bit error.This command is applicable to the tributary boards and Ethernet boards.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-bipth:Bid, Pid, th-type,over-th,sd-th

Number of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

3 th-type (Threshold types):vc3b3thbip2th

4over-th (see Remarks):2-7 (for VC3B3)£¬ 3-7(for BIP2)Default: 7£¨1.0E-3£© 

5sd-th (see Remarks):1-6 (for VC3B3)£¬ 2-6(for BIP2)Default: 4 £¨1.0E-6£© 

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-bipth:4,1&2,bip2th,6,3

Precautions The OVER threshold must be higher than the SD threshold.

Remarks

Threshold level for the bit error:1£>1.0E-92£>1.0E-83£>1.0E-74£>1.0E-65£>1.0E-56£>1.0E-47£>1.0E-3

Page 79 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 80: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 80/243

Page 81: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 81/243

Page 82: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 82/243

Page 83: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 83/243

Page 84: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 84/243

1.5.8 Query the to-be-sent J2 bytes: cfg-get-stj2

1.5.9 Set the receivable J2 bytes: cfg-set-srj2

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

3 tj2:default value: " HuaWei SBS "

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-stj2:4,1&&2£¬" HuaWei SBS "

PrecautionsDefault: ¡° HuaWei SBS ¡±(One space at the beginning and five spaces at the end)The board software determines that the bit7 of the first byte of J2 is 1; the bit7 of the last 15 bytes of J2 shounot be 1.

Remarks

Name cfg-get-stj2

Function To query the to-be-sent J2 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stj2:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

Output Format

:cfg-get-stj2:2,1TU-STJ2

Bid Pid J2VALUE2 1 HuaWei SBS

Total records :1

Example :cfg-get-stj2:2,1

Precautions ¡¡

Remarks ¡¡

Page 84 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 85: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 85/243

Page 86: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 86/243

Page 87: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 87/243

Page 88: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 88/243

Page 89: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 89/243

Page 90: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 90/243

1.5.18 Query the status of path: cfg-get-pathused

1.5.19 Set the path retiming clock: cfg-set-retiming

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-pathused:4,1&&16,use

Precautions

Remarks

Name cfg-get-pathused

Function To query the status of path (use or unuse).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-pathused:Bid,pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type; repetitiveparameter blocks.)

Output Format

Example

:cfg-get-pathused:4,1TU-PATHUSEDBID PATHID FLAG4 1 use

Precautions ¡¡

Remarks ¡¡

Name cfg-set-retiming

FunctionSet the path retiming clock. This function mainly applies to places with poor tributary signal clock quality, andthus needing to use an external clock imported by the cross-connect board as the retiming clock for the tributpaths.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

:cfg-set-retiming:Bid, pid,flag

Page 90 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 91: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 91/243

1.5.20 Query the path retiming clock: cfg-get-retiming

Input Format Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

3

flag:flag:noret Not use retiming clock liu Use the LIU clock as the retiming clock xc Use the cross-connect (external) clock as theretimingclock Default: noret

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-retiming:4,1,xc

Precautions ¡¡

Remarks

Applicable to PQ1 and PQM. The tributary mapping chip provides the user an optionalPDH signal to output thretiming FIFO. Instead of using the clock outputted by the internal phase-locked loop, the user can choose touse the external clock ReTimingClk (imported by the cross-connect board) or the uplink 2M clock TxClk (fromthe tributary board) of each tributary path as the standard clock for outputting E1 signals.

Name cfg-get-retiming

Function To query the path retiming clock.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-retiming:Bid,pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Parameter location Parameter meaning and value

1 Bid

2 Pid

3

Retiming clock:Value Meaningnoret Not use retiming clock liu Use the LIU clock as the retiming clock xc Use the cross-connect (external) clock as the retiming

Page 91 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 92: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 92/243

1.5.21 Set the path sending overhead: cfg-set-tpoh

1.5.22 Query the path sending overhead: cfg-get-tpoh

clock 

Example

:cfg-get-retiming:40,1PATH RETIMING CLOCK BID PATHID ¡¡CLOCK 4 1 xc

Precautions

Remarks

Name cfg-set-tpoh

Function To set the path sending overhead bytes V5, N2 and K4.This command is applicable to the TU boards and Ethernet boards.

Command Level System debugging

Available to Internal level

Version 5.21.01

Input Format :cfg-set-tpoh:Bid, pid,level,ohpos,valueNumber of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 2-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

3 Path level: vc12, vc3

4Ohpos:v5,n2,k4 (for VC12)c2,g1,f2,f3,k3,n1 (for VC3)

5 Value: 0-255

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-tpoh:4,1,vc12,v5,4

Precautions The value of V5 can only be used to set b5b6b7.

Remarks V1.0R002 supports the Ethernet network.

Name cfg-get-tpoh

Page 92 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 93: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 93/243

Page 94: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 94/243

Page 95: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 95/243

Page 96: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 96/243

Page 97: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 97/243

1.5.30 Query the to-be-sent J1 bytes of VC3: cfg-get-vc3stj1

Name cfg-set-vc3stj1

Function To set the to-be-sent J1 bytes of vc3.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-vc3stj1:Bid, Pid, J1mode, J1value

Number of parameters: 4; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-5, 13-16

2 Pid: 1-X (Determine X according to the board type.)

3

J1mode:0 SDH mode (The bit7 of the first and only the first byte

the J1 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)Default£º1

4

J1value£ºIf the j1 protocol mode adopts 0 and 1, J1 is a character strinot more than 16 bytes.If the j1 protocol mode adopts 2, J1 is a character string notmore than 64 bytes.Default£º¡° Huawei SBS ¡±

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set- vc3stj1:6,1,1&&16,1," HuaWei SBS "

Precautions

If the j1 protocol mode adopts 0 and 1, the length of the j1 character string can be more than 16 bytes, whileonly the former 16 characters are valid.default¡° HuaWei SBS ¡± (One space at the beginning and five spaces at the end)The to-be-sent J1 bytes can be set for the VC12 service; for the VC3 service, the low order services can be swhile the high order services cannot.

Remarks

Name cfg-get- vc3stj1

Function To query the to-be-sent J1 bytes of vc3.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-vc3stj1:Bid, Pid

Page 97 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 98: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 98/243

Page 99: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 99/243

Page 100: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 100/243

Page 101: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 101/243

1.5.36 Set the receivable C2 byte of VC3: cfg-set-vc3src2

Name cfg-get-vc3stc2

Function To query the to-be-sent C2 byte of VC3.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-vc3stc2:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-5,13-16;

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-vc3stc2:6,1

Precautions

Remarks

Name cfg-set-vc3src2

Function To set the receivable C2 byte of VC3.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-vc3src2:Bid, Pid, C2value

Number of parameters: 3; repetitive parameter blocks.

Parameter location Parameter meaning and value

1 Bid: 1-5,13-16

2 Pid: 1-X (Determine X according to the board type.)

C2value:Value Meaninguneq singal uneuippedunsp non-specific payload equippedtugs TUG structuretulock Lock TUasyn 34.368Mbit/s and 44.736Mbit/s singnals,asynchronously mapped into C-3develop Mapping to be developeda140 139.264Mbit/s signal, asynchronously mapped intC--4

Page 101 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 102: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 102/243

1.5.37 Query the receivable C2 byte of VC3: cfg-get-vc3src2

1.5.38 Query the received C2 byte of VC3: cfg-get-vc3rc2

Input Parameters 3

atm ATM mappingman MAN (DQDB) mappingfddi FDDIppp PPPsynsdl Simple data link mapping of the SDH self-synchronizing scramblerlaps LAPSsetsdl Set and reset the simple data link mapping of thescramblerenet 10G Ethernet network signal mappinggfp Changeable topological data connection mappingresv Reservedresvn1 Reseerved for the national useresvn2 Reseerved for the national usetest 0.181 test signalais VC-AIS (used for serial connection only)Default: tugs

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-vc3src2:6,1,tugs

Precautions ¡¡

Remarks ¡¡

Name cfg-get-vc3src2

Function To query the receivable C2 byte of VC3.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-vc3src2:Bid, Pid

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-5,13-16

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get-vc3src2:6,1

Precautions ¡¡

Remarks ¡¡

Name cfg-get-vc3rc2

Page 102 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 103: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 103/243

Page 104: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 104/243

Page 105: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 105/243

Page 106: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 106/243

1.5.44 Query the service type: cfg-get-payloadtype

1.5.45 Set the service matching of the tributary board path: cfg-set-tumatch

3

e3: E3 servicest3: T3 Services (PL3 and PD3 support both E3 and T3, butadopt T3 as the default.)e4: 140M servicesstm1: STM-1 services (SPQ4 supports both e4 and stml, buadopts e4 as the default.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example : cfg-set-payloadtype:1,1,t1

Precautions Only some boards support this command.

Remarks ¡¡

Name cfg-get-payloadtype

Function To query the service type.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get- payloadtype:Bid, Pid

Number of parameters: 2; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-5,13-16

2 Pid: 1-X (Determine X according to the board type.)

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-get- payloadtype:1,1

Precautions Only some boards support this command.

Remarks

Name cfg-set-tumatch

Function To set the service matching (transparent transmission/butting/frame structure) of the tributary board path.

Command Level System operation

Available to User level

Version 5.21.01

: cfg-set-tumatch:Bid,Pid,E1T1Cnct,T1Struct,E1Struct

Page 106 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 107: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 107/243

Page 108: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 108/243

Page 109: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 109/243

1.6.3 Set the to-be-sent J1 bytes: cfg-set-vcstj1

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-get-vcloop:Bid, XcLevel, PathId

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 XcLevel: vc3path

3 PathId: 0~48 for ssn1egs2, 0~12 for ssn1efs4 and ssn1efs0(Full query supported; 0 for all paths)

Output Format

Example :cfg-get-vcloop:7,vc3path,0

Precautions

Remarks This command is delivered directly to the board. Therefore, the board must be in position.

Name cfg-set-vcstj1

Function To set the Ethernet to-be-sent J1 bytes.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-vcstj1:Bid, XcLevel, PathId, J1mode, J1value

Number of parameters: 5; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 XcLevel: vc3path

3 PathId: 1~48 for ssn1egs21~12 for ssn1efs4 and ssn1efs0

4

J0mode:

Value Meaning0 SDH mode (The bit7 of the first and only the first byte the J0 byte sequence is 1.)1 SDH mode (Adopt forcibly the CRC verification togenerate the first byte.)2 SONET mode (Configure the J1 value to 64 bytes.)

Page 109 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 110: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 110/243

Page 111: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 111/243

Page 112: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 112/243

Page 113: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 113/243

Page 114: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 114/243

Page 115: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 115/243

Page 116: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 116/243

Page 117: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 117/243

Page 118: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 118/243

Page 119: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 119/243

Page 120: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 120/243

Page 121: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 121/243

Page 122: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 122/243

1.7 Commands for Configuring Clock Board Properties

1.7.1 Query the current tracing clock source: cfg-get-cursyn 

1.7.2 Query the current 2M tracing clock source: cfg-get-2mcursyn 

Input Format:cfg-get-vcrv5:Bid, XcLevel, PathId

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 XcLevel: vc12path

3 PathId: 1~252 for ssn1egs2, 1~63 for ssn1efs4 and ssn1efs(Full query supported; 0 for all paths.)

Output Format

Example :cfg-get-vcrv5:7&8,vc12path,0

Precautions

Remarks

Name cfg-get-cursyn

Function To query the current tracing clock source.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-cursyn:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-cursyn:9CUR-SYN : 0xf101

Example :cfg-get-cursyn:9

Precautions This command requires that the board be in position.

Remarks

Name cfg-get-2mcursyn

Page 122 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 123: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 123/243

Page 124: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 124/243

1.7.4 Query the 2M current tracing source and the corresponding S1 bytes: cfg-get-2mcursyns

1.7.5 Query the S1 bytes corresponding to all sources in the system priority list: cfg-get-alls1

Example :cfg-get-cursyns1:9

Precautions

Remarks

Name cfg-get-2mcursyns1

Function To query the 2M current tracing source and the corresponding S1 bytes.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-2mcursyns1:Bid, SynTbl

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-2mcursyns1:9, fir-2m-tbl2M-CUR-SYN-S1

SYN-TABLE SYN-SOURCE S1-VALUEfir-2m-tbl 0xf101 QL_DNU

Total records :1

Example :cfg-get-2mcursyns1:9, fir-2m-tbl

Precautions

Remarks

Name cfg-get-alls1

Function To query the S1 bytes corresponding to all sources in the system priority list.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-alls1:Bid

Number of parameters: 1; parameters not repetitive.

Page 124 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 125: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 125/243

Page 126: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 126/243

1.7.8 Set the priority list of the system clock source: cfg-set-synclass 

Name cfg-get-synexist

Function Query the currently existing sources in the priority list.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get- synexist:Bid, SynTbl

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2

SynTbl: The clock source priority listsyn-tbl: The system clock priority listfir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-synexist:9,syn-tblSYN- EXIST-VALID

SYN-TABLE SYN-SOURCEsyn-tbl 0xf101

Total records :1

Example :cfg-get-synexist:9,syn-tbl

Precautions

Remarks

Name cfg-set-synclass

Function To set the priority list of the system clock source.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-synclass:Bid, SyncNum, Sync1, Sync2,...

Number of parameters not specified; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SyncNum: Number of clock sources: N; 1-59(40G XCS)£¬1(80G XCS)

Page 126 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 127: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 127/243

1.7.9 Set the clock source priority list of the 2M phase source: cfg-set-2msynclass 

3 Number of No. 1 clock source: See Precautions for the valu

... ...

N + 2 Number of No. N clock source: See Precautions for the valu

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-synclass:9, 2, 0x0501, 0xf101

Precautions

1. Rules for numbering the clock sources:Every clock source is a double-byte hexadecimal number starting with 1. The high byte indicathe line board ID (0x01~0x11), while the low byte for the optical interface number. The numbeof the No. 1 external source is 0xf001, and 0xf002 for the No.2 external source; the number ofthe internal source is 0xf101. 2. Please pay attention to the difference between the hexadecimal and the decimal system. Fexample, the No. 15 board ID is expressed as 0x0f.  3. The board with the board ID corresponding to the clock source number must be installed and in the ACTIVstatus.4. In terms of boards with multiple optical interfaces, i t is not allowed to adopt different optical interface as theclock source in different priority lists (such as the two-path 2MPLL priority list and the system clock sourcepriority list). For example, assume that the board with ID as 1 has four optical interfaces, and the No.1 optical

interface is configured as the clock source. If the clock source 0x0101 is configured when creating the systemclock priority list, it is not allowed to configure the No. 2, No.3 or No.4 optical interface as the clock source whcreating the priority list exported by the external retiming clock. However, 0x0101 can be configured as the clsource.

Remarks

Name Cfg-set-2msynclass

Function To set the clock source priority list of the 2M phase source.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-2msynclass:Bid, SynTbl, SyncNum, Sync1, Sync2,...

Number of parameters not specified; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

3 SyncNum: Number of the clock sources: N£¬1-59(40G XCS£¬1-95(80G XCS)

4 Number of No.1 clock source: See Precautions for the value

... ...

Page 127 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 128: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 128/243

Page 129: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 129/243

1.7.11 Query the clock source priority list of the 2M phase source: cfg-get-2msynclass

1.7.12 Execute the external switch and reset commands of the system clock priority list: cfg-ssynextsw

Remarks

Name cfg-get-2msynclass

Function To query the clock source priority list of the 2M phase cource.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-2msynclass:Bid, SynTbl

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-2msynclass:9, fir-2m-tbl2M-SYN-CLASS : fir-2m-tbl 1 0xf101

Example :cfg-get-2msynclass:9, fir-2m-tbl

Precautions

Remarks

Name cfg-set-synextsw

Function To execute the external switch and reset commands of the system clock priority list.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-synextsw:Bid, SwitchCmd, SynId

Number of parameters: 3; parameters not repetitive.

Parameter location Parameter meaning and value

1 Bid: 9 or 10

Page 129 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 130: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 130/243

1.7.13 Execute the external switch and reset commands of the 2M clock priority list: cfg-set-2msynextsw

Input Parameters2

SwitchCmd: external switch command

Value Meaning0 Reset the external switch commands (auto switch mode1 Manual switch2 Force switch

3 SynId: ID of the clock source with switch

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-synextsw:9,1,0x0101

PrecautionsThe clock source should be that recorded in the priority list.When the external switch command is 0 (namely, Reset the external switch commands), the followed clock source parameters are invalid.

Remarks

Name cfg-set-2msynextsw

Function To execute the external switch and reset commands of the 2M clock priority list.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-2msynextsw:Bid,syn-tbl,SwitchCmd,SynId

Number of parameters: 4; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

3

SwitchCmd: external switch command

Value Meaning0 Reset the external switch commands (auto switch mode)1 Manual switch2 Force switch

4 SynId: ID of the clock source with switch

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-2msynextsw:9, fir-2m-tbl,1,0x0101

PrecautionsThe clock source should be that recorded in the priority list.When the external switch command is 0 (namely, Reset the external switch commands), the followed clock souparameters are invalid.

Page 130 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 131: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 131/243

1.7.14 Query the switching status of the clock source in the system clock priority list: cfg-get-synswstatus

1.7.15 Query the switching status of the clock source in the 2M phase source priority list: cfg-get-2msynswstatus

Remarks

Name cfg-get-synswstatus

Function To query the switching status of the clock source in the priority list, including the switching mode and theswitched clock source.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-synswstatus:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-synswstatus:9SYN-SWITCH-STATUS

SWITCH-STATUS CURRENT-SYNsyn-auto 0xf101

Total records :1

Example :cfg-get-synswstatus:9

Precautions ¡¡

Remarks

Name cfg-get-2msynswstatus

Function To query the switching status of the clock source in the 2M phase source priority list, including the switchingmode and the switched clock source.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-2msynswstatus:Bid, SynTbl

Number of parameters: 2; parameters not repetitive.

Parameter location Parameter meaning and value

1 Bid: 9 or 10

Page 131 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 132: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 132/243

1.7.16 Set the action for the 2M clock source failure: cfg-set-2mpllsynlosaction

1.7.17 Query the action for the 2M clock source failure: cfg-get-2mpllsynlosaction

Input Parameters 2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-2msynswstatus:9, fir-2m-tbl2MSYN-SWITCH-STATUS

SYN-TABLE SWITCH-STATUS CURRENT-SYN

fir-2m-tbl syn-auto 0xf101Total records :1

Example :cfg-get-2msynswstatus:9, fir-2m-tbl

Precautions ¡¡

Remarks

Name cfg-set-2mpllsynlosaction

Function To set the action for the 2M clock source failure.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-2mpllsynlosaction:Bid, SynTbl, Action

Number of parameters: 3; parameters not repetitive.

Input Parameters¡¡¡¡

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2SynTbl: Clock source priority list of the 2M phase sourcefir-2m-tbl: The first 2M phase source priority listsec-2m-tbl: The second 2M phase source priority list

3

Actions in the case of 2MPLL failure:0: The S1 byte output by 2M is not usable (Send 0X0F)1: Send AIS2: Disable the output 

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-2mpllsynlosaction:9,fir-2m-tbl,1

Precautions ¡¡

Remarks ¡¡

Name cfg-get-2mpllsynlosaction

Page 132 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 133: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 133/243

Page 134: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 134/243

Page 135: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 135/243

1.7.21 Query the receiving TS of the external source S1 byte: cfg-get-exts1inslot

1.7.22 Set the output TS for the external source S1 byte: cfg-set-exts1outslot

Input Parameters

2 SynId: 0xf001 or 0xf002

3

S1Slot: Receiving TS of the S1 byte

value TS0 £> 41 £> 52 £> 63 £> 7

4 £> 8

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-exts1inslot:9,0xf001,1

Precautions

Remarks

Name cfg-get-exts1inslot

Function To query the receiving TS of the external source S1 byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-exts1inslot:Bid, SynId

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-exts1inslot:9,0xf001EXT-SYN-S1-SLOTEXT-SYN S1-SLOT0xf001 0

Total records :1

Example :cfg-get-exts1inslot:9,0xf001

Precautions

Remarks

Name cfg-set-exts1outslot

Page 135 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 136: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 136/243

1.7.23 Query the output TS of the external source S1 byte: cfg-get-exts1outslot

Function To set the output TS for the external source S1 byte.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-exts1outslot:Bid, SynId, S1Slot

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

3

S1Slot: Output TS of the S1 byte

value TS0 £> All TS¡¯ s1 £> 42 £> 53 £> 64 £> 75 £> 8

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-exts1outslot:9,0xf001,1

Precautions

Remarks

Name cfg-get-exts1outslot

Function To query the output TS of the external source S1 byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-exts1outslot:Bid, SynId

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-exts1outslot:9,0xf001

Page 136 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 137: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 137/243

1.7.24 Enable/Disable switching in the sequence of descending priority: cfg-set-syncnorvt

1.7.25 Query the enabling status of switching the clock source in the sequence of descendingpriority: cfg-get-syncnorvt

Output Format

EXT-S1-INSLOTSYN-SOURCE S1SLOT0xf001 0

Total records :1

Example :cfg-get-exts1outslot:9,0xf001

Precautions ¡¡

Remarks

Name cfg-set-syncnorvt

Function Enable/Disable switching in the sequence of descending priority.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-syncnorvt:Bid, Flag

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 Flag: disable or enable

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-syncnorvt:9,disable

Precautions

Remarks

Name cfg-get-syncnorvt

Function Query the enabling status of switching the clock source in the sequence of descending priority.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-syncnorvt:Bid

Number of parameters: 1; parameters not repetitive.

Page 137 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 138: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 138/243

Page 139: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 139/243

Page 140: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 140/243

1.7.30 Set the data output threshold for the external source: cfg-set-outputth 

Available to User level

Version 5.21.01

Input Format:cfg-get-outsynmode:Bid

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-outsynmode:9EXTSYN-OUT-MODE

EXT1-MODE EXT2-MODEbit bit

Total records :1

Example :cfg-get-outsynmode:9

Precautions

Remarks

Name cfg-set-outputth 

Function To set the data output threshold for the external source.Cut the clock output when the local clock quality is lower than this threshold.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-outputth:Bid, SynId, ThValue

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

3

ThValue: Output threshold

Value Meaning0 £> Threshold not activated (QL_DNU)1 £> Not lower than the SETS clock (QL_SEC)2 £> Not lower than the G.812 clock of the local exchange(QL_SSUB)3 £> Not lower than the G.812 clock of the transit exchang(QL_SSUA)4 £> Not lower than the G.811 clock (QL_PRC)

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Page 140 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 141: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 141/243

1.7.31 Query the data output threshold of the external source: cfg-get-outputth 

1.7.32 Set maunually the S1 byte clock quality: cfg-set-mans1qua

Example :cfg-set-outputth:9,0xf001,2

Precautions

Remarks

Name cfg-get-outputth 

Function To query the data output threshold of the external source.

Command Level System monitoring

Available to Customer service level

Version 5.21.01

Input Format:cfg-get-outputth:Bid

Number of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-outputth:9,0xf001EXT-OUTPUT-TH

EXT-SYN EXT-OUT-TH0xf001 0

Total records :1

Example :cfg-get-outputth:9,0xf001

Precautions

Remarks

Name cfg-set-mans1qua

Function To set manually the S1 byte clock quality.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-mans1qua:Bid, SynId, S1Quality

Number of parameters: 3; parameters not repetitive.

Parameter location Parameter meaning and value

Page 141 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 142: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 142/243

1.7.33 Query the S1 byte clock quality: cfg-get-mans1qua

Input Parameters

1 Bid: 9 or 10

2 SynId: Clock source ID

3

S1Quality: S1 byte clock quality

Value Meaning0x00 Synchronous quality unknown0x02 Signal of the G.811 clock 

0x04 Signal of the G.812 transit exchange clock 0x08 Signal of the G.812 local exchange clock 0x0b Signal of the synchronous device timing source0x0f Not used for synchronization0xFF Manual configuration cancelled

Output Format Return the ¡°Suceeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-mans1qua:9,0x0501,0x02

Precautions The clock source should be that recorded in the priority list; the internal source should not be set to unusable

Remarks

Name cfg-get-mans1qua

Function To query the S1 byte clock quality.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-mans1qua:Bid, SynId

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2

SynId: Clock source ID

0 means to query all the clock sources for which the S1 byteconfigured manually in the priority list.

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-mans1qua:9,0MAN-S1-QUALITY

SYN-SOURCE S1-QUALITY0x0701 0x02

Total records :1

Example :cfg-get-mans1qua:9,0x0401

Precautions The clock source should be that recorded in the priority list. If no manually-configured S1 byte is available,NSERR_CFG_GET_NULL will be returned.

Page 142 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 143: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 143/243

1.7.34 Set the waiting time for the clock source recovery: cfg-set-synwtrtime

1.7.35 Query the waiting time for the clock source recovery: cfg-get-synwtrtime

Remarks

Name cfg-set-synwtrtime

Function To set the waiting time for the clock source recovery.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-synwtrtime:Bid, WtrTime

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2WtrTime: Wait time for recoveryValue and unit: 0-12 minutesDefault: 5 minutes

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-synwtrtime:9,5

Precautions

Remarks

Name cfg-get-synwtrtime

Function To query the waiting time for the clock source recovery.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-synwtrtime:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-synwtrtime:9SYN-WTR-TIME : 5

Page 143 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 144: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 144/243

Page 145: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 145/243

1.7.38 Set the input mode for the external source: cfg-set-insynmode

1.7.39 Query the input mode of the external source: cfg-get-insynmode

Input Parameters 1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-syns1id:9SYN-NODE-ID

SYN-SUBNET SYN-SOURCE NODE-ID1 0x0701 0x011 0xf101 0000

Total records :2

Example :cfg-get-syns1id:9

Precautions If the ID of each clock source is 0x00, NSERR_CFG_GET_NULL will be returned for no result.

Remarks

Name cfg-set-insynmode

Function To set the input mode for the external source.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-insynmode:Bid, ExtSyn1Mode, ExtSyn2Mode

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2ExtSyn1Mode: Input mode of the first external sourceValue and meaning: bit£>2Mbithz£>2Mhz

3ExtSyn2Mode: Input mode of the second external sourceValue and meaning: bit£>2Mbithz£>2Mhz

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-insynmode:9,bit,bit

Precautions

Remarks

Name cfg-get-insynmode

Function To query the input mode of the external source.

Page 145 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 146: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 146/243

Page 147: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 147/243

1.7.41 Query the SSM protocol mode of the S1 byte: cfg-get-s1mode

1.7.42 Permit/Forbid the optical interface corresponding to the clock source to output the S1byte: cfg-set-s1exportmode

Name cfg-get-s1mode

Function To query the SSM protocol mode of the S1 byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-s1mode:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-s1mode:9S1-MODE : disables1

Example :cfg-get-s1mode:9

Precautions

Remarks

Name cfg-set-s1exportmode

Function Enable/Disable the optical interface corresponding to the clock source to output the S1 byte.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-s1exportmode:Bid, SynId, Flag

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: Line source ID

3 Flag: permit or forbid

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Page 147 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 148: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 148/243

1.7.43 Query the status of permitting/forbidding the optical interface corresponding to the cloc

source to output the S1 byte: cfg-get-s1exportmode

1.7.44 Query the current working mode of the clock board: cfg-get-stgworkmode

Example :cfg-set-s1exportmode:9,0x0401,permit

Precautions

Remarks

Name cfg-get-s1exportmode

Function To query the status of permitting/forbidding the optical interface corresponding to the clock source to output tS1 byte.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-s1exportmode:BidNumber of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-s1exportmode:9S1-EXPORT-MODE

SYN-SOURCE ENABLE-FLAG0x0701 forbid

Total records :1

Example :cfg-get-s1exportmode:9

Precautions If the line source or external source with configured S1 byte output is not available, NSERR_CFG_GET_NULwill be returned.

Remarks

Name cfg-get-stgworkmode

Function To query the current working mode of the clock board (tracing/keeping/free mode).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-stgworkmode:Bid

Number of parameters: 1; parameters not repetitive.

Page 148 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 149: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 149/243

Page 150: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 150/243

1.7.47 Permit/Forbid the optical interface to output the clock ID: cfg-set-s1idexportmode

1.7.48 Query the status of permitting/forbidding the optical interface to output the clock ID: cfgget-s1idexportmode

Version 5.21.01

Input Format:cfg-get-qlunknow:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 9 or 10

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-qlunknow:9QL-UNKNOW

QLUNKNOW-VALUE QLUNKNOW-VALUEQL_DNU QL_DNU

Total records :1

Example :cfg-get-qlunknow:9

Precautions

Remarks

Name cfg-set-s1idexportmode

Function Permit/Forbid the optical interface to output the clock ID.

Command Level System maintenance

Available to Customer service level

Version 5.21.01

Input Format:cfg-set-s1idexportmode:Bid, SynId, Flag

Number of parameters: 3; repetitive parameter blocks.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: Line source ID

3 Flag: permit or forbid

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-s1idexportmode:9,0x0401,permit

Precautions The clock source can be the line source only.

Remarks

Page 150 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 151: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 151/243

Page 152: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 152/243

Page 153: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 153/243

1.7.52 Query the condition for the external source failure: cfg-get-lapseterm

1.7.53 Query the working status and DA value of the current clock source: cfg-get-synstatusda

Name cfg-get-lapseterm

Function Query the condition for the external source failure.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-lapseterm:Bid

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2 SynId: 0xf001 or 0xf002

3 LapseTerm: AIS or LOF

Output Format

Example :cfg-get-lapseterm:9,0xf001,AIS

Precautions

Remarks

Name cfg-get-synstatusda

Function To query the working status and DA value of the current clock source.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-synstatusda:Bid, PllType

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 9 or 10

2PllType: PLL type0: 38M digital PLL1: 155M digital PLL

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-synstatusda:9,0

Page 153 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 154: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 154/243

Page 155: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 155/243

1.8.3 Set the conference orderwire number for the whole network: cfg-set-meetnum

1.8.4 Query the conference orderwire number of the whole network: cfg-get-meetnum

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-telnum:BidNumber of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 37

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-telnum:37TELE-NUMBER

TEL-No TELE-NUMBER1 101

Total records :1

Example :cfg-get-telnum:37

Precautions

Remarks

Name cfg-set-meetnum

Function To set the conference orderwire number for the whole network.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-meetnum:Bid,MeetNumNumber of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 37

2MeetNum: 100~99999999, 999 by default; should meet thelength requirements for telephone numbers. Besides, set

0XFFFFFFFF to reset the local telephone number.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-meetnum:37,999

Precautions

Remarks

Page 155 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 156: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 156/243

Page 157: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 157/243

Page 158: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 158/243

Page 159: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 159/243

1.8.10 Query the availability of the optical interface in the addressing call: cfg-get-lineused

1.8.11 Set the availability of the optical interface in the conference call: cfg-set-meetlineused

Precautions

Remarks

Name cfg-get-lineused

Function To query the availability of the optical interface in the addressing call.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-lineused:BidNumber of parameters: 1; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 37

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success::cfg-get-lineused:37

TELE-LINE-USEDEowBid IuBid PortId LineUsed37 7 1 unused37 7 2 unused37 7 3 unused37 7 4 unused37 12 1 unused37 12 2 unused37 12 3 unused37 12 4 unused

37 13 1 unused37 13 2 unused37 13 3 unused37 13 4 unused

Total records :12

Example :cfg-get-lineused:37

Precautions ¡¡

Remarks

Name cfg-set-meetlineused

Function To set the availability of the optical interface in the conference call.

Command Level System operation

Available to User level

Version 5.21.01

Page 159 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 160: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 160/243

1.8.12 Query the availability of the optical interface in the conference call: cfg-get-meetlineuse

Input Format :cfg-set-meetlineused:Bid, DstBid, PortId, LineUsedNumber of parameters: 4; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 37

2 DstBid: 1~8,11~16(40G)/17(80G)

3 PortId: Optical interface ID

4 LineUsed: used, unused

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-meetlineused:37,1,16,used

Precautions

Remarks

Name cfg-get-meetlineused

Function To query the availability of the optical interface in the conference call.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format

:cfg-get-meetlineused:Bid

Number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 37

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success::cfg-get-meetlineused:37

MEETING-LINE-USEDEowBid IuBid PortId LineUsed37 7 1 unused37 7 2 unused37 7 3 unused37 7 4 unused

37 12 1 unused37 12 2 unused37 12 3 unused37 12 4 unused37 13 1 unused37 13 2 unused37 13 3 unused37 13 4 unused

Total records :12

Example :cfg-get-meetlineused:37

Precautions ¡¡

Page 160 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 161: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 161/243

Page 162: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 162/243

Page 163: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 163/243

Page 164: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 164/243

1.8.19 Query the electrical characteristics of the port: cfg-get-portmode

Name Cfg-set-portmode

Function Set the electrical characteristics of the port.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-portmode:Bid, PortName, ModeNumber of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 37

2 PortName: com1, com2, data1, data2, data3 or data4

3 Mode: rs232 or rs422

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-portmode:37,data2,rs232

Precautions

Remarks

Name cfg-get-portmode

Function Query the electrical characteristics of the port.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-portmode:BidNumber of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid: 37

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-portmode:37DATA-PORT-WORKMODE

EOW-Bid Port WorkMode37 data1 rs23237 data2 rs42237 data3 rs23237 data4 rs23237 com1 rs23237 com2 rs232

Total records :6

Page 164 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 165: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 165/243

Page 166: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 166/243

Page 167: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 167/243

Page 168: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 168/243

1.8.26 Query the subnet number: cfg-get-subnetbd

1.8.27 Set the status (enable/disable) of the auto switch protection: cfg-set-autoswitch

Remarks

Name cfg-get-subnetbd

Function To query the subnet number served by the optical port.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-subnetbd:BidNumber of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Bid:37

Output Format

Return the ¡°Failed!¡± message upon failure; return the following in the text format upon success:

:cfg-get-subnetbd:37PORT-SUBNET-ID

Bid PortId SUBNET-ID7 1 0x0112 1 0x01

Total records :2

Example :cfg-get-subnetbd:37

Precautions ¡¡

Remarks

Name cfg-set-autoswitch

Function To set the status (enable/disable) of the auto switch protection.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-autoswitch:Bid, FlagNumber of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 37

2 Flag: disable or enable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Page 168 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 169: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 169/243

Page 170: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 170/243

Page 171: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 171/243

Page 172: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 172/243

Page 173: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 173/243

1.9.4 Query the performance parameter list of the optical amplifier board: cfg-get-paralist

1.10 Alarm Bolean Management

1.10.1 Set the output status of the alarm relay switch: cfg-set-cskswitch

Name cfg-get-paralist

Function To query the performance parameter list of the optical amplifier board.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-get-paralist:Bid,PidNumber of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS) (same as thline board ID)

2 Pid: 1~2 (number of the optical port)

Output Format

:cfg-get-paralist:11,1OAPARALIST

Bid Pid LSRNUM INPWRCUR OUTPWRCUR LSRNO RWC MCC WC CC PC LSRTEMP11 1 1 280 146 0 250 2000 0 18 0 250Total records :1 

Example :cfg-get-paralist:2

Precautions This command is delivered directly to the board. Therefore, the optical amplifier board must be in position.

Remarks

Name cfg-set-cskswitch

Function Set the output status of the alarm relay switch.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-cskswitch:Bid,CtrlMode,Relay0Flag,Relay1Flag

Number of parameters: 4; parameters not repetitive.

Parameter location Parameter meaning and value

1 Bid: 37

2 CtrlMode: pmuauto, pmumanualDefault: pmuauto

Page 173 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 174: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 174/243

1.10.2 Query the output status of the alarm relay switch: cfg-get-cskswitch

1.10.3 Set the output status of the auxiliary function relay: cfg-set-extrelayuse

Input Parameters

3The status of the common alarm relay includes open and close: open means open the path (to close the Bolean); close means to close the path ( to shut dothe Bolean output). The default status is c lose.

4The status of the servere alarm relay includes also open and close: open meato open the path (to close the Bolean); close means to close the path (to shutdown the Bolean output). The default status is c lose.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-cskswitch:18,pmumanual,open,open

Precautions The configuration delivered by this command is invalid in the auto control mode.

Remarks

Name cfg-get-cskswitch

Function To query the output status of the alarm relay switch.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-cskswitch:BidDefining the location; number of parameters: 1; parameters not repetitive.

Input ParametersParameter location Parameter meaning and value

1 Slot ID

Output Format

Return the error message on failure; return the following in the tableformat on success:CSK-SWITCHCONTROL-MODEK 0-STATUSK 1-STATUS<Relay control mode > <Status of the common alarm relay ><Status ofthe servere alarm relay >

Example :cfg-get-cskswitch:18

Precautions open means to open the path (to close the Bolean); close means to closethe path (to shut down the Bolean output).

Remarks

Name cfg-set-extrelayuse

Function Set the output status of the auxiliary function relay.

Command Level System operation

Available to User level

Page 174 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 175: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 175/243

1.10.4 Query the output status of the auxiliary function relay: cfg-get-extrelayuse

1.10.5 Set the relay input mode: cfg-set-onerelayuse

Version 5.21.01

Input Format:cfg-set-extrelayuse:Bid,ExtRelayNo,ExtRelayUsedDefine the location; number of parameters: 3; the second parameterrepeated.

Input Parameters

Parameter location Parameter meaning and value

1 Slot ID

2 Number of the configured auxiliary function relay

3 Status of the configured auxiliary function relay: open and close

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-extrelayuse:18,1,close

Precautions

Remarks

Name cfg-get-extrelayuse

Function To query the output status of the auxiliary function relay.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-extrelayuse:Bid,ExtRelayNoDefine the location; number of parameters: 2; the second parameterrepeated.

Input Parameters

Parameter location Parameter meaning and value

1 Slot ID

2 Number of the configured auxiliary function relay

Output Format

Return the error message on failure; return the following in the table formaton success:EXT-RELAY-USEExtRelayNo ExtRelayStatus<Number of the auxiliary function relay output ><Status of the auxiliaryfunction relay output >

Example :cfg-get-cskswitch:18,1

Precautions

Remarks

Page 175 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 176: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 176/243

Page 177: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 177/243

1.11 Pluggable Laser Module Management

1.11.1 Query the laser module status: cfg-get-lsr-stat

1.11.2 Query the laser module sequence number: cfg-get-lsr-sn

Bid InputRelayNo InputRelayStatus InputRelayAlm<Bid> <Number of the input relay > <Relay working status > <Alarmswitch status>

Example :cfg-get-onerelayuse:18,1

Precautions

Remarks

Name cfg-get-lsr-stat

Function To query the laser module status (in position or not).

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-lsr-stat:Bid,Pid

Number of parameters: 2; the second parameter repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the following in the table format upon success:

:cfg-get-lsr-stat:8,1LSR-ONBOARD-STATUS

BID Pid OnBoard Status8 1 1

Total records :1Status: 1 (for in position) and 0 ( for not in position)

Example :cfg-get-lsr-stat:8,1

Precautions

Remarks

Name cfg-get-lsr-sn

Function To query the laser module sequence number.

Command Level System monitoring

Available to User level

Page 177 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 178: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 178/243

1.11.3 Query the laser module speed: cfg-get-lsr-speed

Version 5.21.01

Input Format

:cfg-get-lsr-sn:Bid,Pid

Define the location; number of parameters: 2; the second parameterrepeated.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the following in table format upon success:

:cfg-get-lsr-sn:7,1LSR-SN

Bid Pid LSR-SN7 1 45E487C00158

Total records :1

Example :cfg-get-lsr-sn:7,1

Precautions

Remarks

Name cfg-get-lsr-speed

Function To query the laser module speed.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format

:cfg-get-lsr-speed:Bid,Pid

Define the location; number of parameters: 2; the second parameterrepeated.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the following in table format upon success:

:cfg-get-lsr-speed:8,1LSR-SPEED

BID Pid LSR Speed info(Mb/s)8 1 622

Total records :1

Example :cfg-get-lsr-speed:8,1

Page 178 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 179: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 179/243

Page 180: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 180/243

1.11.6 Set the HWID for the pluggable laser module: cfg-set-lsr-hwid

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

Output Format

Return the following in table format upon success:

:cfg-get-lsr-hwid:8,1

LSR HWID

Bid Pid LSRHWID

8 0

Example :cfg-get-lsr-hwid:8,1

Precautions

Remarks

Name cfg-set-lsr-hwid

Function To set the HWID (HuaWei Identity) for the pluggable laser module.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-lsr-hwid:Bid,Pid,HWIDDefine the location; number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16(40G XCS),1-8, 11-17(80G XCS)

2 Pid: 1-X (Determine X according to the board type.)

3

HWID: Contain the following information (separated by **); the totlength not exceed 122 bytes.

1: HWID2: The model of the laser

3: BOM code4: Descriptions of BOM in chinese5: Descriptions of BOM in english

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example:cfg-set-lsr-hwid:8, 1, " Huawei SBS ** SCP6861-H1-BNE**34060282**¹âÊÕ·¢Ò»ÌåÄ£¿é-ESFP(ÄÚÍâÁ½ÖÖУ׼)-1550-STM1-0dBm--5dBm--37dBm-LC-80km**abc**"

Precautions

Page 180 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 181: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 181/243

Chapter 2 Seveice and Protection

2.1 Report of Service and Protection Events

2.1.1 Report switchover events of the ring MS protection group

2.1.2 Report the switchover events of the liner MS protection group

2.1.3 Report the switchover events of the SNCP protection group

Remarks

Name EVENT-MSSPR-SWITCH-EX

Function To report the switchover events of the ring MS protection group in the suppression mode.

Command Level System monitoring

Available to User level

Version 5.21.01

Output Format

¡¡ EVENT-MSSPR-SWITCH-EXPG-ID WEST-SWREQ WEST-SWSTA WEST-SWFLAG EAST-SWREQ EAST-SWSTA1 SF_P S OFF NR I

EAST-SWFLAG WEST-REQTYPE EAST-REQTYPE NODE-STATUS SQUELCH-STATUSOFF LOCAL-REQ LOCAL-REQ NO-LONE NO-SQUELCH

Name EVENT-LMS-SWITCH

Function To report the switchover events of the linear MS protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Output Format¡¡ EVT-LMS-SWITCHPG-ID PU-ID SWITCH-REQUEST SWITCH-STATUS1 1 LPS_SF S

Name EVENT-SNCP-SWITCH

Function To report the switchover events of the SNCP protection group.

Command Level System debugging/System management/System maintenance/System operation/System monitoring

Available to User level

Version 5.21.01

Output Format ¡¡

Page 181 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 182: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 182/243

2.1.4 Report the switchover events of the TPS protection group

2.1.5 Report the status change events of the TPS protection board

2.1.6 Report the switchover events of the DPS protection group

Example ¡¡

Precautions ¡¡

Remarks ¡¡

Name EVENT-TPS-SWITCH

Function To report the switchover events of the TPS protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Output FormatEVENT-TPS-SWITCH

PG-ID SWITCHED-WORK-UNIT SWITCH-STATUS1 1 tps-force

Name EVENT-TPS-PROTECT-CHANGE

Function Report the status change events of the TPS protection board.

Command Level System monitoring

Available to User level

Version 5.21.01

Output Format¡¡ EVENT-TPS-PROTECT-CHANGE PG-ID PROTECT-BID-STATUS

1 1

Name EVENT-CFG-DPS-SWITCH

Function To report the switchover events of the DPS protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Output Format¡¡ EVENT-CFG-DPS-SWITCH

PG-ID MASTER-BD BACKUP-BD1 9 10

Page 182 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 183: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 183/243

2.2 Cross Connection Commands

2.2.1 Create the cross connection: cfg-add-xc

2.2.2 Delete the cross connection: cfg-del-xc

Name cfg-add-xc

Function To create the cross connection.

CommandLevel System operation

Available to User level

Version 5.21.01

Input Format:cfg-add-xc:xc-id,src-bid,src-pid,src-auid,src-pathid,dst-bid,dst-pid,dst-auid, dst-pathid,xc-level

Number of parameters: 10; parameter blocks repeated.

InputParameters

Parameterlocation Parameter meaning and value

1 Cross connection sequence number:0¡«3526: 0 refers to the auto distribution of the host software; 1~376(for high order services); 377~3526 (for low order services)

2 Source Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.)

3 Source Pid: 1-X (Determine X according to the board type installed on this board.)

4 Source high order PathId: Adopt 0 for this parameter when the board is a tributary board, while 1-X when the board is of othertypes. Determine X according to the board type installed on this board.

5 Source low order PathId: Adopt 0 for this parameter when the board is a tributary board or when XcLevel is high order; otherwisadopt the corresponding low order PathId (VC12 or VC3).

6 Destination Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.)

7 Destination Pid: 1-X (Determin X according to the board type installed on this board.)

8 Destination high order PathId: Adopt 0 for this parameter when the board is a tributary board, while 1-X when the board is of othtypes. Determine X according to the board type installed on this board.

9 Destination low order PathId: Adopt 0 for this parameter when the board is a tributary board or when XcLevel is high order;otherwise, adopt the corresponding low order PathId (VC12 or VC3).

10 Cross connection level: vc12, vc3, vc4, au4-4c, au4-8c, au4-16c, au4-64c, au3

Output Format ¡¡

Example:cfg-add-xc:0, 4, 1, 1, 0, 5, 1, 1, 0, vc4 (high order):cfg-add-xc:0, 4, 1, 1, 1, 11, 1, 0, 0, vc12 ( low order):cfg-add-xc:0, 6, 1, 1, 1&&16, 3, 1&&16, 0, 0, vc12 (low order)

Precautions

Remarks

Page 183 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 184: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 184/243

Page 185: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 185/243

2.2.4 Query the actual high order cross connection: cfg-get-xcconnect

Input Format Number of parameters: 2; parameters not repetitive.

InputParameters

Parameterlocation Parameter meaning and value

1 Source Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.); 0 refers to all the source boards.

2 Destination Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.); 0 refers to all the destination boards.

Output Format

Return the following relevant fields in the table format:ID : IDSRC-BD : Source board IDSRC-PORT : Source port IDSRC-AU : Source high order PathIdSRC-TU : Source low order PathIdDST-BD : Destination board IDDST-PORT : Destination port IDDST-AU : Destination high order PathIdDST-TU : Destination low order PathIdLEVEL : Cross connection levelSTATUS : Current status

Example

:cfg-get-xc:0,0

CROSS-CONNECTIONID SRC-BD SRC-PORT SRC-AU SRC-TU DST-BD DST-PORT DST-AU DST-TU LEVEL STATUS1 7 1 1 1 2 1 0 0 vc12 adding 2 5 1 1 0 6 1 1 0 vc4 adding 3 5 1 2 1 6

2 1 vc3 adding 4 5 1 3 1 6 1 3 1 vc12 adding Total records :4

Precautions ¡¡

Remarks ¡¡

Name cfg-get-xcconnect

Function To query the actual high order cross connection.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-xcconnect:src-bid,dst-bid

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Source Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by tcross capacity of 80G.); 0 refers to all the source boards.

2Destination Bid: 1-8£¬11-16£¬17 (Slot17 is only supported the cross capacity of 80G.); 0 refers to all the destinationboards.

Return the following relevant fields in the table format:ID : Cross connection IDSRC-BD : Source board IDSRC-PORT : Source port ID

Page 185 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 186: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 186/243

2.2.5 Query the high order cross connection route: cfg-get-connect

Output Format

SRC-AU : Source high order PathIdSRC-TU : Source low order PathId (Return 0)DST-BD : Destination board IDDST-PORT : Destination port IDDST-AU : Destination high order PathIdDST-TU : Destination low order PathId (Return 0)LEVEL : Cross connetion levelSTATUS : Current status

Example

:cfg-get-xcconnect:0,0ACTUAL-CROSS-CONNECTIONID SRC-BD SRC-PORT SRC-AU RSV DST-BD DST-PORT DST-AU RSV LEVEL BCSUM1 13 1 4 0 11 1 4 0 vc4 22 13 1 5 0 11 1 5 0 vc4 23 13 1 6 0 11 1 6 0 vc4 24 13 1 7 0 11 1 7 0 vc4 25 13 1 8 0 11 1 8 0 vc4 26 13 1 9 0 11 1 9 0 vc4 27 13 1 10 0 11 1 10 0 vc4 28 13 1 11 0 11 1 11 0 vc4 29 13 1 12 0 11 1 12 0 vc4 210 13 1 13 0 11 1 13 0 vc4 2Total records :10

Precautions Query this command directly on the cross connection unit.

Remarks ¡¡

Name cfg-get-connect

Function Query the high order cross connetion route.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-connect:src-bid,dst-bid

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Source Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity o80G.); 0 refers to all the source boards.

2 Destination Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacof 80G.); 0 refers to all the destination boards.

Output Format

Return the following relevant fields in the table format:G1In G1 G1Out : Level-1 cross connection matrixG2In G2 G2Out : Level-2 cross connection matrixG3In G3 G3Out : Level-3 cross connection matrixSrc: Source indexCC : Concatenation service typeBC : Broadcast service typeGnIn and GnOut stands for the input and output VC4 granule of the Level-n cross connection matrix (n=1-3); G1, G2 aG3 are the numbers of the cross connection modules.

Page 186 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 187: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 187/243

2.2.6 Cross connection query conditions: cfg-get-condxc

Example

:cfg-get-connect:0,0CLOS_CONNECTIONG1In G1 G1Out G2In G2 G2Out G3In G3 G3Out Src CC BC0 0 0 0 0 152 0 0 0 0 1 11 0 32 0 1 152 8 0 1 1 1 12 0 1 1 0 153 1 0 2 2 1 13 0 33 1 1 153 9 0 3 3 1 1Total records :4

Precautions Query this command directly on the cross connection unit.

Remarks ¡¡

Name cfg-get-condxc

Function To provide conditions for querying the cross connection.

CommandLevel System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-condxc:src-bid,src-pid,src-auid,dst-bid,dst-pid,dst-auid,xc-level

Number of parameters: 7; parameters not repetitive.

InputParameters

Parameterlocation Parameter meaning and value

1 Source Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.); 0 refers to all the source boards.

2 Source Pid: 1-X (Determine X according to the board type installed on this board.); 0 refers to all the optical ports.

3 Source high order PathId: 1-X (Determine X according to the type of the optical port.); 0 refers to all the high order paths.

4 Destination Bid: 1-8£¬11-16£¬17 (Slot17 is only supported by the cross capacity of 80G.); 0 refers to all the destinationboards.

5 Destination Pid: 1-X (Determin X according to the board type installed on this board.); 0 refers to all the optical ports.

6 Destination PathId: 1-X (Determine X according to the type of the optical port.); 0 refers to all the high order paths.

7 Value of XcLevel: vc4,vc4c,vc8c,vc16c,vc64c,vc12,vc3,au3,all-level

Output Format

ID : Cross connection IDSRC-BD : Source BidSRC-PORT : Source optical PidSRC-AU : Source high order PathIdSRC-TU : Source low order PathIdSRC-MAPAU : In bus ID of the orresponding low order cross connection chipDST-BD : Destination BidDST-PORT : Destination optical PidDST-AU : Destination high order PathIdDST-TU : Destination low order PathIdDST-MAPAU : Out bus ID of the orresponding low order cross connection chip (reserved; always 0)LEVEL : Cross connection levelSTATUS : Add/Delete operation status

Page 187 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 188: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 188/243

2.2.7 Query the cross connection low order services: cfg-get-bdlowxc

2.3 Linear Multiplex Section Commands

Example

:cfg-get-condxc:5,1,1,6,1,1,all-level

CROSS-CONNECTION

ID SRC-BD SRC-PORT SRC-AU SRC-TU SRC-MAPAU1 5 1 1 1 1DST-BD DST-PORT DST-AU DST-TU DST-MAPAU LEVEL STATUS6 1 1 1 0 vc12 activeTotal records :1

Precautions ¡¡

Remarks ¡¡

Name cfg-get-bdlowxc

Function Query the cross connection low order services.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-bdlowxc:txc-bid,in-au4bus,out-au4bus

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Bid of low order cross connection chip: Meaningless

2 Source bus (VC4) ID: 0-32 (0 refers to all source VC4¡¯ s.)

3 Destination bus (VC4) ID: 0-32 (0 refers to all destinationVC4¡¯ s.)

Output Format

Return the following relevant fields in the table format:ID : Low order service IDBID : Bid of low order cross connection chipSRC-MAPAU : Source bus IDSRC-TU : Source low order PathIdDST-MAPAU : Destination bus IDDST-TU : Destination low order PathIdLEVEL : XcLevel

Example

:cfg-get-bdlowxc:2,1,1

BDSIDE-LOW-XC

BID ID SRC-MAPAU SRC-TU DST-MAPAU DST-TU LEVEL2 1 1 1 1 1 vc3Total records :1

Precautions Query this command directly on the cross connection unit.

Remarks ¡¡

Page 188 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 189: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 189/243

2.3.1 Create a linear MSP Group: cfg-add-lmspg

2.3.2 Delete a linear MSP group: cfg-del-lmspg

Name cfg-add-lmspg

Function To create a linear MSP group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-add-lmspg:PgId,ProtType,WorkChnNum,RvtMode,OpMode

Number of parameters: 5; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1Protection Group ID:OSN 3500:1~40OSN 2500:1~12

2

Protection type:Value Meaning1j1 1+11pn 1:N

3 Number of working paths: 1£14

4

Revert mode:Value Meaningrvt Revert modenorvt Non-revert mode

5

Uni-/bi-directional mode:

Value Meaninguniend Uni-directional modebiend Bi-directional mode

Output Format ¡¡

Example :cfg-add-lmspg:1,1pn,1,rvt,biend

Precautions This command is used when the protection group does not exist, or when restoring the deleting operation.It is not allowed to use this command to creat multiple linear protection groups by repeating the parameters.

RemarksFor 1j1, you can choose the revert or non-revert mode, the uni-directional or bi-directional mode; while for 1pn, youmust choose the revert mode and the bi-directional mode. The protection group will be valid when the mappingconfiguration for all the optical port is completed.

Name cfg-del-lmspg

Function To delete a linear MSP group.

Command Level System maintenance

Available to User level

Page 189 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 190: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 190/243

2.3.3 Query all the linear MSP groups: cfg-get-lmspg

2.3.4 Set the waiting time for the linear MSP group recovery: cfg-set-lmsattrib

Version 5.21.01

Input Format:cfg-del-lmspg:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 protection group ID: 1~40

Output Format ¡¡

Example :cfg-del-lmspg:1&2

Precautions ¡¡

Remarks The deleting action is effective when the verification is performed successfully.

Name cfg-get-lmspg

Function To query all the linear MSP groups.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-lmspg

Number of parameters: 0; parameters not repetitive.

Output Format

Return the following relevant fields in the table format:PG-ID: Protection group IDPROT-TYPE : Protection typeWORK-CHN-NUM : Number of working pathsREVERT-MODE : Revert modeOP-MODE : Uni-directional/Bi-directional modeACTIVE-FLAG: Current status(adding/deleting/active) ¡¡

Example

:cfg-get-lmspg:

LMS-PROTECTION-GROUP PG-ID PROT-TYPE WORK-CHN-NUM REVERT-MODE OP-MODE ACTIVE-FLAG 1 1pn 3 rvt biend addingTotal records :1

Precautions ¡¡

Remarks

Name cfg-set-lmsattrib

Function To set the waiting time for the linear MSP group recovery.

Page 190 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 191: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 191/243

2.3.5 Query the waiting time for the linear MSP group recovery: cfg-get-lmsattrib

2.3.6 Set the signal degrading flag for the protection group: cfg-set-lmssdflag

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-lmsattrib:PgId, WtrTime

Number of parameters: 2; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~40

2 Waiting time for recovery: 6~720 second; the default valu600 seconds.

Output Format ¡¡

Example :cfg-set-lmsattrib:1, 300

Precautions ¡¡

Remarks This command supports modifying the active protection group.

Name cfg-get-lmsattrib

Function To query the waiting time for the linear MSP group recovery.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-lmsattrib:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~40

Output FormatReturn the following relevant fields in the table format:PG-ID : Protection group IDWTR-TIME : Waiting time for recovery

Example

:cfg-get-lmsattrib:1LMS-WTRTIME

PG-ID WTR-TIME1 300Total records :1

Precautions Return in the unit of second.

Remarks ¡¡

Page 191 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 192: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 192/243

2.3.7 Query the degrading flag of the protection group: cfg-get-lmssdflag

Name Cfg-set-lmssdflag

Function To set the signal degrading flag for the protection group.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-lmssdflag:PgId,EnableFlag

Number of parameters: 2; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID : 1~40

2

SD flag:Vlaue Meaningenable Enable the SD switchdisable Diable the SD switchDefault: enable

Output Format ¡¡

Example :cfg-set-lmssdflag:1&2&&5,enable

Precautions ¡¡

Remarks This command supports configuring the active protection group.

Name cfg-get-lmssdflag

Function To query the degrading flag of the protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-lmssdflag:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~40

Output Format

Return the following relevant fields in the table format:

PG-ID: Protection group IDSD-ENABLE : SD switch flag

Example

:cfg-get-lmssdflag:1LMS-SD-ENABLE

PG-ID SD-ENABLE1 enable

Page 192 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 193: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 193/243

2.3.8 Set the port mapping relationship of the linear MS protection unit: cfg-set-lmsbdmap

2.3.9 Query the port mapping relationship of the linear MS protection unit: cfg-get-lmsbdmap

Total records :1

Precautions ¡¡

Remarks ¡¡

Name Cfg-set-lmsbdmap

Function To set the port mapping relationship of the linear MS protection unit.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-lmsbdmap:PgId,PuId,Bid,Pid

Number of parameters: 4; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~40

2Protection unit ID: 0~14 (0~1 for the 1j1 LMS; 0~N for the1pn LMS; 0 is the protection unit, and others are workingunits.)

3 Board ID: 1-8, 11-16£¬17£¨80G XCS board£©; 1-8, 11-16£¨40G XCS board£© 

4 Port ID: 1-X (Determine X according to the board type

installed on this board.)

Output Format ¡¡

Example :cfg-set-lmsbdmap:1,0,5,1

Precautions The board must be installed before the configuration; pay attention to the board type and the optical port levemake sure the optical resources are available.

Remarks This command does not support configuring the active protection group. The added protection group is validwhen the mapping configuration of all the optical ports is completed.

Name cfg-get-lmsbdmap

Function To query the port mapping relationship of the linear MS protection unit.

Command Level System monitoring

Available to User level

Version 5.21.01

Page 193 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 194: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 194/243

Page 195: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 195/243

2.3.12 Initiate the external switchover command of the linear MSP group: cfg-set-lmsswitch

2.3.13 Query the switchover status of the linear MS protection group: cfg-get-lmsstate

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~40

Output Format ¡¡

Example :cfg-stop-lms:1&2

Precautions ¡¡

Remarks When excuting this command, the relevant protection group must be in the active status. The alarm of stoppithe MS protocol will be reported when this command is configured successfully.

Name cfg-set-lmsswitch

Function To initiate the external switchover command of the linear MSP group.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-lmsswitch:PgId,PuId,SwCmd

Number of parameters: 3; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~40

2 Protection unit ID: 0~14 (0~1 for the 1j1 LMS, and 0~N for the 1pn LMS.)

3

External switchover command types:value meaning

lms-lock Lock the protection channellms-unlock Unlock the protection channellms-force Force switchlms-forceclr Clear the force switchlms-man Manual switchlms-manclr Clear the manual switchlms-exer Exercise switchlms-exerclr Clear the exercise switch

Output Format ¡¡

Example :cfg-set-lmsswitch:1,1,lms-force

Precautions ¡¡

RemarksThe relevant protection group is in the active status. The lms-lock command applies to the protection channel only; thelms-force and lms-man commands can apply to both the working and protection channels; the lms-exer command applto the working channel only.

Page 195 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 196: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 196/243

Page 197: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 197/243

Page 198: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 198/243

Page 199: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 199/243

¡¡ 

2.3.19 Query the k2 mode of the linear MS protection group: cfg-get-lmsk2mode 

¡¡ 

2.3.20 Set the priority of the linear MS SF and SD in the K bytes: cfg-set-lmsklevel 

Input Parameters Parameter location Parameter meaning and value

¡¡ 1 Protection group ID: 1~40

¡¡ 2

Whether the last three bits of K2 indicate the uni-/bi-directiomode: value meaningindicate Indicate the uni-/bi-directional modenoindicate Not indicate the uni-/bi-directional mode

Defaule: noindicate

Output Format ¡¡

Example :cfg-set-lmsk2mode:1,indicate

Precautions ¡¡

Remarks ¡¡

Name cfg-get-lmsk2mode 

Function To query the k2 mode (whether the last three bits of k2 indicate the uni-/bi-directional mode) of the linear MSprotection group.

Command Level System operation

Available to  User level

Version 5.21.01

Input Format

:cfg-get-lmsk2mode:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters Parameter location Parameter meaning and value

¡¡ 1 Protection group ID: 1~40

Output Format Return the following relevant field:K2-MODE: Whether the last three bits of k2 indicate the uni-/bi-directionalmode.

Example :cfg-get-lmsk2mode:1K2-MODE : indicate

Precautions ¡¡

Remarks ¡¡

Name cfg-set- lmsklevel 

Function Set the priority of the linear MS SF and SD in the K bytes.

Page 199 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 200: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 200/243

Page 201: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 201/243

¡¡ 

2.4 Ring Multiplex Section Commands

2.4.1 Create a Ring MS protection group: cfg-add-rmspg

2.4.2 Delete a Ring MS protection group: cfg-del-rmspg

Name cfg-add-rmspg

Function To create a ring MS protection group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-add-rmspg:PgId,Type

Number of parameters: 2; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~12

2

Protection group types:value meaning2fbi Two fiber bidirectional ring2funi Two fiber unidirection ring4f Four fiber ring

Output Format ¡¡

Example :cfg-add-rmspg:1&2, 2fbi

Precautions This command is used when the protection does not exist or in restoring the deleting operation.

Remarks After adding the protection group, perform the verification when the mapping configuration for all the opticalports is completed; otherwise, error may occur.

Name cfg-del-rmspg

Function To delete a Ring MS protection group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-del-rmspg:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

Page 201 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 202: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 202/243

 

2.4.3 Query all the MS Ring protection groups: cfg-get-rmspg

2.4.4 Set the attributes of the MS ring protection group: cfg-set-rmsattrib

1 Protection group ID: 1~12

Output Format ¡¡

Example :cfg-del-rmspg:1&2

Precautions ¡¡

Remarks The deleting action becomes effective after the verification.

Name cfg-get-rmspg

Function To query all the MS ring protection groups.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rmspg

Number of parameters: 0; parameters not repetitive.

Output Format

Return the following relevant fields in the table format:PG-ID: Protection group IDTYPE : Protection group typeACTIVE-STATE: Protection group status (adding/deleteing/active)¡¡

Example

:cfg-get-rmspgMSSPR-PROTECTION-GROUP

PG-ID TYPE ACTIVE-STATUS1 2fbi adding2 2fbi addingTotal records :2

Precautions ¡¡

Remarks ¡¡

Name cfg-set-rmsattrib

Function To set the attributes of the MS ring protection group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format :cfg-set-rmsattrib:PgId, LocalNode, WestNode, EastNode, WtrTimeNumber of parameters: 5; parameter blocks repeated.

Page 202 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 203: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 203/243

2.4.5 Query the attributes of the MS ring protection group: cfg-get-rmsattrib

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~12

2 Local node ID: 0~15; the default is 1.

3West node ID: 0~15 (The old protocol node ID must beconsecutive, and the east node ID must larger than the wenode ID); the default is 0.

4East node ID: 0~15 (The old protocol node ID must beconsecutive, and the east node ID must larger than the wenode ID); the default is 2.

5 Waiting time for recovery: 6~720 seconds; the default is 60seconds.

Output Format ¡¡

Example :cfg-set-rmsattrib: 1, 2, 3, 4, 200

PrecautionsThe ID of the local, east and west nodes should be mutually different; the ID can be configured following certregularity; for example, to dynamically configure the attributes of the protection group in the clockwise directioto activate a protection group is taken as modification.

Remarks

Name cfg-get-rmsattrib

Function To query the attributes of the MS ring protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rmsattrib:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~12

Output Format

Return the following relevant fields in the table format:

PG-ID: Protection group IDLOCAL-NODEID : Local node IDWEST-NODEID : West node IDEAST-NODEID : East node IDWTR-TIME: Waiting time for recovery

Example

:cfg-get-rmsattrib:1MSSPR-PG-ATTRIBUTE

PG-ID LOCAL-NODEID WEST-NODEID EAST-NODEID WTR-TIME1 2 3 4 200Total records :1

Page 203 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 204: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 204/243

2.4.6 Set the degrading flag of the MS ring protection group: cfg-set-rmssdflag

2.4.7 Query the degrading flag of the MS ring protection group: cfg-get-rmssdflag

Precautions ¡¡

Remarks

Name cfg-set-rmssdflag

Function To set the degrading flag of the MS ring protection group.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-rmssdflag:PgId,Flag

Number of parameters: 2; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~12

2

SD flag: value meaningenable Enable the SD switchdisable Disable the SD switch

Default: enable

Output Format ¡¡

Example :cfg-set-rmssdflag:1&2,enable

Precautions ¡¡

Remarks

Name cfg-get-rmssdflag

Function To query the degrading flag of the MS ring protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rmssdflag:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~12

Return the following relevant fields in the table format:

Page 204 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 205: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 205/243

Page 206: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 206/243

2.4.9 Query the port mapping relationship of the MS ring protection unit: cfg-get-rmsbdmap

2.4.10 Start the MS ring protocol controller: cfg-start-rms

the latter half channels of the optical port currently in use.

Remarks This command does not support configuring the active protection group. After adding a protection group, perform tverification when the mapping configuration for all the optical ports is completed; otherwise, error may occur.

Name Cfg-get-rmsbdmap

Function To query the port mapping relationship of the MS ring protection unit.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rmsbdmap:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~12

Output Format

Return the following relevant fields in the table format:

PG-ID: Protection group IDPU-ID: Protection unit IDBOARD-ID : SDH board IDPORT-ID : Port IDAU4-MAP: AU4 utilization flag

Example

:cfg-get-rmsbdmap:1PG-ID PU-ID BOARD-ID PORT-ID AU4-MAP

1 west1 5 1 1&&8&16&&321 east1 5 1 1&&8&16&&32

Precautions ¡¡

Remarks Report the multiple protection units in various messages.

Name cfg-start-rms

Function To start the MS ring protocol controller.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-start-rms:PgId

Number of parameters: 1; parameter blocks repeated.

Parameter location Parameter meaning and value

Page 206 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 207: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 207/243

Page 208: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 208/243

Page 209: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 209/243

2.4.14 Query the event Logs of the MS ring protection group: cfg-get-rmsevent

2.4.15 Initialize the event logs of the MS switchover process: cfg-init-rmsevent

ExamplePG-ID WEST-SWREQ WEST-SWSTA WEST-SWFLAG EAST-SWREQ EAST-SWSTA EAST-SWFLAG 1 SF_R S ON SF_R IDLE OFFTotal records :1

Precautions ¡¡

Remarks The relevant protection group should have been started.

Name cfg-get-rmsevent

Function To query the event logs of the MS ring protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-rmsevent:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~12

Output Format

Return the following relevant fields in the table format:

PG-ID : Protection group IDEVENT-NO: Event No.EVENT-VALUE: Event valueEVENT-PARA: Event parameter

DATE-TIME: Date and timeTIME-STAMP: Time stamp

Example :cfg-get-rmsevent:1&2

Precautions ¡¡

Remarks ¡¡

Name cfg-init-rmsevent

Function To initialize the event logs of the MS switchover process.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-init-rmsevent:PgId

Number of parameters: 1; parameter blocks repeated.

Page 209 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 210: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 210/243

Page 211: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 211/243

Page 212: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 212/243

Page 213: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 213/243

2.4.22 Query the enabling flag of the MS ring service suppression: cfg-get-rmssquflag

2.4.23 Set the node configuration table for the whole MS ring: cfg-set-rmsnodemap

Version 5.21.01

Input Format:cfg-set-rmssquflag:PgId,Flag

Number of parameters: 2; parameter blocks repeated.

Input Parameters Parameter location Parameter meaning and value

¡¡ 1 Protection group ID: 1~12

¡¡ 2

Service suppression enabling flag:value meaningenable Enable the service suppressiondisable Disable the service suppressionDefault: enable

Output Format ¡¡

Example :cfg-set-rmssquflag:1,disable

Precautions ¡¡

Remarks ¡¡

Name cfg-get-rmssquflag

Function To query the enabling flag of the MS ring service suppression.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-get-rmssquflag:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters Parameter location Parameter meaning and value

¡¡ 1 Protection group ID: 1~12

Output Format Return the following relevant field:SQUELCH-ENABLE: Enabling flag of the MS ring service suppression

Example

:cfg-get-rmssquflag:1

MSSPR-SQUELCH-ENABLEPG-ID SQUELCH-ENABLE1 enable

Total records :1

Precautions ¡¡

Remarks

Page 213 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 214: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 214/243

Page 215: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 215/243

Page 216: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 216/243

2.4.26 Query the suppression service of the MS ring: cfg-get-rmsringmap

2.4.27 Delete the suppression service of the MS ring: cfg-del-rmsringmap

Name cfg-get-rmsringmap

Function To query the suppression service of the MS ring.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-get-rmsringmap:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters Parameter location Parameter meaning and value

¡¡ 1 Protection group ID: 1~12

Output Format

Return the following relevant fields:

PG-ID: Protection group IDDIR: Suppression service directionAU4ID: VC4PathIdSRC-NODE: Source node numberDST-NODE: Destination node numberLOWVC4-USED: Utilization flag of the low order service (currently unusable)

Example

:cfg-get-rmsringmap:1MSSPR-RINGMAP

PG-ID DIR AU4ID SRC-NODE DST-NODE LOWVC4-USED1 west 1 1 15 01 east 2 5 1 0Total records :2

Precautions ¡¡

Remarks

Name cfg-del-rmsringmap

Function To delete the suppression service of the MS ring. This command deletes only one designated suppressionservice.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-del-rmsringmap:PgId,Dir,Vc4Id

Number of parameters: 3; single parameter repetitive.

Input Parameters Parameter location Parameter meaning and value

1 Protection group ID: 1~12

Page 216 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 217: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 217/243

Page 218: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 218/243

2.5 SNCP Commands

2.5.1 Add an SNCP group: cfg-add-sncppg

2.5.2 Delete an SNCP group: cfg-del-sncppg

¡¡ 1 Protection group ID: 1~12

Output FormatReturn the following relevant fields:SQUELCH-STATUS: Service suppression status of the MS ring (suppress or not)NODE-STATUS: Node status (isolated or not)

Example

:cfg-get-rmssqustatus:1MSSPR-SQUELCH-STATUS

PG-ID SQUELCH-STATUS NODE-STATUS

1 NO-SQUELCH NO-LONETotal records :1

Precautions ¡¡

Remarks

Name cfg-add-sncppg

Function To add an SNCP group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-add-sncppg:PgId, RvtMode

Number of parameters: 2; parameters repeated.

Input Parameters

Parameter location Parameter meaning and value

1

Protection group ID: 1~1184

Parameters repeatitive; the max number of protection grouis 1184.

2 Revert mode: rvt or norvt

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-add-sncppg:1&2,rvt

Precautions Use this command when the protection group does not exist or when recoverying the deleting operation.

Remarks

Name cfg-del-sncppg

Function To delete an SNCP group.

Command Level System maintenance

Page 218 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 219: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 219/243

2.5.3 Query all the SNCP groups: cfg-get-sncppg

2.5.4 Set the revert mode and waiting time for recovery for the SNCP group: cfg-set-sncppgpa

Available to User level

Version 5.21.01

Input Format:cfg-del-sncppg:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1Protection group ID: 1~1184Parameters repetitive; the max number of protection groupis 1184.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-del-sncppg:1&2

Precautions

Remarks The deleting action becomes effective after the verification.

Name cfg-get-sncppgp

Function To query all the SNCP groups.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-sncppg

Output FormatPG-ID : Protection group IDREVERT-MODE : Revert modeACTIVE-FLAG : Current status (active/adding/deleting)

Example

:cfg-get-sncppgSNCP-PROTECTION-GROUP

PG-ID REVERT-MODE ACTIVE-FLAG1 rvt addingTotal records :1

Precautions

Remarks To query the ID, revert mode and activating status of all the protection groups.

Name cfg-set-sncppgpara 

Function To set the revert mode and waiting time for recovery for the SNCP group. 

Command Level System operation

Page 219 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 220: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 220/243

2.5.5 Query the revert mode and waiting time for recovery fot the SNCP group: cfg-get-sncppgpara

2.5.6 Set the port mapping relationship for the SNCP unit: cfg-set-sncpbdmap

Available to User level

Version 5.21.01

Input Format:cfg-set-sncppgpara:PgId£¬RvtMode £¬WtrTime

Number of parameters: 3; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~1184

2 Revrt mode: rvt or norvt

3 Waiting time for recovery: 6~720 seconds; the default is 60seconds.

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-sncppgpara:1&2,rvt,300

Precautions

Remarks

Name Cfg-get-sncppgpara

Function To query the revert mode and waiting time for recovery for the SNCP group. 

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-get-sncppgpara:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~1184¡£

Output Format

Return the following relevant fields in the table format:

PG-ID : Protection group IDREVERT-MODE : Revert modeWTR-TIME : Waiting time for recovery

Example :cfg-get-sncppgpara:PgId

Precautions

Remarks ¡¡

Page 220 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 221: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 221/243

Name cfg-set-sncpbdmap

Function To set the port mapping relationship for the SNCP unit.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-sncpbdmap:PgId,PuId,SrcBid,SrcPid,SrcAu4Id,SrcPath,DstBid,DstPid,DstAu4Id,DstPath,XcLevel

Number of parameters: 11; parameters not repetitive.

Input Parameters

Parameterlocation Parameter meaning and value

1 Protection group ID: 1~1184Parameters repetitive; the max number of protection groups is 1184.

2

Protection unit ID:Value Meaningwork Working unitbackup Protection unit

3 Source board ID: 1-8, 11-16£¬17 (80G XCS board)

4 Source port ID: 1-X (Determine X according to the board type.)

5 Source high order path ID: 1-X (Determine X according to the port level of this board type.)

6 Souce low order path ID: 1-X (Determine X according to the board type.)

7 Dest board ID: 1-8, 11-16£¬17 (80G XCS board)

8 Dest port ID: 1-X (Determine X according to the board type.)

9 Dest high order path ID: 1-X; determined by the optical port level; adopt 0 if the board is a tributary board.

10 Destination low order PathId: 1-63; determined by the board type; adopt 0 if the board is a tributary board.

11

Service level:

Value Meaningvc12 Commom vc12 trafficvc3 Common vc3 trafficvc4 Common VC4 trafficau4-4c Concatenation trafficau4-8c Concatenation trafficau4-16c Concatenation traffic

au4-64c Concatenation traffic

Output Format ¡¡

Example :cfg-set-sncpbdmap:1,work,5,1,4,0,6,1,2,0,vc4

Precautions Install the board before the configuration; pay attention to the board type and the optical port level; make sure the optical port resources areavailable.

Remarks It is necessary to send the cfg-verify command. Refer to the cfg-add-xc command (Create the cross connection) for setting the input from 3 t11.

Page 221 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 222: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 222/243

2.5.7 Query the port mapping relationship of the SNCP unit: cfg-get-sncpbdmap

2.5.8 Set the SNCP attributes: cfg-set-sncpattrib

Name cfg-get-sncpbdmap

Function To query the port mapping relationship of the SNCP unit.

Command

Level

System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-sncpbdmap:PgId

Number of parameters: 1; parameter blocks repeated.

InputParameters

Parameterlocation Parameter meaning and value

1 PgId: 1~1184

Parameters repetitive; the max number of protection groups is 1180.

Output Format

:cfg-get-sncpbdmap:1SNCP-PU-MAP

PG-ID PU-ID SRC-BID SRC-PID SRC-AU4 SRC-PATH DST-BID DST-PID DST-AU4 DST-PATH XC-LEVEL1 work 5 1 4 0 4 1 2 0 vc41 backup 2 1 1 0 4 1 2 0 vc4Total records :2

Example :cfg-get-sncpbdmap:1

Precautions

Remarks Report the multiple protection groups in various messages.

Name cfg-set-sncpattrib

Function To set the SNCP attributes.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-sncpattrib:PgId,PuId,OptCondition,DelayTime

Number of parameters: 4; parameter blocks repeated.

Parameter location Parameter meaning and value

1 Protection group ID: 1~1184Parameters repetitive; the max number of protection groups is 1180.

Protection unit ID:Value Meaning

Page 222 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 223: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 223/243

2.5.9 Query the attributes of the SNCP unit: cfg-get-sncpattrib

2.5.10 Initiate the SNCP external switchover command: cfg-set-sncpswitch

Input Parameters

2

work Working unitbackup Protection unitThe PP mode does not support setting separately the attributes of theworking and protection channels; reserve this parameter.

3Monitoring condition:SNCP: hpuneq, b3sd, hptim, b3excPP: lpslm, lpuneq, lptim, bipexc, bipsd

4 Holdoff time: 0~100; unit: 100ms; default: 0.The PP mode does not support setting the holdoff time; this parameterinvalid, and the host does not detect this parameter.

Output Format

Example :cfg-set-sncpattrib:1,work,hpuneq&b3sd&hptim&b3exc,100:cfg-set-sncpattrib:2,work,lpslm&bipexc,0

Precautions

Remarks Support the dynamic configuration. The PP mode does not support setting separately the attributes of the working aprotection channels; only the configured attributes of the working channel are valid.

Name cfg-get-sncpattrib

Function To query the attributes of the SNCP unit.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-sncpattrib:PgId,PuId

Number of parameters: 2; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1PgId: 1~1184

The max number of protection groups is 1180.

2 PuId: work or backup

Output Format

:cfg-get-sncpattrib:1,workPgId : 1PuId : workOpCondition: b3sdDelayTime : 100

Example :cfg-get-sncpattrib:1,work

Precautions The PP protection does not support the holdoff time; return 0.

Remarks

Page 223 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 224: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 224/243

2.5.11 Query the switchover status of the SNCP group: cfg-get-sncpstate

Name cfg-set-sncpswitch

Function To initiate the SNCP external switchover command.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-sncpswitch:PgId,ExtCmd,SwDir

Number of parameters: 3; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1PgId: 1~1184

The max number of protection groups is 1184.

2 ExtCmd: External switchover commandsncp-lock, sncp-clear, sncp-force

3SwDir: Switch directionw2p: Working to protectionp2w: Protection to work

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-sncpswitch:1,sncp-force,w2p

Precautions

Remarks

The relevant protection group is in the active status. In terms of the SNCP protection group configured with threvert mode, the switchover will fail if first switching it to the protection unit and then to the working unit usingforce or manual switchover; in terms of the SNCP protection group configured with the non-revert mode, the

clear command will becomes invalid after switching it to the protection unit using the force or manual switchoThe non-revert SNCP protection group is in the DNR status; therefore, the clear command does not work.

Name cfg-get-sncpstate

Function To query the switchover status of the SNCP group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-sncpstatus:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1PgId: 1~1184

The max number of protection groups is 1184.

Page 224 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 225: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 225/243

2.5.12 Query the SNC node information: cfg-get-sncinfo

2.5.13 Query the diversion of the SNC monitoring point: cfg-get-sncdivert

Output Format

:cfg-get-sncpstatus:1SNCP-SWITCH-STATUS

PG-ID SWITCH-SATAE1 sncp-idleTotal records :1

Example :cfg-get-sncpstatus:1

Precautions

Remarks

Name cfg-get-sncinfo

Function To query the SNC node information.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-sncinfo:Bid, PageNo, PgId, PuId

Number of parameters: 4; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Bid: 1-8, 11-16£¬17£¨80G XCS£© 

2Switchover page: 0~3 (0 for the current page; 1 for the east switchover page of the MSring; 2 for the west switchover page of the MS ring; 3 for the switchover page of the MSsegment.

3 PgId: 1~1184

4 PuId: work or backup

Output Format

:cfg-get-sncinfo:4,0,1,workSNC-INFO

BID PAGE-NO PG-ID PU-ID PID AU4ID SNC-ATTR DELAY-TIME SNC-STATUS 4 0 1 work 1 1 1 0 sncp-sfTotal records :1

Example :cfg-get-sncinfo:4,0,1,work

Precautions This command is delivered directly to the board. Therefore, the board should be in position.

Remarks This command applies to the SNCP high order protection only. There is no return when querying the PP protection groups.

Name cfg-get-sncdivert

Function To query the diversion of the SNC monitoring point.

Page 225 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 226: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 226/243

2.5.14 Enable reporting the SNCP switchover event: cfg-set-sncpreport

Command Level System monitoring

Available to Internal level

Version 5.21.01

Input Format:cfg-get-sncdivert:PgId

Number of parameters: 1

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~1184

Output Format

:cfg-get-sncdivert:4

SNC-DIVERT

PG-ID WORK-BID WORK-PID WORK-AU4ID WORK-STATUS BACK-BID BACK-PID BACK-AU4ID1 6 1 1 idle 7 1 1

BACK-STATUSIdle

Example

:cfg-get-sncdivert:4

SNC-DIVERT

PG-ID WORK-BID WORK-PID WORK-AU4ID WORK-STATUS BACK-BID BACK-PID BACK-AU4ID1 6 1 1 idle 7 1 1

BACK-STATUSIdle

Precautions ¡¡

Remarks This command applies to the SNCP high order protection only. There is no return when querying the PP

protection groups.

Name cfg-set-sncpreport

Function To enable reporting the SNCP switchover event.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-set-sncpreport: flagNumber of parameters: 1

Input Parameters

Parameter location Parameter meaning and value

1 flag: enable£¬disableDefault: enable

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Page 226 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 227: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 227/243

Page 228: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 228/243

2.5.17 Creat SNCP protection groups on the basis of common services: cfg-convert-xctosncp 

Input Parameters

3

value meaningsrcwork SNCP source working boardsrcbackup SNCP source protection boarddst SNCP destination boardany any board

4 XcLevel: vc12£¬vc3£¬vc4£¬au4-4c£¬au4-8c£¬au4-16c£¬au4-64c£¬all-level

Output Format

:cfg-get-condsncp:1,0,srcwork,all-levelPG-ID RVTMODE1 rvt2 rvt

Example :cfg-get-condsncp:1,0,srcwork,all-level

Precautions

Remarks

Name cfg-convert-xctosncp 

Function To create SNCP protection groups on the basis of common services.

Command Level System operation

Available to User level

Version 5.21.01

Input Format

:cfg-convert-xctosncp:XcId,SrcBid,SrcPid,SrcAu4Id,SrcTuId,DstBid,DstPid,DstAu4Id,DstTuId,XcLevel,PgId,ProtSrcBid,ProtSrcPid,ProtSrcAu4Id,ProtSrcTuId

Number of parameters: 15

Input Parameters

Parameterlocation Parameter meaning and value

1 XcId: Service ID, 1-3526

2 SrcBid: Source board ID corresponding to this service

3 SrcPid: Souce port ID corresponding to this service

4 SrcAu4Id: Source high order PathId corresponding to this service

5 SrcTuId: Source low order PathId corresponding to this service

6 DstBid: Destination Bid corresponding to this service

7 DstPid: Destination optical Pid corresponding to this service

8 DstAu4Id: Destination high order PathId corresponding to this service

9 DstTuId: Destination low order PathId corresponding to this service

10 XcLevel: XcLevel corresponding to this service

Page 228 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 229: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 229/243

Page 230: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 230/243

Page 231: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 231/243

2.5.21 Remove the protection group from the SNCP packet: cfg-remove-sncpbindpg

2.6 TPS Protection

2.6.1 Add a TPS protection group: cfg-add-tpspg

Name cfg-remove-sncpbindpg

Function To remove the protection group from the SNCP packet.

Command Level System operation

Available to User level

Version 5.21.01

Input Format :cfg-remove-sncpbindpg:GroupId, PgNum, PgId1, PgId2,...

Input Parameters

Parameterlocation Parameter meaning and value

1 GroupId: 1-1184

2 PgNum: Number of the protection groups to be removed; value range: 1-1184.

3 PgId: ID of the protection groups to be removed; value range: 1-1184

Output Format

Example :cfg-remove-sncpbindpg:1,3,2,1,2

Precautions

Remarks

Name Cfg-add-tpspg

Function To add a TPS protection group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-add-tpspg:PgId,WorkBdNum

Number of parameters: 2; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 protection group ID: 1~3

2Number of working unit: Determined by the protection type1~8 for the 2M service, and 1~3 for the 34M, 140M and 15services.

Page 231 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 232: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 232/243

2.6.2 Delete a TPS protection group: cfg-del-tpspg

2.6.3 Query all the TPS protection groups: cfg-get-tpspg

Output Format ¡¡

Example :cfg-add-tpspg:1,5

Precautions The protection group will be valid when the mapping configuration of all the boards is completed.

Remarks

Name cfg-del-tpspg

Function To delete a TPS protection group.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format :cfg-del-tpspg:PgIdNumber of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~3

Output Format ¡¡

Example :cfg-del-tpspg:1&2

Precautions ¡¡

Remarks The deleting action becomes effective after the verification.

Name cfg-get-tpspg

Function To query all the TPS protection groups.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-tpspg

Output Format

Return the following relevant fields in the table format:PG-ID: Protection group IDWORK-UNIT-NUM: Number of working unitACTIVE-FLAG: Current status flag

Example:cfg-get-tpspg

TPS-PROTECTION-GROUPPG-ID WORK-UNIT-NUM ACTIVE-FLAG

Page 232 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 233: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 233/243

Page 234: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 234/243

2.6.6 Set the mapping relationship between the TPS protection unit and the board: cfg-set-tpsbdmap

Output Format PG-ID: Protection group IDWTR-TIME: Waiting time for recovery

Example

:cfg-get-tpswtrtime:1CFG GET TPS WTRTIMEPG-ID WTR-TIME1 600

Total records :1

Precautions ¡¡

Remarks ¡¡

Name cfg-set-tpsbdmap

Function To set the mapping relationship between the TPS protection unit and the board.

Command Level System maintenance

Available to User level

Version 5.21.01

Input Format:cfg-set-tpsbdmap:PgId,PuId,Bid

Number of parameters: 3; parameters not repetitive.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~3

2

Protection unit ID:Value Meaning0 Protection unit board ID1~X Working unit board IDX is the number of working units specified when creating theprotection.

3

Board ID:Service type value3500:

2M 1~5 and 13~16(Pprotection unit board ID:specified to 1.)

140M/155M/34M 3~5(Protection unit board ID: 2) or 13~1(Protection unit board ID: 16)2500:

2M 5~7 and 12~13(Protection unit board ID: 5)140M/155M/34M 6~7(Protection unit board ID: 6) or 12~1(Protection unit board ID: 13)

Output Format ¡¡

Example :cfg-set-tpsbdmap:1,0,1

Precautions 1

Remarks Not support dynamic configuration; the added protection group become valid when the mapping configuration fall boards is completed.

Page 234 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 235: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 235/243

2.6.7 Query the mapping relationship between the TPS protection unit and the board: cfg-get-tpsbdmap

2.6.8 Set the switchover priority for the TPS protection unit: cfg-set-tpspri

Name cfg-get-tpsbdmap

Function To query the mapping relationship between the TPS protection unit and the board.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-tpsbdmap:PgId

Number of parameters: 1; parameter blocks repeated.

Input ParametersParameter location Parameter meaning and value

1 Protection group ID: 1~3

Output FormatPG-ID: Protection group IDPU-ID: Protection unit IDBid: Board ID

Example

:cfg-get-tpsbdmap:1TPS-PUMAP

PG-ID PU-ID Bid1 0 11 1 21 2 31 3 41 4 51 5 131 6 14

1 7 151 8 16Total records :9

Precautions ¡¡

Remarks Report the multiple protection units in various messages.

Name cfg-set-tpspri

Function To set the switchover priority for the TPS protection unit.

Command Level System operation

Available to User level

Version 5.21.01

Input Format:cfg-set-tpspri:PgId,PuId,Priority

Number of parameters: 3; parameter blocks repeated.

Parameter location Parameter meaning and value

Page 235 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 236: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 236/243

2.6.9 Query the switchover priority of the TPS protection unit: cfg-get-tpspri

2.6.10 Initiate the TPS external switchover command: cfg-set-tpsswitch

Input Parameters

1 Protection group ID: 1~3

2

Protection unit ID:Value Meaning

1~X Working unitX is the number of working units specified when creating the protection.

3 Switchover priority: 1~X; the highest priority is 1; the default is 1.

Output Format ¡¡

Example :cfg-set-tpspri:1,1,5

Precautions

Remarks Support the dynamic configuration.

Name cfg-get-tpspri

Function To query the switchover priority of the TPS protection unit.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-get-tpspri:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection group ID: 1~3

Output FormatPG-ID : Protection group IDPU-ID : Protection unit IDPU-LEVEL: Switchover priority

Example

:cfg-get-tpspri:1TPS-PU-LEVEL

PG-ID PU-ID PU-LEVEL1 1 11 2 11 3 11 4 11 5 11 6 11 7 11 8 1

Total records :8 ¡¡

Precautions ¡¡

Remarks ¡¡

Page 236 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 237: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 237/243

Page 238: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 238/243

Page 239: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 239/243

Page 240: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 240/243

2.7.2 Initiate the DPS external switchover command: cfg-set-dpsswitch

Available to User level

Version 5.21.01

Input Format:cfg-get-dpspg:PgId

Number of parameters: 1; parameter blocks repeated.

Input Parameters

Parameter location Parameter meaning and value

1 Protection Group ID: 0~2

Output Format

PG-ID: Protection Group IDBOARD-NO1:OSN3500: 9 or 10 (Protection group ID: 1); 17 or 18 (Protection group ID: 2)OSN2500: 80 or 81 (Protection group ID: 1); 82 or 83 (Protection group ID: 2)BOARD-NO2:OSN3500: 9 or 10 (Protection group ID: 1); 17 or 18 (Protection group ID: 2)OSN2500: 80 or 81 (Protection group ID: 1); 82 or 83 (Protection group ID: 2)PROT-TYPE: Protection typeFUNCTION-TYPE: Function typeACTIVE-FLAG: adding or deleting or active

Example

:cfg-get-dpspg:1 DPS-PROTECTION-GROUPPG-ID BOARD-NO1 BOARD-NO2 PROT-TYPE FUNCTION-TYPE ACTIVE-FLAG1 9 10 xcs dps-vc4 active

Total records :1

Precautions ¡¡

RemarksThe OSN 3500 DPS protection management module supports two protection groups: the XCS active-standbyprotection group and the SCC active-standby protection group. These protection groups are createdautomatically by the system, with the ID is respectively 1 and 2. This command supports full-scale query.

Name cfg-set-dpsswitch

Function To initiate the DPS external switchover command.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format:cfg-set-dpsswitch:PgId,DstBid

Number of parameters: 1

Input Parameters

Parameter location Parameter meaning and value

1 Protection Group ID: 1~2

2

Destination board ID:OSN3500: 9 or 10 (Protection group ID: 1); 17 or 18(Protection group ID: 2)OSN2500: 80 or 81 (Protection group ID: 1); 82 or 83(Protection group ID: 2)

Page 240 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 241: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 241/243

Page 242: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 242/243

2.7.5 Query the switchover revert mode of the DPS protection group: cfg-get-dpsrvtmode

2.7.6 Query the switching times of the DPS protection group: cfg-get-dpsswitchtimes

3Waiting time for recovery: 6~720 (in the rvt mode); 0 (in thenorvt mode)Default: 0; unit: second

Output Format Return the ¡°Succeeded!¡± or ¡°Failed!¡± message.

Example :cfg-set-dpsrvtmode:1,rvt,300

Precautions

Remarks Only the XC active-standby protection supports this command.

Name cfg-get-dpsrvtmode

Function To query the switchover revert mode of the DPS protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-dpsrvtmode:PgIdNumber of parameters: 1

Input ParametersParameter location Parameter meaning and value

1 PgId: Protection Group ID, 1

Output Format

:cfg-get-dpsrvtmode:1DPS-RVT-MODEPG-ID RVT-MODE WTR-TIME

1 norvt 0Total records :1 e

Example :cfg-get-dpsrvtmode:1

Precautions

Remarks Only the XC active-standby protection supports this command.

Name cfg-get-dpsswitchtimes

Function To query the switching times of the DPS protection group.

Command Level System monitoring

Available to User level

Version 5.21.01

Input Format :cfg-get-dpsswitchtimes:PgIdNumber of parameters: 1

Page 242 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference

9/25/2file://D:\CD\Technical Document\trshome\temp\trs_tmp30_24576.htm

Page 243: Nesoft Configuration Command Line Reference (1)

7/30/2019 Nesoft Configuration Command Line Reference (1)

http://slidepdf.com/reader/full/nesoft-configuration-command-line-reference-1 243/243

Input ParametersParameter location Parameter meaning and value

1 Protection Group ID: 1~2

Output Format

:cfg-get-dpsswitchtimes:1DPS-SWITCH-TIMESPG-ID SWITCH-TIMES1 0Total records :1

Example :cfg-get-dpsswitchtimes:1

Precautions

Page 243 ofOptiX OSN3500&2500 V100R001 Nesoft Configuration Command Line Reference