Professional Documents
Culture Documents
Page 2
Tips
This course explains Chapter 1 and Chapter 2 in
Page 3
References
OptiX OSN 1500/2500/3500 Intelligent Optical
Page 4
Page 5
Page 6
- Easy
- Powerful
HUAWEI TECHNOLOGIES CO., LTD.
Page 7
Application
Equipment of earlier versions
OptiX 155/622, OptiX OSN 2500
V4.0
V5.0
Page 8
Page 9
lines.
Issues a batch file.
Upgrades software of the SCC
Navigator window
Page 10
%cmdterm
Page 11
Page 12
Page 13
Run the cmdclient.exe in the \T2000\cmdclient\ path and log in to the cmdclient.
Compared with the Navigator and cmdterm, the cmdclient has the following features:
Is under the control of the T2000 server.
Can create and edit a remote maintenance report.
Cannot download software of the SCC and other boards.
Page 14
Page 15
Page 16
Module
Operation
get: to query an object
add: to add an object
set: to set an object
del: to delete an object
reset: to reset an object
Example: alm-get-curdata:0,0;
All rights reserved
Page 17
command:
:help
To retrieve data by keywords, run a command in the following format:
Page 18
Page 19
5.
:cfg-add-board:9&10,ssn1gxcsa:1&2,ssn1pq1:16&15,ssn1sep;
:cfg-add-board:17&18,ssn1nscc:8&11,ssn2sl64;
:cfg-add-board:19&20,ssn1d75s:33,ssn1eu04:35,ssn1tsb4;
//To add interface boards
6.
//Clock configuration
:cfg-set-synclass:9,3,0x0801,0x0b01,0xf101;
Page 20
//Orderwire configuration
:cfg-set-telnum:37,1,101; //To set an addressing call number
:cfg-set-meetnum:37,999; //To set a conference call number
:cfg-set-reqtime:37,5; //To set call-waiting time
:cfg-set-lineused:37,8,1,used; //To set the optical interface for the order wire service
:cfg-set-meetlineused:37,8,1,used; //To set the optical interface for the conference call
8.
//Service configuration
:cfg-add-xc:0,15,1,1,0,8,1,1,0,vc4;
:cfg-add-xc:0,8,1,1,0,15,1,1,0,vc4;
:cfg-add-xc:0,2,1&&32,0,0,8,1,2,1&&32,vc12;
:cfg-add-xc:0,8,1,2,1&&32,2,1&&32,0,0,vc12;
9.
:cfg-verify;
Page 21
Batch File
1. To log in to an NE
#1:login:"szhw","nesoft";
NOTE
In V5.0, the command line software rejects the user and returns
NSERR_SM_LOGIN_ALREADY when szhw already logs in to the NE.
To forcedly log in, run the following command:
#1:lognew:"szhw","nesoft";
Page 22
Batch File
2. To end performance monitoring
:per-set-endtime:15m,1990@0@0@0@0@0;
:per-set-endtime:24h,1990@0@0@0@0@0;
Function:
These commands end performance monitoring and ensure that configuration rate and data
are properly sent to an NE.
Parameter description:
15m: Performance monitoring at the period of 15 minutes
24h: Performance monitoring at the period of 24 hours
1990@0@0@0@0@0: End time of performance monitoring. End performance
monitoring as required. To end performance monitoring immediately, set the end time
to 1990@0@0@0@0@0.
HUAWEI TECHNOLOGIES CO., LTD.
Page 23
Batch File
3. To initialize an NE
:cfg-init-all;
Function:
This command initializes an NE to clear all original data from the NE. In
this way, the original data does not affect the coming configurations.
Initialize the NE before you configure an NE.
Page 24
Batch File
4. To set NE parameters
:cfg-set-devicetype:OptiXOsn3500,standard; //case-senstive
:cfg-set-nename:64,OSN 3500 example; //The assignment 64 indicates
the length of the NE name.
:cfg-set-nepositon:1109 room; //This command is optional.
Page 25
Batch File
5. To add boards
:cfg-add-board:9&10,ssn1gxcsa:1&2&3,ssn1pq1;
:cfg-add-board:15&16,ssn1sep:8&11,ssn2sl64;
:cfg-add-board:19&&22,ssn1d75s:33,ssn1eu04:35,ssn1tsb4;
Notes:
1. Enter proper slot numbers and board names.
2. Precede a board name with ssn1 or ssn2 to indicate whether the board is in
series N1 or N2. For example, ssn1gxcsa. For details, see the board number.
Page 26
Batch File
Precautions:
The active SCC is created by default and cannot be deleted. The standby SCC can be manually added or deleted.
An interface board can be added only when its mapping processing board is added.
By default, the PIU, FAN, and AUX/SAP boards are automatically added rather than manually installed.
Page 27
Batch File
6. To set clock parameters
:cfg-set-synclass:Bid,SyncNum,Sync1,Sync2,;
For example,
:cfg-set-synclass:9,4,0xf001,0x0801,0x0b01,0xf101;
Parameter
Bid
Description
ID of the cross-connect clock board
Value range: 9 or 10
SyncNum
Sync1/Sync2
Page 28
Batch File
For example,
:cfg-set-synclass:9,4,0xf001,0x0801,0x0b01,0xf101;
There
are four clock sources. Each clock source is numbered in double-byte hexadecimal.
The less significant byte indicates the number of an optical interface. The optical interfaces
are numbered from 1 on.
The
Notes:
Ensure
End
that each line board indicated by the more significant byte is already installed.
the clock source priority table with the internal clock source.
Page 29
Batch File
7.
Page 30
Batch File
To add a VC4 service connection, which runs from VC4 1 on optical
interface 1 of slot 15 (source) to VC4 1 on optical interface 1 of slot 8 (sink)
:cfg-add-xc:0,15,1,1,0,8,1,1,0,vc4;
:cfg-add-xc:0,8,1,1,0,15,1,1,0,vc4;
:cfg-add-xc:0,2,1&&32,0,0,8,1,2,1&&32,vc12;
:cfg-add-xc:0,8,1,2,1&&32,2,1&&32,0,0,vc12;
NOTE
1. Add bidirectional service connections in pairs.
2. Precede each command with comments.
3. In the case of a service terminated at the local site //local site
peer site
4. In the case of a pass-through service //source site sink site
pass through
HUAWEI TECHNOLOGIES CO., LTD.
Page 31
Batch File
9.
Page 32
Batch File
10.
Function:
This command checks whether configurations are successfully issued. If
the NE is in the running state, the configurations are successfully issued.
If the NE is in the installing state, the configurations fail to be delivered.
Page 33
Batch File
11.
Page 34
Question
Explain the following statements:
#1:lognew:"szhw","nesoft";
:per-set-endtime:15m,1990@0@0@0@0@0;
:per-set-endtime:24h,1990@0@0@0@0@0;
:cfg-init-all;
:cfg-set-devicetype:OptiXOsn3500,standard;
:cfg-set-nename:64,"NE1";
:cfg-add-board:9&10,ssn1gxcsa:1,ssn1sep1:7,ssn1sl16:17&18,ssn1nscc;
:cfg-set-synclass:9,1,0xf101;
:cfg-set-telnum:37,1,101;
:cfg-set-meetnum:37,999;
:cfg-set-reqtime:37,5;
:cfg-set-lineused:37,7,1,used;
:cfg-set-meetlineused:37,7,1,used;
:cfg-add-xc:0,7,1,1,0,1,1,1,0,vc4;
:cfg-add-xc:0,1,1,1,0,7,1,1,0,vc4;
:cfg-verify;
HUAWEI TECHNOLOGIES CO., LTD.
Page 35
Page 36
Common Commands
Configuration query
Example:
:cfg-get-nestate;
//To query the state of an NE
After verification, an NE must be in the running state rather than in the installing state.
:cfg-get-xc:0,0;
//To query all current cross-connections
:cfg-get-xc:0,5;
//To query all cross-connections terminated at slot 5
HUAWEI TECHNOLOGIES CO., LTD.
Page 37
Common Commands
Other queries
:cfg-get-devicetype
Page 38
Common Commands
Alarm query
To query a current alarm
alm-get-curdata:para1,para2;
Parameter description:
Example:
:alm-get-curdata:0,0;
//To query all current alarms reported by all boards
:alm-get-curdata:11,0;
//To query all current alarms reported by board 11.
HUAWEI TECHNOLOGIES CO., LTD.
Page 39
Common Commands
Alarm query
To query a history alarm
:alm-get-hisdata:para1,para2;
Parameter description:
Example:
:alm-get-hisdata:0,0;
//To query all history alarms reported by all boards
Page 40
Common Commands
Performance monitoring
:set-date:2002-1-1;
//To set the date of an NE
:set-time:12*00*00;
//To set the time of an NE
:per-set-monevent:0,0,0,0,perall,15m,enable;
//To set a performance event to monitor
Page 41
Common Commands
Performance monitoring
:per-set-autorep:0,0,0,0,perall,15m(24h),disable;
//To disable reporting a performance event automatically
:per-set-starttime:15m,2005@1@2@3@4@5;
//To set the start time of the performance monitoring at the period of 15
minutes performance
:per-set-starttime:24h,2005@1@2@3@4@5;
//To set the start time of the performance monitoring at the period of 24
hours
Page 42
Common Commands
User management
:login:"zhang","pass_word";
//To log in to an NE as zhang
:lognew:"zhang","pass_word";
//To forcedly log in to an NE as zhang
:sm-add-user:"user1","my_pass","every",enable;
//To add a user
Page 43
Common Commands
User management
:sm-get-alluser;
//To query all users
:sm-get-curuser;
//To query the current user
:logout;
//To log out of an NE
Page 44
Common Commands
ECC command
:cm-set-lanautoecc:open;
//To automatically extend an ECC
:cm-get-eccroute;
//To query an ECC route
:cm-get-chanerror;
//To query an ECC error
:cm-get-bdinfo;
//To query ECC status on an optical interface of an optical interface board
:cm-get-fiberport:bid,portnum;
//To query the state of an optical interface in an optical interface board, including DCC rate
Page 45
Common Commands
Board reset
:cfg-reset-board:Bid, resetmode
Parameter description:
Bid: ID of a board
resetmode: Mode of reset
- Hard, a cold reset
- Soft, a warm reset
NOTE
A cold reset is thorough but interrupts services.
A warm reset protects services from interruption but is not thorough.
NE reset
:reset;
:sys-get-nesoftver;
//To query the software version of an NE
Page 46
Questions
What does a command line configuration file consist of?
used?
Page 47
Thanks!
www.huawei.com