Anda di halaman 1dari 47

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Chapter 4 4.01 & 4.05 Command Line List


4.1 User management type
4.1.1 User login
Format
Parameter
Example of
output
window

:login:id,password
id
user ID
password
the password of the user
:login:1,"nesoft";
szhw>
Remarks: Is the user name , szhw> or root> and so on.

4.1.2 User logout


Format

:logout

Parameter

Null
:logout

Example
of output
window

LOGOUT EVENT
USER-NAME
szhw
>
Will show you the users that have been logged out.

4.1.3 Browse the user database


Format
Parameter

Example
of output
window

:um-get-users:user name;
:um-get-users;

OptiX2500+ may omit the user name

user name
Character string type, max length is 8
:um-get-users;
USERS
USER-ID USER-NAME USER-PRIORITY
1
szhw
253
2
root
63
Total records :2
:um-get-users:"szhw":"root";
USER
SUSER-ID USER-NAME USER-PRIORITY
1
szhw
253
Total records :1
USERS
USER-ID USER-NAME USER-PRIORITY
2
root
63
Total records :1

1-4-1

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.1.4 Add user


Format
Parameter
Example

of output
window

:um-add-user:name,id,password,priority;
name
User name character string its maximum length is 8
id
ID number, digit
password
User password, character string, its maximum length is 8
priority
Level, digit, the maximum value is 63, but it cannot be 0
:um-add-user:"root",63,"password",2;
szhw>
:um-add-user:"user",3,"sdh",48;
szhw>
Remarks that the user name and ID number cannot repeat.

4.1.5 Delete a specified user


Format
Parameter
Example
output
window

:um-del-user:user name;
user name
Character string type, max length is 8
:um-del-user:root
szhw>

4.1.6 Browse the user list


Format
Parameter

Example

of output
window

:um-get-alluser;
Null
:um-get-alluser
USER-ID
1
2
3
4
5
Total records :5

USERS
USER-NAME USER-PRIORITY
szhw
253
root
63
honet
63
saiful
48
sdh
63

4.1.7 Edit user


Format
Parameter

Example

of output
window

:um-edit-user:user=username,edititem=editvalue;
username
string, max length is 8
edititem : name, password, priority; editvlaue: ( name : string, max length is
editvalue
8
password : string, max length is 8, priority: figure, from 0 to 63 not 0).
:um-edit-user:user="szhw",password="nesoft";
szhw>
:um-edit-user:user="root",priority=62;
szhw>
Able to change the password of users who have a lower level.

4.1.8 Browse the logging user table


Format
Parameter
Example
of output
window

:um-get-loginuser;
Null
:um-get-loginuser;
LOGIN USERS
USER-NAME USER-ID TYPE
TERMINAL

1-4-2

DURATION LOGINTIME

OptiX High-level Training Manual


LOCK
szhw
1
sdh
5
Total records :2

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

f&F
net

0x20090004 10
0x74090002 0

4.1.9 Force the specified user to quit


Format
Parameter
Example
of output
window

:quit:username;
username
string, max length is 8
: quit:"sdh";
LOGOUT EVENT
USER-NAME

4.1.10 Automatically quit the parameter setting


Format
Parameter
Example
of output
window

:um-set-autoquittime: timevalue;
timevalue
Figure max 10000
:um-set-autoquittime:10;
#21:szhw>

4.2 Configuration management type


4.2.1 Set/Query date
Format
Parameter
Example
of output
window

:date:datevalue; / :get-date; / :date;


datevalue
year-month-date
:date;
Current date is : 2002-1-5
#21:szhw>
:get-date; OptiX2500+
Current date is : 2002-1-5
#21:szhw>

4.2.2 Query current state of NE


Format
Parameter
Example
of output
window

:cfg-get-nestate;
Null
:cfg-get-nestate;
NE STATE : running
#21:szhw>

4.2.3 Set/Query time


Format
Parameter
Example
of output
window

:time: timevalue; / :get-time; / :time;


timevalue
hour*minute*second ,"Second" can be ignored
:time:12*3;
#21:szhw>
:time;
Current time is : 15:42:16
#21:szhw>
:get-time; OptiX2500+

1-4-3

2002-1-5 10:14:47
2001-11-22 8:23:50

0
0

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Current time is : 15:45:8


#21:szhw>

4.2.4 Configuration checkout or change configuration


Format
Parameter

Example
of output
window

:cfg-checkout; / :cfg-change;
Null
:cfg-checkout;
CFG VERIFY EVENT
SCC BID RESULT
15
0
PHYSIC_LAYER_VERIFYCHANGE_SUCCESS
#21:szhw>
#21:szhw>
:cfg-change;
CFG VERIFY EVENT
SCC BID ERROR
17
0
PHYSIC_LAYER_VERIFYCHANGE_SUCCES
szhw>
szhw>

4.2.5 Initialize the NE


Format
Parameter
Example
of output
window

:cfg-init<sysall>;
Null
:cfg-init<sysall>;
szhw>

4.2.6 Configure/Query parameters of physical NE


Format

Parameter

Example
of output
window

:cfg-set-nepara:nename="name":gne=true:device=sbs622; / :cfg-get-nepara;
nename
string, the maximum length is 16
device
bp_type

sbs2500+, sbs622 or sbs155a


OptiX2500+ : enhance OptiX155/622 : type1, type2,type3

gne
Gateway NE true or false:
:cfg-get-nepara;
DEVICE TYPE : sbs2500+
SHELF TYPE : enhance
GNE
: true
NE NAME
: NE21

4.2.7 Install/Dismantle/Query physical board


Format
Parameter

:cfg-create-board:bid,bdtype; / :cfg-del-board:bid,bdtype; / :cfg-get-board;


bid
OptiX2500+,from 1~19 ,OptiX155/622 from 1 to 23
bdtype
OptiX2500+:
pd1,pq1,pl3,pm1,sd1,sq1,sl4,sd4,s16,sde,sde2,sqe,scc,xcs,pmu,ba2,bpa,eip
c;
OptiX155/622:
pl1,pl3,pl4,sl1,sl4,stg,sle,sl2,se2,gtc,ohp2,pd1
OptiX155/622H:
sp1s,sp1d,sm1s,sm1d,hp2s,hp2d,pd2s,pd2d,pd2t,x42,stg,ohp2,oi2s,oi2d,oi4

1-4-4

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

,sb2l,sb2r,sb2d,pm2s,pm2d,pm2t,emu
:cfg-create-board:1&3,pd1:4,sd4:7,xcs:15,scc;
szhw>
:cfg-del-board:1,pd1;
szhw>
:cfg-get-board;
BOARDS
BID BDTYPE
1
pq1
5
s16
7
xcs
15
scc
19
pmu
Total records :5
#21:szhw>

4.2.8 Query the state of NE board


Format
Parameter

Example
of output
window

:cfg-get-bdstate;
Null
:cfg-get-bdstate;
0xa9 0x01 0x00 0x00 0xa8 0x01 0x00 0x00 0xa0 0x01 0xa0 0x01 0xa5 0x01 0xa5
0x01
0xaa 0x01 0xaa 0x01 0xa2 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0xa6 0x01
0xa7 0x01
0xad 0x01 0x00 0x00 0x2c 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
Total records :1
#21:szhw>
The return value in hex. Code, the first 2bytes are the board type, the last2bytes 00
means that the board is not in the place 01 means the board is in the place.

1-4-5

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.9 Query the board version OptiX2500+


Format
Parameter

Example
of output
window

:cfg-get-bdversion:bid;
bid
from 1~19
:cfg-get-bdversion:1:5;
BOARD VERSION
BID BDTYPE
RVER DVER
1
pq1
0x02 0x0b
Total records :1
#21:szhw>
BOARD VERSION
BID BDTYPE
RVER DVER
5
s16
0x02 0x0b
Total records :1
#21:szhw>

HVER INST
0x12 true

HVER INST
0x23 true

4.2.10 Configure/Query the active/standby relation of XCS board OptiX2500+


Format

:cfg-set-workback:mode,workbid,backbid; / :cfg-get-workback;
mode

Parameter

Example
of output
window

workbid

reserve para, temporary value is 0


7 or 8

backbid
7 or 8, 0 is no back xc
:cfg-get-workback:0,7,8;
#21:szhw>
:cfg-get-workback;
BD WORK/BACK
BDMODE WORK-BID BACK-BID
0
7
8
Total records :1
#21:szhw>
The active/standby slot, which has been configured, must be plugged in.

4.2.11 Create/Delete/Query the logic system


Format
parameter

Example
of output
window

:cfg-create-lgcsys:sysnum; / :cfg-del-lgcsys:sysnum; / :cfg-get-lgcsys;


sysnum
OptiX2500+: from sys1 to sys48; OptiX155/622(H): from sys1 to sys18
:cfg-create-lgcsys:sys1&&ys3;
szhw>
:cfg-get-lgcsys;
LOGIC SYS : sys1
sys2
sys3
Total records :3
szhw>
When you delete the logic system, you must confirm that no service carrying in this logic
system.

1-4-6

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.12 Configure the name of logic system


Format
Parameter
Example
of output
window

:cfg-set-sysname<sysnum>:systemname;
sysnum
OptiX2500+ from sys1~sys48,OptiX155/622(H) from sys1~sys18
systemname
string, max length is 16

:cfg-set-sysname<sys1>: "sys1";
szhw>

4.2.13 Configure/Query the attribute of the logic system


Format

Parameter

:cfg-set-attrib:type:stmlevel:netmode:fiber:dir:protect:nodetype / :cfg-getattrib<sysall>;
type
adm, tm or reg.
stmlevel
155, 622 or 2500
nemode
Ring or line
fiber
2f or 4f
dir
uni or bi
protect
pp, nopr, msp or sncp
nodetype
pri, sec or idp
:cfg-set-attrib<sys1>adm:622:ring:2f:bi:msp:idp;
#21:szhw>
:cfg-get-attrib<sysall>;
SYSTEMATTRIBUTE
SYSNUM TYPE STMLEVEL XCLEVEL NETMODE FIBER DIR PROTECT NODETYPE SYSNAME

Example
of output
window

sys1
adm 622
ring
2f
uni pp
idp
Sys-01
sys2
tm 155
line
2f
bi nopr
idp
Sys-02
sys3
tm 155
line
2f
bi nopr
idp
Sys-03
szhw>
Remarks: If the protection mode is msp, the configuration must be ring, adm, for pp, it must
be adm, ring, 2f;if the device type is tm, the configuration must be 2f, line, nopr; if using 4f,
the configuration must be bi, ring, msp, adm; if device grade is 155, msp, the configuration
must be msp, uni; if the topology is ring, the device type must be adm.
For linear MSP ,the logic system should be configured as nopr; when requiring the
information, the name of logic system is the return which can be regarded as the attribute of
logic system;

4.2.14 Partition of the logic system


Format

Parameter

Example
of output
window

:cfg-set-gutumap<sysnum>:vc4num,bid,bdtype,pathnum;
sysnum
OptiX2500+: sys1~sys48 OptiX155/622: sys1~sys18
OptiX2500+: west, g1wall or east, g1eall for PDH t1p1~t8p1
Vc4num
OptiX155/622:gw1&&gw4 for PDH t1~t8
bid
Slot number
bdtype
Board type
Optical port number/path number
pathnum
For optical port partition means the port number inside the board; for VC4
partition means the VC4 number inside the board; for PDH board is 0;
:cfg-set-gutumap<sys1>:g1w1,3,sd1,1;
#21:szhw>
:cfg-set-gutumap<sys2>:g1eall,4,sd4,2;
#21:szhw>
:cfg-set-gutumap<sys1>:t1,1,pd1,0;

1-4-7

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

szhw>
Remarks: Optical port partition is equivalent to the VC4 partition of the entire path in optical
port.

4.2.15 Query the logic partition of NE slot


Format
Parameter

Example
of output
window

:cfg-get-logicbd<sysall>;
Null
:cfg-get-logicbd<sys1>;
BD DEVIDE
SYSNUM
MEMBER
BID BDTYPE
sys1
g1wall
5
s16
sys1
g1eall
6
s16
sys1
t1p1
1
pq1
sys1
t3p1
3
pl3
Total records :4
#21:szhw>

PATH-NUM
0x01
0x01
0x00
0x00

4.2.16 Configure/Query the relationship of linear MS


Configure

Format

Parameter

Example
of output
window

OptiX2500+:
:cfg-setsysrelation:lpsid,sysrelation,sysback&syswork,revertive,swdirection;
OptiX155/622:
:cfg-set-sysrelation:lps_id,sysback,syswork,sysrelation;
Query
:cfg-get-sysrelation; OptiX2500+
lps_id
OptiX2500+: id1~id12 OptiX155/622: id1~id8
sysrelation
1+1 or 1pn, n=1 to 14 for OptiX155/622 1+1 or 1p1
sysback
OptiX155/622: sys1~sys8 OptiX2500+ sysnum
syswork
OptiX2500+ array of sysnum, max is 14 systems OptiX255/622 sys1~sys8
revertive
true or false
swdirection
uniend or biend
:cfg-set-sysrelation:id1,1+1,sys1&sys2,true,biend;
#21:szhw>
:cfg-get-sysrelation;
LPS SYS RELATION
LPSID
MODE
RECOVER MODE SW DIRECTION LOGICSYS
id1
1+1
true
biend
sys1 sys2 nosys
Total records :
#21:szhw>

4.2.17 Configure/delete/Query the service


Format

Configure

Delete

:cfg-createvc12:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
:cfg-createvc3:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
:cfg-createvc4:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
:cfg-delvc12:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
:cfg-delvc3:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
:cfg-delvc4:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dst sink;
1-4-8

OptiX High-level Training Manual

parameter

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Query
:cfg-get-slot<sysall>;
srcsysnum
OptiX2500+:sys1~sys48, OptiX155/622 sys1~sys18
srcvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
srcsink
Timeslot number in VC4
dstsysnum
OptiX2500+:sys1~sys48, OptiX155/622 sys1~sys18
dstvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
dst sink
Timeslot number in VC4
:cfg-create-vc12:sys1,g1w1,1&3&&5,sys2,g1e2,2&&5;
#21:szhw>
:cfg-create-vc3:sys1,g1w1,1,sys3,g1e2,2;
#21:szhw>
:cfg-get-slot<sysall>;
SLOTS
LEVEL
SRC-SYS SRC-VC4 SRC-SLOT DST-SYS DST-VC4 DST-SLOT
vc12
sys1
t1
1
sys1
ge1
1
Total records :1
szhw>
Remarks: Software realized REG could not configure the service.

4.2.18 Configure the attribute of subnet connection service OptiX2500+

Format

Parameter

Example
of output
window

:cfg-set-sncvc12:
srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dstsink,snc_state&start_term
&rec_mode&delay_time,rec_time;
:cfg-set-sncvc3:
:cfg-set-sncvc4:
srcsysnum
From sys1~sys48
srcvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
srcsink
Timeslot number inside the VC4
dstsysnum
From sys1~sys48
dstvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
dstsink
Timeslot number inside the VC4
4 parameter
snc_state detecting point; _UC TYPE, 0 indicate detected by other
boards(default); 1 indicate detected by XC board.
start_term; _UC TYPE, b0=0:TIM is starting condition(default); b0=1:TIM
isn't starting condition.
snc_state&
b1=0:EXC is starting condition(default); b1=1:EXC isn't starting condition.
start_term&
b2=0:SD is starting condition(default); b2=1:SD isn't starting condition.
rec_mode&
b3=0:UNEQ is starting condition(default); b3=1:UNEQ isn't starting
delay_time
condition.
rec_mode; _UC TYPE, 0 indicate non-recovery mode; 1 indicate recovery
mode;
delay_time; _UC TYPE, the range is 0~255, the unit are 50ms indicate
0~12.8min. Default is 0.
Recovery waiting time
rec_time
_UC TYPE, the range is 0~1024, the unit in second, it means 0~17min,
default is 600 seconds.
:cfg-set-sncvc12:sys1,g1w1,1,sys2,g1e1,1,0&0&0&100,720;
#21:szhw>
:cfg-set-sncvc3:sys1,g1w1,1,sys2,g1e1,1,0&0&0&100,720;
#21:szhw>
:cfg-set-sncvc4:sys1,g1w1,1,sys2,g1e1,1,0&0&0&100,720;
#21:szhw>

1-4-9

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.19 Query the attribute of subnet connection service OptiX2500+


Format

Parameter

Example
of output
window

:cfg-get-sncattr:srcsysnum,srcvc4num,srcsink,dstsysnum,dst
vc4num,dstsink,level;
srcsysnum
From sys1~sys48
srcvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
srcsink
Timeslot number inside the VC4
dstsysnum
From sys1~sys48
dst vc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
dstsink
Timeslot number inside the VC4
level
Service level Vc12,vc3 or vc4
:cfg-get-sncattr:sys1,g1w1,1,sys2,g1e1,1,vc4;

4.2.20 Configure/Delete/Query the subnet connection service group OptiX2500+


Configure

Format

parameter

Example
of output
window

:cfg-set-sncgroup:
srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dstsink,level,grou
pid;
Delete
:cfg-del-sncgroup:
srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dstsink,level,grou
pid;
Query
:cfg-get-sncgroup:groupid;
srcsysnum
Source logic system number sys1~sys48
srcvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
srcsink
Timeslot number inside the VC4
dstsysnum
Source logic system number sys1~sys48
dstvc4num
Reference to the logic VC4 number of "cfg-set-gutumap" command
dstsink
Timeslot number inside the VC4
level
Service level Vc12,vc3 or vc4
Service group number, the range is 0~32, 0 means delete or query the service
groupid
from the group, otherwise means query the specified group.
:cfg-set-sncgroup:sys1,g1w1,1,sys2,g1e1,1,vc12,1;
#21:szhw>
:cfg-del-sncgroup:sys1,g1w1,1,sys2,g1e1,1,vc12,0;
#21:szhw>
:cfg-get-sncgroup:1;

4.2.21 SNCP external operation OptiX2500+


Format
Paramete
r

:cfg-set-sncoprt:
srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dstsink,level,sncpstate;
srcsysnum
Logic system number sys1~sys48
VC4 number, reference to the logic VC4 number of "cfg-set-gutumap"
srcvc4num
command
srcsink
Timeslot number inside the VC4
dstsysnum
Logic system number sys1~sys48
VC4 number, reference to the logic VC4 number of "cfg-set-gutumap"
dstvc4num
command
dstsink
Timeslot number inside the VC4
level
Service level Vc12, Vc3 or Vc4
sncpstate
Operation type
Clear;
Locked;
Fw->p means force switch from active to standby;
Fp->w means force switch from standby to active
1-4-10

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Mw->p means manual switch from active to standby


Mp->w means manual switch from standby to active
Example
of output
window

:cfg-set-sncoprt:sys1,gw1,1&2,sys2,gw1,1&2,vc12,clear;
#21:szhw>

4.2.22 Query SNCP service OptiX2500+


Format
Parameter
Example
of output
window

:cfg-get-sncsvc:sysnum;
sysnum
Logic system number sys1~sys48
:cfg-get-sncsvc:sysall;

4.2.23 Query the status of SNCP service OptiX2500+


Format

Parameter

Example
of output
window

:cfg-getsncstate:srcsysnum,srcvc4num,srcsink,dstsysnum,dstvc4num,dstsink,level;
srcsysnu
Logic system number sys1~sys48
m
srcvc4nu
VC4 number, reference to the logic VC4 number of "cfg-set-gutumap"
m
command
srcsink
Timeslot number inside the VC4
dstsysnu
Logic system number sys1~sys48
m
dstvc4nu
VC4 number, reference to the logic VC4 number of "cfg-set-gutumap"
m
command
dstsink
Timeslot number inside the VC4
level
Service level Vc12,Vc3 or Vc4
:cfg-get-sncstate:sys1,gw1,1&2,sys2,gw1,1&2,vc12;

4.2.24 Set the board configuration saving OptiX2500+


Format
Parameter
Example
of output
window

:cfg-set-bdsave:bid;
bid
Slot number 0 means the all LU, TU, XC and EIPC board
:cfg-set-bdsave:7;
cmd 0: 4b b7 00 00 e7 e7 e7 e7

4.2.25 Set/Query B1, B2, B3 over and SD threshold on LU board


Format

Parameter

Example
of output
window

:cfg-set-b1b2b3:bid,port,type,b1,b2,b3; / :cfg-get-b1b2b3:bid,port,type;
bid
Slot number 0 means the all LU, TU, XC and EIPC board
port
Optical port, count the number from 1
type
Threshold type 1-over, 2-sd
b1
B1threshold value, see the remarks
b2
B2threshold value, see the remarks
b3
B3threshold value, see the remarks
:cfg-set-b1b2b3:5,1,1,5,5,5;
#21:szhw>
:cfg-get-b1b2b3:5,1,1;
B1B2B3
BID PATH THRESHOLD TYPE B1
B2
B3
0x05 0x01 0x01
0x05 0x05 0x05

1-4-11

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Total records :1
#21:szhw>
Remarks: B1, B2, B3 threshold value is (3,4,5,6,7) express that (10E-3, 10E-4, 10E-5,
10E-6, 10E-7); sd value is5, 6,7;over value is3, 4,5.

4.2.26 Set/Query B3, BIP2 over and SD threshold on TU board


Format
Parameter

Example
of output
window

:cfg-set-b3bip2:bid,port,type,b3bip2; / :cfg-get-b3bip2:bid,port,type;
bid
Slot number TU slot
port
Port number, count the number from 1
type
Threshold type, 1-over, 2-sd
b3bip2
B3,BIP2 threshold value
:cfg-set-b3bip2:1,1,1,5;
#21:szhw>
:cfg-get-b3bip2:1,1,1;
B3BIP2
BID PATH THRESHOLD TYPE B3BIP2
1 1
1
5
Total records :1
#21:szhw>
Remarks: B3BIP2 threshold value is (3,4,5,6,7) means (10E-3, 10E-4, 10E-5, 10E-6, 10E7);sd value is 5,6,7;over value is 3,4,5.

4.2.27 Set/Query TPS protection relation


Format

Parameter

Example
of output
window

:cfg-set-tps:gid,bbid,wnum,wbdinfo; OptiX2500+ / :cfg-set-tps:gid,state;


OptiX155/622
:cfg-get-tps;
gid
Protection group, for OptiX2500+ id1 means group 1, id2 means group 2;
For OptiX155/622 group1 or group2.
bbid
Protection board position, 1 or 16
Number of working boards, ranging 0~8, take 0 to clear the protection
wnum
relation of this group
Working board position and priority, Maximum 16 arguments, working board
position and priority is _UC, two arguments as a group and arranged in
wbdinfo
sequence. Working board position is the actual position taking the value of
1~4 and 11~14. Priority range from 0 to 7 in digression, o is the highest, 7 is
the lowest
state
Only for OptiX155/622 enable or disable.
:cfg-set-tps:id1,16,2,1&0&2&1;
#21:szhw>
:cfg-set-tps:group1,enable;
szhw>
:cfg-get-tps;
TPS RELATION
GROUP_ID BACK_BID RELATION WORK_BID&PRI
id1
16
2
1 0 2 1 255 255 255 255 255
255 255 255 255 255 255 255
Total records :1
#21:szhw>

4.2.28 Enable/Disable/Query EIPC controller OptiX2500+


Format
Parameter

:cfg-set-tpsactive:gid,state; / :cfg-get-tpsactive;
gid
Protection group number, id1 means group 1, id2 means group
1-4-12

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

state
enable, disable
:cfg-set-tpsactive:id1,enable
#21:szhw>
:cfg-get-tpsactive;
TPS ACTIVE STATE
GROUP_ID ACTIVE_STATE
id1
enable
Total records :1
#21:szhw>

1-4-13

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.29 Set/Query TPS wait to restore time OptiX2500+


Format
Parameter

Example
of output
window

:cfg-set-tpsrectime:gid,rectime; / : cfg-get-tpsrectime;
gid
Protection group number, id1 means group 1, id2 means group 2
rectime
WTR time, ranging 300~720, unit is second, default value is 300 seconds
:cfg-set-tpsrectime:id1,360;
#21:szhw>
:cfg-get-tpsrectime;
TPS RECOVER TIME
GROUP_ID RECOVER_TIME
id1
360
Total records :1
#21:szhw>
Remarks: WTR time is only available for automatic switching, not for forced and manual
switching.

4.2.30 Set/Clear TPS forced/manual switching OptiX2500+


Format
Parameter

Example
of output
window

:tps-set-forcesw:bid; / :tps-set-mansw:bid; / :tps-clr-forcesw:bid; / :tps-clrmansw:bid;


Working board position, the position must be the working position in the
group
:tps-set-forcesw:2;
#21:szhw>
:tps-clr-forcesw:2;
#21:szhw>
:tps-set-mansw:2;
#21:szhw>
bid

4.2.31 Query TPS switching state OptiX2500+


Format
Parameter
Example
of output
window

:tps-get-swstate:gid;
gid
Protection group number, id1 means group 1, id2 means group 2
:tps-get-swstate:id1;

4.2.32 Set/Query TU parameter (PDH interface unit)


Format

Parameter

Example
of output
window

:cfg-set-tupara:iubid,pathnum,tuparaitem; / :cfg-settupara:tubid,pathnum,tuparaitem;
:cfg-get-tupara:iubid;
/ :cfg-get-tupara:tubid;
iubid
Card position of TU, for OptiX2500+ iubid, takes the value of iu1~iu4 and
tubid
iu9~iu12; for OptiX155/622 tubid, takes the value of tu1~tu8.
Path number,PQ1 from 0 to 63, PD1 from 0 to 32,PL3 from 0 to 3;0 means
pathnum
all paths
Arguments of TU, protect : p,np; 1eq : 75o,120o; usestate : use, nouse;
tuparaitem
loop back : rlb, llb, nolb; reqb : l, s (only for PL3 and PM1); E1orT1 :
e12(E1),e11(T1)
:cfg-set-tupara:iu1&iu2,1&&3,p&75o&nolb&use&s;
#21:szhw>
:cfg-get-tupara:iu1;
PDH PARA

1-4-14

OptiX High-level Training Manual


BID
PATH PSMODE
iu1
1
p
iu1
2
p
#21:szhw>

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List
EQUIP

LBMODE
nolb
nolb

REQB

E1ORT1

4.2.33 Query the impedance of TU OptiX2500+


Format
Parameter
Example
of output
window

:cfg-get-e1eq:bid;
bid
Board position number of TU
:cfg-get-e1eq:1;
E1EQ : 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o
75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o
75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o
75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o 75o
#21:szhw>

4.2.34 Set/Query order-wire parameter OptiX2500+


Format
Parameter

:cfg-set-ohppara:ohpparaitem=ohpparavalue; / :cfg-get-ohppara;
Telephone sequence number=1~3; telephone number ranging 0~99999999.
The length of telephone number of all NEs must be the same, so as for the
subnet number length.
tel
Telephone number length is not supported by OptiX2500+, the length is
derived automatically. The numbers in a network can not be repeated.
meet
reqt
rax

cfgserial

chan
snetlen

outnlink

snetbd
meetuse

Conference telephone number, the length must be the same as telephone


number. Can not be the same as any telephone number in a network
Requested time, maximum is 9 (seconds). Default value is 5 seconds
Logical systems used by orderwire, ranging from sys1 to sys48 and not
repeatable. If the first argument is nosys, that means to clear the
configuration of this parameter
Configure F2 ports, arrays type with the length of 34, the latter arguments
is added by 0xff automatically. Element of the arrays is port type. First
argument means the byte used by F2 port, ranging s1, s2, s3 and s4. The
second argument is master port, if this argument is 0xff, that means to
clear this setting, so as only the first argument configured. The arguments
after the third are all slave ports. Master and slave ports can be lp1~lp48
and s1~s4. Note s1, s2, s3 and s4 can only be defined once.
Byte used by s3 port,two arguments, the first must be s3, the second is the
byte used, the value is the relative position to C1 byte with 0x40 and 0x4a
available
Length of subnet number, UC, take the value of 1 or 2
Out subnet link, 6 arguments into two groups. The first 3 arguments
indicates the out subnet link A, the latter 3 of B. If the first argument is
none, that means clear the setting of link A, and so as argument 4 for B.
Argument 1 and 4 is digital communication port number ranging s1 and s2,
argument 2 and 5 is telephone number ranging phone2 and phone3.
Argument 3 and 6 working mode of digital communication port, take value
1 for RS422 and 0 for RS232
Subnet number for optical port, altogether 48 arguments. The argument
sequence number corresponds to optical port number, the argument value
is the Subnet number for optical port. The definition of optical port number
is: 4 ports for each IU and 48 ports for 12 IUs in sequence.
Optical port used for conference telephone, altogether 48 arguments. The
argument sequence number corresponds to optical port number. The

1-4-15

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

definition of optical port number is: 4 ports for each IU and 48 ports for 12
IUs in sequence. If one argument value is 0, that means this optical port is
not used by conference telephone, 1 means used.
Working mode of digital communication port, argument 1 is the digital
workmode
communication port ranging s1~s4; argument 2 is _UC type, ranging 0 and
1. 0 means RS232 mode, 1 means RS422 mode.
:cfg-set-ohppara:reqt=9;
:cfg-set-ohppara:snetlen=1;
:cfg-set-ohppara:chan=0x40;
:cfg-set-ohppara:phonepri=1&0;
:cfg-set-ohppara:workmode=s1&0;
:cfg-set-ohppara:stano=5;
:cfg-set-ohppara:mttlksw=1&0;
:cfg-set-ohppara:mttlksw=2&1;
:cfg-set-ohppara:meet=9999;
:cfg-set-ohppara:pwd=123456;
:cfg-setohppara:snetbd=0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&1&1&2&3&0&0
&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0;
:cfg-setohppara:meetuse=1&1&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&1&1&0&0&0&
0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0&0;
:cfg-set-ohppara:cfgserial=s1&s2&lp21&lp23&lp24;
:cfg-set-ohppara:outnlink=s1&phone2&1&none&none&none;
:cfg-set-ohppara:tel=1&9001:tel=2&9002:tel=3&9003;
:cfg-set-ohppara:hottel=1&1001;
:cfg-set-ohppara:spectel=2&1002;
:cfg-set-ohppara:rax=sys1;
:cfg-set-ohppara:cfgf1=lp1&f1;
#21:szhw>
:cfg-get-ohppara;
REQ TIME
:5
SUBNET LENGTH : 1
MEETTALK SW : 1 0
MEETTALK SW : 2 0
STATION NO : 21
MEET NUMBER : 999
MEET USE BOARD : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
10001111000000000000
TEL NUMBER : 1 101
TEL NUMBER : 2 102
TEL NUMBER : 3 103
RAX
: sys1 sys2 sys3 sys4 nosys nosys nosys nosys nosys nosys
nosys nosys nosys nosys nosys nosys nosys nosys nosys
nosys nosys nosys nosys nosys nosys nosys nosys nosys
nosys nosys nosys nosys nosys nosys nosys nosys nosys
nosys nosys nosys nosys nosys nosys nosys nosys nosys
nosys nosys
#21:szhw>

4.2.35 Set/Query clock parameter OptiX2500+


Format

:cfg-set-stgpara:paraitem=paravalue; / :cfg-get-stgpara;

1-4-16

OptiX High-level Training Manual

parameter

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

Priority of clock source, Maximum 51 clock source available in this


command with no repetition, ranging 48 sources by 4 for each IU, and two
external sources and one internal source. Slipj is the clock source of
number j optical port of IUi, ex18k is the first extenal source, ex28k is the
syncclass
second external source, sets is the internal source. The default value is
sets. The available source with highest priority is the currently working
clock synchronous source by the default. For PD1, PQ1 and PM1, two
sources are provided ,with 1 for first PDH interface and 2 for the second
PDH interface. For PL3 only 1 is allowed. To query the currently working
source, use ":stg-get-synsource"
outsynmode
Clock output mode, byte for 2Mbit/s, hz for 2MHz
The source of 2MPLL (for clock output), the value is the same as
2mpll
"syncclass", but ex18k and ex28k are not allowed
Output mode if the 2MPLL source is failure, 0=output SSM is 0x0f,
synlos
1=output AIS signal, 2=shutdown the output
synrec
WTR time of clock source, Unit is minute, ranging from 0 to 12
2M clock output interface impedance, argument 1 is the impedance of
stge1eq
output interface 1, Argument 2 is the impedance of output interface 2. The
value of argument is:0=75ohm; 1=120ohm.
insynmode
External clock input mode, byte for 2Mbit/s, hz for 2MHz
Threshold for output, 0=no threshold; 1=not worse than SETS; 2=not worse
synbolt
than G.812 SSU-B clock; 3=not worse than G.812 SSU-A clock; 4=not
worse than G.811clock.
Slot of SSMB in 2Mbit/s clock, two arguments for two external sources,
s1slot
ranging sa4, sa5, sa6, sa7 and sa8
Set SSM of source manually, Source&quality, Source is as "syncclass",
quality can be 0x00, 0x02, 0x04, 0x08, 0x0b, 0x0f and 0xff. The quality
s1class
value equals 0x00 or 0xff means cancel this setting. Query the setting use
":cfg-get-cfgs1"
Set source ID in SSM mode, subnet number of clock & source & ID &
source & ID source & ID. Subnet number of clock is for NMS and can take
clockid
value according to actual application. ID ranges 0x00~0x0f, 0x00 means
cancel the ID setting. Only 3 groups are available in command line. Query
the setting use ":stg-get-id"
Ditto. But the source is numerical, as algorithm (i-1)*8+(j-1) or source slipj.
clkid
"j" is PDH port number of TUs.
:cfg-set-stgpara:syncclass=sl4p1&ex18k&sets;
:outsynmode=byte&hz;
:2mpll=sets;
:cfg-set-stgpara:inhibitsyn=sl4p1&1;
:backsyn=1;
:synlos=1;
:swmode=1&sl4p1;
:synrec=5;
:stge1eq=1&1;
:insynmode=hz&byte;
:cfg-set-stgpara:synbolt=2;
:cfg-set-stgpara:s1slot=sa4&sa5;
:cfg-set-stgpara:s1class=sl4p1&0x02;
:cfg-set-stgpara:clockid=1&sj4p1&1&sl5p1&2&sl6p1&3;
:cfg-set-stgpara:s1mode=4&1&0;
:cfg-set-stgpara:inhibssm=4&sd1&1&0;
:cfg-set-stgpara:inhibout=ex18k&1;
#21:szhw>

1-4-17

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

:cfg-get-stgpara;
SYN BOLT : 0
SYNC CLASS : sets 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255
#21:szhw>

4.2.36 Query the currently working clock source OptiX2500+


Format
Parameter

Example
of output
window

:stg-get-synsource:bid;
Board position of XCS
bid
:stg-get-synsource:7;
SYN-SOURCE
SOURCE
0x62
Total records :1
#21:szhw>

4.2.37 Query the clock sources prohibited for switching OptiX2500+


Format
Parameter
Example
of output
window

:stg-get-inhibited:bid;
bid
Board position of XCS
:stg-get-inhibited:7;
INHIBIT_SYN :
#21:szhw>

4.2.38 Query the working mode of current clock source OptiX2500+


Format
Parameter
Example
of output
window

:stg-get-workmode:bid;
bid
Board position of XCS
:stg-get-workmode:7;
CLOCK WORK-MODE
free
Total records :1
#21:szhw>

4.2.39 Query all the existing clock source OptiX2500+


Format
Parameter
Example
of output
window

:stg-get-allsource:bid;
Board position of XCS
bid
:stg-get-allsource:7;
SYN-SOURCE : 0x62
#21:szhw>

4.2.40 Query the forced switching mode of clock source OptiX2500+


Format
Parameter
Example

:stg-get-switchmode:bid;
Board position of XCS
bid
:stg-get-switchmode:7;

1-4-18

OptiX High-level Training Manual

of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List
CLOCK SWITCH-MODE
SWITCHMODE CLOCK
auto-switch 0x62

Total records :1
#21:szhw>

4.2.41 Query the currently working source and its SSM OptiX2500+
Format
Parameter
Example
of output
window

:stg-get-curs1:bid;
bid
Board position of XCS
:stg-get-curs1:7;
CLOCK SOURCE-S1
CLOCK-S1 CLOCK-SOURCE
0x0b
0x62
Total records :1
#21:szhw>

4.2.42 Query all the sources and their SSM OptiX2500+


Format
Parameter
Example
of output
window

:stg-get-alls1:bid;
Card position of XCS working state
bid
:stg-get-alls1:7;
CLOCK ALL-SOURCE-S1(source-s1) : 0x62 0x0b
#21:szhw>

4.2.43 Query the SSM configured manually


Format
parameter
Example
of output
window

:stg-get-cfgs1:bid;
Card position of XCS working state
bid
:stg-get-cfgs1:7;
S1 CLASS(source-s1) :
#21:szhw>

4.2.44 Query clock source ID OptiX2500+


Format
Parameter
Example
of output
window

:stg-get-id:bid;
Card position of XCS working state
bid
:stg-get-id:7;
SYN-SOURCE(subID+source-id) : 0x01 0x62 0x01
#21:szhw>

4.2.45 Set/Query the parameter of PMU


Format

:cfg-set-pmupara:cskswitch=mode&openstate&state:pwr2use=booltype:
tempbolt=figure&figure:csrelayuse=array; / :cfg-get-pmupara;
Output control of electric switcher
cskswitch
mode: pmuauto or pmumanual; openstate:close,open ; state:close,open,.
pwr2use

Parameter

tempbolt
csrelayuse

Use power 2 booltype: true for used and false for unused
Threshold for temperature alarm, arrays of two arguments, figure&figure
the former is upper threshold, the latter is lower threshold
Use alarm input electric switcher, array of 6 arguments. The value of each
argument is: close for unused, open for open and alarm at value "0", open1
for open and alarm at value "1"

1-4-19

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

:cfg-set-pmupara:cskswitch=pmumanual&open&open:pwr2use=true:Tempbolt=80&15;
:cfg-set-pmupara:csrelayuse=close&open&open&open&open&open;
:cfg-get-pmupara;
POWER2 USE : false
TEMPER BOLT : 40 0
CSRELAY USE : close close close close close close
szhw>

4.2.46 Set the time of laser on/off OptiX2500+


Format
Parameter

:cfg-set-alstime:iubid,lightport,ontime,offtime,alstime;
iubid
IU cards slot, iu1~iu12
Optical port interface number, number inside the card, 0 means the all
optical interface ports configured.
ontime
Start time, number is second, within 600s
offtime
Shut time, number is second, within 600s
alstime
Keep on time, number is second, within 600s
:cfg-set-alstime:iu5,1,30,40,50;
#21:szhw>
lightport

Example
of output
window

4.2.47 Switch/Query/Testing on/off laser OptiX2500+


Format

Parameter

:cfg-test-als:bid; (be careful)


als:iubid;
Card slot number
bid
iubid

:cfg-open-als:iubid,lightport,state;

:cfg-get-

IU boards slot, iu1~iu12

Optical port interface number, number inside the board, 0 means


configuration of all the optical ports.
state
Switch on or off, true means on ,false means off;
:cfg-test-als:5;
cmd 0: 4f 03 00 00 c2 10 00 20
cmd 0: 4f 00 00 00 ff ff ff ff
:cfg-open-als:iu1,2,true;
#21:szhw>
:cfg-get-als:iu5;
ALS PARA
BID
PORT STATE ONDUR OFFDUR LONGDUR
iu5
1
2
30
40
50
iu5
1
0
65280 0
256
Total records :2
#21:szhw>
lightport

Example
of output
window

4.2.48 Set/Query VC4 loopback OptiX2500+


Format
parameter
Example

:cfg-set-vc4loop:iubid,,path,looptype; / :cfg-get-vc4loop:iubid;
Card slot, using IU card slot: iu1~iu12
iubid
path

Path number, number inside the card, 0 means all paths configured.
Loopback type, 0 means no loopback, 1 means line loopback, 3 means
looptype
terminal loopback.
:cfg-set-vc4loop:iu5,0,0;

1-4-20

OptiX High-level Training Manual

of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

#21:szhw>
:cfg-get-vc4loop:iu5;
VC4 LOOP STATE
BID
PATH STATE
iu5
1
0
iu5
2
0
Total records :2
#21:szhw>

4.2.49 Set/Query high-order path overhead mode


Format

Parameter

Example
of output
window

:cfg-set-vc4mode:sysnum,path,mode; OptiX155/622 / :cfg-setvc4mode:iubid,path,mode;


OptiX2500+ / :cfg-get-vc4mode:sysnum,vc4num;
OptiX155/622 / :cfg-get-vc4mode:iubid;
OptiX2500+
iubid
card slot, using IU board slot: iu1~iu12
Path number, for OptiX2500+ 0 means all paths configured or 1 to 16; for
path
OptiX155/622 from gw1/ge1 to gw16/ge16
Overhead mode, term means terminative mode; pass means pass-through
mode
mode.
sysnum
OptiX155/622 only from sys1 to sys18
:cfg-set-vc4mode:iu5,0,term;
#21:szhw>
:cfg-get-vc4mode:iu5;
VC4 MODE
BID
PATH VC4MODE
iu5
1
term
Total records :1
#21:szhw>
:cfg-set-vc4mode:sys1,gw1,pass;
szhw>
:cfg-get-vc4mode:sys1,gw1;
VC4MODE
SYS
VC4NUM
VC4MODE
sys1
gw1
pass
Total records :1
szhw>

4.2.50 Set/Query monitoring of unused path OptiX2500+


Format
Parameter

Example
of output
window

:cfg-set-monitor:iubid,path,state / :cfg-get-monitor:iubid;
iubid
card slot, using IU card slot: iu1~iu12
path
Path number, VC4 number inside the card, 0 means all paths configured.
Monitor mode, enable means monitoring, and disable means no
state
monitoring.
:cfg-set-monitor:iu5,1,enable
#21:szhw>
:cfg-get-monitor:iu5;
UNUSE PATH MONITOR STATE
BID
PATH STATE
iu5
1
enable
Total records :1
#21:szhw>

1-4-21

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.51 Set/Query J2 byte


Set
Format
Query

Parameter

Example
of output
window

iubid
tubid

:cfg-set-stj2:iubid,path,j2para
/
:cfg-set-srj2:iubid,path,j2para;
OptiX2500+
:cfg-set-stj2:tubid,path,j2para;
/
:cfg-set-srj2:tubid,path,j2para;
OptiX155/622
:cfg-get-stj2:iubid;
OptiX2500+
:cfg-get-stj2:tubid; OptiX155/622
Card slot, for OptiX2500+ iubid using IU slot: iu1~iu12;for OptiX155/622
tubid using tu1 ~ tu8.

path,
Path number, 0 means all paths configured;
j2para
J2 byte, Character string, length16.
:cfg-set-stj2:iu1,1&&2,"huawei sbs";
#21:szhw>
:cfg-get-stj2:iu1;
STJ2
TU NO.
PATH STJ2
iu1
1
huawei sbs
iu1
2
huawei sbs
Total records :2
#21:szhw>

4.2.52 Set/Query alarm reverse state OptiX2500+


Format

Parameter

Example
of output
window

:cfg-set-alminv:iubid,path,state; / :cfg-get-alminv:iubid;
IU card slot, iu1~iu12
iubid
Path number, 0 means all paths configured; PDH cards use terminal
number; SDH cards use VC4 path number inside the cards.
Alarm reverse state, inv means setting reverse state, noinv means nostate
setting reverse state.
:cfg-set-alminv:iu1,0,noinv;
#21:szhw>
:cfg-get-alminv:iu1;
ALM INVERSE
IU NO
PATH INVERSE
iu1
1
noinv
Total records :63
#21:szhw>
path

4.2.53 Checkout consistency of the board parameter


Format
Parameter

Example
of output
window

:cfg-check-board:bid; OptiX2500+ / :cfg-check-board:bid,bdtype; OptiX155/622


bid
Figure slot position
bdtype
pl1,pl3,pl4,sl1,sl4,ohp,ohp1,stg,xc1,xc4,asp,x16,sle,sl2,se2,txc,gtc,r16,t16,
scc,scc25,ohp2
:cfg-check-board:1;
#21:szhw>
:cfg-check-board:11,sl4;
BOARD PARA VERIFY
MBCMD SCCDATA VERIFY_RESULT
0x00 0x00 BDPARA_VERIFY_SUCCESS
szhw>
cmd 0: 49 9e 00 00 0b 0b ff ff

1-4-22

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.54 Startup/Stop error testing OptiX2500+


Format
Parameter

Example
of output
window

:cfg-start-errtest:bid,act,path,time; / :cfg-stop-errtest:bid;
bid
from 1 to 4 or from 11 to 14
act
Operation, 1--start errtest,0--stop errtest;
path
from 1 to 32/63
time
Duration, in second
:cfg-start-errtest:1,1,1,2;
#21:szhw>
CFG ERROR EVENT
SCC BID MINUTE SECOND TYPE SLOT PARA0
15
1
7
18
220
1
0xff
#21:szhw>
CFG ERROR EVENT
SCC BID MINUTE SECOND TYPE SLOT PARA0
15
1
7
20
220
1
0xff
#21:szhw>
:cfg-stop-errtest:1;
#21:szhw>
be careful.

PARA1 PARA2
0xff
0xff

PARA1 PARA2
0xff
0xff

4.2.55 Set/Query sub-rack temperature threshold OptiX2500+


Format
Parameter

Example
of output
window

:cfg-set-xctmpbolt:hisign,hival,lowsign,lowval; / :cfg-set-xctmpbolt;
0 is '+' sign,1 is '-'sign
hisign
hival
Up threshold of temperature value
lowsign
0 is '+' sign,1 is '-'sign
lowval
Lower threshold of temperature value
:cfg-set-xctmpbolt:0,60,1,30;
#21:szhw>
:cfg-get-xctmpbolt;
XCS TMP BOLT
HIGH SIGN HIGH VALUE LOW SIGN LOW VALUE
0
60
1
30
Total records :1
#21:szhw>

4.2.56 Query sub-rack temperature


Format
Parameter

Example
of output
window

:cfg-get-temperature:bid; OptiX2500+ / :cfg-get-temperature; OptiX155/622


bid
Card slot, 7 or 8
:cfg-get-temperature:7;
BOARD TEMPERATURE
BID MAXSIGN MAXVALUE MINSIGN MINVALUE CURSIGN CURVALUE
7
0
65
1
10
0
35
Total records :1
#21:szhw>

Remarks: Sub-rack temperature has been auto-reported as performance event.

4.2.57 Switch of active/standby cross-connect unit OptiX2500+


Format
Parameter

:cfg-switch-xc;
Null

1-4-23

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

:cfg-switch-xc;
#21:szhw>
CFG XC EVENT
BID BDTYPE
BDSTATE WORKSTATE
7
xcs
xlbak
work

1-4-24

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.58 Query current active XC board OptiX2500+


Format
Parameter
Example
of output
window

:cfg-get-workxc;
Null
:cfg-get-workxc;
WORK XCBID : 7
#21:szhw>

4.2.59 Query the XC data in logic layer OptiX2500+


Format
Parameter
Example
of output
window

:cfg-get-bsslot;
Null
:cfg-get-bsslot;
CFG XC BSSLOTS
SRC-VC4 SRC-SLOT SINK-VC4 SINK-SLOT LEVEL
0x20
0x01
0x0c
0x01
bdvc12
0x20
0x02
0x0c
0x02
bdvc12
Total records :2
#21:szhw>

ID
0x00f4
0x00f5

4.2.60 Query the board configuration data in physical layer


Format
Parameter

Example
of output
window

:cfg-get-bscfg:bid,bdtype;
bid
Slot number
bdtype
Card type
:cfg-get-bscfg:1,pq1;
PSMODE : p p p p p p p p p p np np np np np np np np np np np np np np
np np np np np np np np
BUS SLOT : 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 0 0 0 0 0 0 0 0 0 0
00000000000000000000000000000000
00000000000000000000000000000000
0000000000000000000000000000000
START : true
#21:szhw>

4.2.61 Query the timeslot configuration on XC board OptiX2500+


Format
Parameter

Example
of output
window

:cfg-get-bdslot:xcbid,mode,busid;
xcbid
Slot number 7 or 8
mode
Query type, bus: query the data by bus; slot: query the data by timeslot;
id: query the data by ID
busid
Query parameter, bus value/timeslot/ID number;.0xff means all the bus.
:cfg-get-bdslot:7,bus,0xff;
BOARD SLOT
SRC-BUS SRC-SLOT SINK-BUS SINK-SLOT LEVEL
NUMBER
32
1
12
1
bdvc12
756
32
2
12
2
bdvc12
757
Total records :2
#21:szhw>

4.2.62 Query the board configuration


Format

:cfg-get-bdcfg:bid,bdtype;

1-4-25

OptiX High-level Training Manual

parameter

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

bid
Slot number
bdtype
Card type
:cfg-get-bdcfg:18,ohp2;
cmd 0: 12 80 ff ff ff ff ff 01
cmd 1: 12 81 00 00 03 e7 ff 01
cmd 2: 12 82 01 ff ff ff ff 01
cmd 3: 12 83 05 ff ff ff ff 01
cmd 4: 12 90 02 ff ff ff ff 01
cmd 5: 12 91 0b 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
Remark: for OptiX2500+ no use

4.3 alarm management type


4.3.1 Query the alarm event code list
Format
Parameter
Example
of output
window

:alm-get-eid;
Null
:alm-get-eid;
alm eid list:
(RLOS
1) (TLOS
2) ( *
3) (TLOC
4)(ROOF
5) (NOBDSOFT
6) (WRG_WAVELV 7) (RLOF
8)(TF
9) (RSCROSSTR 10) (RSUATEVENT
11) (B1OVER
12)(RRLOC
13) (TRLOC
14) (WTMPOVER 15) (HPCROSSTR
16)(HPUATEVENT 17) (HPDJ1_LOS 18) (MSPLOSS 19) (HPJ1LOL 20)(LCURFAIL
21) (WCUROVER 22) (CCUROVER 23) (IPWRFAIL 24)

4.3.2 Query current/history alarm


Format
Parameter

Example
of output
window

:alm-get-curdata:bid,eid; / :alm-get-hisdata:bid,eid;
bid

Slot number, 0 means all the boards

eid
Event ID, 0 means all the events alm-get-eid
:alm-get-hisdata:0,0;
ALM HISTORY
NUM
BID EID
SEVE
STATE
START-TIME
PARAS
32760
15
LTI
major
end
2002-1-9 8:9:28
0xffffff01
32761
15 EXTSYNLOS critical end
2002-1-9 8:9:28
0x01ffff01
Total records :2
szhw>
:alm-get-curdata:0,0;
ALM SUMMARY
NUM
BID EID
SEVE
STATE
START-TIME
PARAS
1245
15 MSPLOSS critical start
2002-1-9 8:10:55
0x02ffff01
1246
1 TUAIS
major
start
2002-1-9 8:11:14
0x01ffff01
Total records :2
#21:szhw>

1-4-26

END-TIME
2002-1-9 8:13:1
2002-1-9 8:13:1

END-TIME
None
None

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.3.3 Query the alarm record in mailbox


Format
Parameter
Example
of output
window

:alm-get-maildata;
Null
:alm-get-maildata;
ALM MAILBOX RECORD
BID TAG EID
STATE
PARA1 PARA2 PARA3
0 0x0000 0X00
0x00
0x00
0x00 0x00
0 0x0000 0X00
0x00
0x00
0x00 0x00
Total records :2
#21:szhw>

4.3.4 Enable/Disable/Query alarm auto report into mailbox


Format
Parameter

Example
of output
window

:alm-set-mailrep:bid; / :alm-cancel-mailrep:bid; / :alm-get-mailrep:bid;


bid
Slot number, 0 means all the cards
:alm-set-mailrep:0;
#21:szhw>
:alm-cancel-mailrep:0;
#21:szhw>
:alm-get-mailrep:0;
MAILBOX ALM AUTOREP STATE
BID STATE
1 disable
2 disable
3 disable
4 disable
5 disable
6 disable
7 disable
8 disable
9 disable
10 disable
11 disable
12 disable
Total records :12
#21:szhw>

1-4-27

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.3.5 Set/Cancel/Query the alarm anti-detect function


Format
Parameter

Example
of output
window

:alm-set-condetect; / :alm-cancel-condetect; / :alm-get-condetect;


Null
:alm-set-condetect;
#21:szhw>
:alm-cancel-condetect;
#21:szhw>
:alm-get-condetect;
alm continuous detect state : disable
#21:szhw>

4.3.6 Set/Query the alarm reverse mode


Format

:alm-set-invmode:mode; / :alm-get-invmode;
mode

Parameter

Example
of output
window

0/mode1 means no reversion, 1/mode2 mans non-automatically restore


mode,
2/mode3 means automatically restore mode.
:alm-set-invmode:0;
szhw>
:alm-get-invmode;
alm inverse mode : mode1
szhw>

4.3.7 Set/Cancel/Query alarm reverse


Format
parameter

Example
of output
window

:alm-set-inverse:bid,path;
/
:alm-cancel-inverse:bid,path;
inverse:bid,path;
bid
Slot number
path
Path number, 0 means all the path numbers
:alm-set-inverse:1,1;
#21:szhw>
:alm-get-inverse:1,0;
ALM INVERSE STATE
BID PID STATE
1
1
enable
Total records :
#21:szhw>
:alm-cancel-inverse:1,0;
#21:szhw>

:alm-get-

4.4 Performance management type


4.4.1 Query the performance event code list
Format
Parameter

Example

:per-get-eid;
Null
:per-get-eid;
per eid list:
RSBBE,RSES,RSES,RSSES,RSOOF,RSOFS,RSUAS,RSCSES,MSBBE,MSES,MSSES,M
SFEBBE,MSFEES,MSFESES,MSCSES,MSFECSES,MSUAS,AUPJCHIGH,AUPJCLOW,T
UPJCHIGH,TUPJCLOW,HPBBE,HPES,HPSES,HPFEBBE,HPFEES,HPFESES,HPUAS,H
1-4-28

OptiX High-level Training Manual


of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

PCSES,HPFECSES,LPBBE,LPES,LPSES,LPFEBBE,LPFEES,LPFESES,LPUAS,LPCSES
,LPFECSES,PMUTMPMAX, PMUTMPMIN, PMUTMPAVG, PMUTMPCUR,XCSTMPMAX,
XCSTMPMIN, CSTMPAVG, XCSTMPCUR,TLBMAX, TLBMIN, TLBCUR, RLBMAX,
RLBMIN, RLBCUR,TPLMAX, TPLMIN, TPLCUR, RPLMAX, RPLMIN, RPLCUR,
OSPITMPMAX, OSPITMPMIN, OSPITMPCUR.
#21:szhw>

4.4.2 Query the performance event code list on board


Format
Parameter

Example
of output
window

:per-get-bdeid;
Null
:per-get-bdeid;
per board eid list:
(OOF 0x81)(B1CNT
0x82)(LSBCM
0x83)(TEMMN 0x84)(OPM
0x85)
(B1BCNT 0x86)(B2CNT 0xA1)(MSREI
0xA2)(MSPRO 0xA3)(B2BCNT 0xA4)
(AUPPJE
0xC1)(AUNPJE 0xC2) (AUNDF 0xC3)(B3CNT
0xC9) (HPFEBE
0xCA)(TFE_COUNT 0xCB)(RFE_COUNT 0xCC)(B3BCNT 0xCD)
(TUPPJE
0xD1)(TUNPJE 0xD2)(TUNDF
0xD3)(LPBIP2CNT 0xD9)
(LPFEBE
0xDA)(LPPRO
0xDB)(LPBIP2BCNT 0xDC)
szhw>

4.4.3 Set/Cancel/Browse the performance event monitoring


Format
Parameter

Example
of output
window

:per-set-monevent:bid,pathnum,eid; / :per-cancel-monevent:bid,pathnum,eid;
:per-get-monevent:bid,pathnum,eid;
bid
Slot number:0 means all the slots.
pathnum
Section/path number:0 means all the section/path numbers
eid
PER_EID: perall means all the performance events :per-get-eid;
:per-set-monevent:0,0,perall;
#21:szhw>
:per-get-monevent:0,0,tupjclow;
SELECT EVENT
BID PATH-NUM
EID
STATUS
1
1
TUPJCLOW 1
1
2
TUPJCLOW 1
1
3
TUPJCLOW 1
1
4
TUPJCLOW 1
1
5
TUPJCLOW 1
Total records :5
#21:szhw>

4.4.4 Set the NE start/stop monitoring time


Format
Parameter

Example
of output
window

:per-set-starttime:termtype,date,time;
:per-set-endtime:termtype,date,time;
termtype
Monitor period :15m or 24h
date
Start or end date: date value, year-month-date.
time
Start or end time : time value,hour*minute*second
:per-set-starttime:15m,2002-1-9,11*12;
#21:szhw>
:per-set-endtime:24h,1990-0-0,0*0;
#21:szhw>
Remark: the start monitoring time should be late than the NE current time.
Date and time value can be 0, which means stop immediately

1-4-29

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.4.5 Set/Browse the performance event auto report


Format
Parameter

Example
of output
window

:per-set-autorep:bid,pathnum,eid,termtype;
:per-get-autorep:bid,pathnum,eid,termtype;
bid
Slot number:0 means all the slots
pathnum
Section/path number::0 means all the section/path numbers
eid
PER_EID, :per-get-eid; perall means all the performance
termtype
Monitor period type:15m or 24h
:per-set-autorep: 1,1,perall,15m;
#21:szhw>
:per-get-autorep: 1,1,perall,15m;
AUTO REPORT STATE
BID PATH-NUM EID
PERIOD
FLAG
1
1
LPBBE
15m
1
1
1
LPES
15m
1
1
1
LPSES
15m
1
1
1
LPUAS
15m
1
1
1
LPFEBBE 15m
1
1
1
LPFEES
15m
1
1
1
LPFESES 15m
1
1
1
TUPJCHIGH 15m
1
1
1
TUPJCLOW 15m
1
Total records :9
#21:szhw>

4.4.6 Query the current/history data of performance event


Format

Parameter

Example
of output
window

:per-get-curdata:bid,pathnum,eid,termtype;
:per-get-hisdata:bid,pathnum,eid,termtype,firstnum,lastnum;
:per-get-hisdata:bid,pathnum,eid,termtype; OptiX155/622
bid
Slot number, 0 means all the slots
Pathnum
Section/path number, 0 means all the section/path
Eid
PER_EID, :per-get-eid; perall means all the performance
termtype
Period type, 15m or 24h
firstnum
0:all, 1-6 for 24h, 1-16 for 15min
lastnum
0:all, 1-6 for 24h, 1-16 for 15min
:per-get-curdata:1,1,perall,15m
PER CURRENT DATA
BID PERIOD
START-TIME
EID
PATH-NUM VALUE
1
15m
2002-1-9 11:31:59
LPUAS 1
155
Total records :1
#21:szhw>
:per-get-hisdata:0,0,perall,15m,1,3;
PER HISTORY DATA
BID PERIOD
START-TIME
EID
PATH-NUM VALUE
1
15m
2002-1-9 11:16:59 LPUAS
1
900
1
15m
2002-1-9 11:16:59 LPUAS
2
900
1
15m
2002-1-9 11:16:59 LPUAS
3
900
Total records :55
#21:szhw>

4.4.7 Query the start/end time of NE 15m/24h monitor period


Format

:per-get-starttime:termtype;

1-4-30

OptiX High-level Training Manual

Parameter

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

:per-get-endtime:termtype;
termtype
Period type, 15m or 24h
:per-get-starttime:24h;
MONITOR START TIME
PERIOD
START-TIME
24h
2001-12-6 17:43:4
Total records :1
szhw>
:per-get-endtime:15m;
MONITOR END TIME
PERIOD
END-TIME
15m
None
Total records :1
#21:szhw>

4.4.8 Set/Cancel/Query zero suppress of performance event report


format
Parameter

Example
of output
window

:per-set-zerosuppress; / :per-cancel-zerosuppress; / :per-get-zerosuppress;


Null
:per-set-zerosuppress;
#21:szhw>
:per-get-zerosuppress;
PER ZEROSUPPRESS STATE : true
#21:szhw>
:per-cancel-zerosuppress;
#21:szhw>

4.5 Communication Type


4.5.1 Set/Query route
Format
Parameter

Example
of output
window

:ecc-set-route:dstid,midid,dist,level; / :ecc-get-route;
dstid
Sink NE, digital type
midid Transfer NE, digital type
dist
Distance, digital type
level
Level, digital type
:ecc-set-route:0x900004,0x900002,1,4;
szhw>
:ecc-get-route;
ECC ROUTE
DST-ID
DXC-ID
DISTANCE LEVEL MODE
SCC-NO
0x00090015 0x00090015 0
4
auto
0
0x00900004 0x00900002 1
4
manual
255
Total records :2
szhw>

4.5.2 Reset optical port OptiX2500+


Format
Parameter
Example

:ecc-reset-port:bid, port;
bid
Slot number
port
Optical port number
:ecc-reset-port:5,1;

1-4-31

OptiX High-level Training Manual


of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

#21:szhw>

4.5.3 dd/Delete/Query a network connection route


Format
Parameter

Example
of output
window

:ecc-add-maclan:server/client,port,ip; / :ecc-del-maclan; / :ecc-get-maclan;


server/client Remote terminal service type, client or server
port
Remote terminal port number, digital type, port number can not be
configured as 1400
ip
Remote terminal IP address, IP address type xxx.xxx.xxx.xx
:ecc-add-maclan:server,1700,129.9.0.1;
#21:szhw>
:ecc-get-maclan;
ECC MACLAN
MACLAN
PORT IP
server
0x06a4 0.0.0.0
Total records :1
#21:szhw>
:ecc-del-maclan;
#21:szhw>

1-4-32

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.5.4 Query the NM access status


Format
Parameter
Example
of output
window

:ecc-get-tmnaccess;
Null
:ecc-get-tmnaccess;
TMN Access Mode
LAN
Serial
NeByLan
open
open
close
Total records :1
#21:szhw>

4.5.5 Query path data transceiver information OptiX2500+


Format
Parameter
Example
of output
window

:ecc-get-chaneinfo:chan;
chan

Path number, from 0 to 27; the first 20 paths used ad DCC, the latter 8
paths used as LAN expand.
:ecc-get-chaninfo:3;
CHANNEL INFO
BID PORT STATE EVENT TRNS_NUMS TRNS_BYTES RECV_NUMS
10 1
0x02
0x0002 458
7328
0
RECV_BYTES RX_SR TX_SR LAST-STATE DAMAC
SAMAC
LAST_RX_S
0
0x00
0x00 0x88c2
0x00000000 0x00000000 1990-0-0 0:0:0
LAST_TX_S
LAST-I-S
1990-0-0 0:0:0
1991-0-1 0:165:7
Total records :1
#21:szhw>

4.5.6 Query the path error information OptiX2500+


Format
Parameter
Example
of output
window

:ecc-get-chanerror:chan;
chan
Path number, from 0 to 27; the first 20 paths used ad DCC, the latter 8
paths used as LAN expand.
:ecc-get-chanerror:18;
CHANNEL ERROR INFORMATION
QFull
LG
NON
CR
AB
UN
MRF
RXBY
0
0
0
0
0
0
0
0
Total records :1
#21:szhw>

1-4-33

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.5.7 Query the board information OptiX2500+


Format
Parameter

Example
of output
window

:ecc-get-bdinfo;
Null
:ecc-get-bdinfo;
FIBER PORT STATE
BID FIBER-PORT PORT-STATE
5
1
port-auto
6
1
port-auto
9
1
port-auto
10 1
port-auto
11 1
port-auto
11 2
port-auto
11 3
port-auto
11 4
port-auto
Total records :8

LINK-CHAN LOGIC-CHAN-STATE
0
rx_f
1
rx_f
2
rx_ns
3
rx_f
4
rx_f
5
rx_f
6
rx_f
7
rx_f

4.5.8 Query the optical port type of the board OptiX2500+


Format
Parameter

:ecc-get-bdtype;
Null
:ecc-get-bdtype;
BOARD TYPE
BID TYPE
0x05 one-port
0x06 one-port
0x09 one-port
0x0a one-port
0x0b four-port

Example
of output
window
Total records :5
#21:szhw>

4.5.9 Set/Query IP address


Format
Parameter

Example
of output
window

:cm-set-ip:ip; / :cm-get-ip;
ip
IP address, IPType.xxx.xxx.xx
:cm-set-ip:129.9.0.4;
szhw>
:cm-get-ip;
NE IP
IN NVRAM
IN DBMS
129.9.0.4
129.9.0.4
Total records :1
szhw>

1-4-34

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.5.10 Set/Query number of the subnet


Format
Parameter

Example
of output
window

:cm-set-subnet:subnum; / :cm-get-subnet;
subnum
Number of subnet, default value=9
:cm-set-subnet:9;
#21:szhw>
:cm-get-subnet;
#21:szhw>
NE SUBNET : 9
#21:szhw>
Remarks: Normally we dont set, use the default value 9.

4.5.11 Set GNE IP address OptiX155/622


Format
Parameter
Example
of output
window

:cm-set-gateway:ip;
ip
IP address, IP Typexxx.xxx.xxx.xx
:cm-set-gateway:129.9.0.4;
szhw>
Remarks: Normally we dont set, use the default value .

4.5.12 Query/set subnet netmask


Format
Parameter

Example
of output
window

:cm-set-submask:submask; / :cm-get-submask;
submask
IP address, IP Type xxx.xxx.xxx.xxx plan area
:cm-set-submask:255.255.0.0;
#21:szhw>
:cm-get-submask;
SUBNET MASK
IN NVRAM
IN DBMS
255.255.0.0
255.255.0.0
Total records :1
#21:szhw>
Remarks: Normally we dont set, use the default value.

4.5.13 Set/Query ECC manual connection OptiX2500+


Format
Parameter

Example
of output
window

:ecc-set-maccon:dstid,bidid,fiberid; / :ecc-get-maccon;
dstid
Destination NE address, ID Type eg: 0x90001
bidid
Local NE card number
fiberid
Optical port number
:ecc-set-maccon:0x900001,5,1;
#21:szhw>
:ecc-get-maccon;
MAC CONNECT
DST-ID
BOARD-ID FIBER-ID MODE
SCC-NO
0x00090004 9
1
eccauto
2
0x00900001 5
1
eccmanual 0
Total records :2
#21:szhw>

1-4-35

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.6 Database operation commands


4.6.1 Query the contents of the specified database
Format
Parameter

Example
of output
window

:dbms-query:dbname,blockname;
dbname
Database name, character string type, its maximum length is 16.
blockname Plan area, its values are fdb0,fdb1,drdb, mdb.
:dbms-query:"sys_info.dbf",drdb;
SYS_INFO.DBF
record num NE_IP
NE_ID
F_BAUD
WD_STATE
NE_NAME
UM_LOCK
1
81090004 00090004 10
00
0000000000000
00000000
Total records :1

4.6.2 Backup all the databases


Format
Parameter
Example
of output
window

:dbms-backup-all:blockname;
blockname
Parameter value, plan area its values are fdb0,fdb1
:dbms-backup-all:fdb0;
#21:szhw>

4.6.3 Query the database refresh time


Format
Parameter
Example
of output
window

:dbms-get-updatetime:dbname,blockname;
dbname
Database name, character string type its maximum length is 16.
blockname
Plan area, its values are fdb0,fdb1 ,drdb.
:dbms-get-updatetime:"per_state.dbf",fdb0;
DBMS update time : 2002-1-8 17:43:9
szhw>

4.6.4 Clear the database


Format
Parameter
Example
of output
window

:dbms-clear-flag:blockname;
blockname
Parameter value, plan area its values are fdb0,fdb1,drdb
:dbms-clear-flag:fdb0;
#21:szhw>

4.6.5 Compare all the database of different plan area


Format
Parameter
Example
of output
window

:dbms-compare:src-db,dst-db,dbname;
src-db
Plan area, its values are fdb0, fdb1, drdb, and mdb.
dst-db
Plan area, its values are fdb0, fdb1, drdb, and mdb.
dbname
Database name, character string type its maximum length is 16.
:dbms-compare:drdb,fdb0,"cur_user.dbf";

4.6.6 Compare all the database of different plan areas


Format
Parameter

:dbms-compare-all:src-db,dst-db;
src-db
Plan area, its values are fdb0,fdb1,drdb, mdb.
dst-db
Plan area, its values are fdb0,fdb1,drdb, mdb.
1-4-36

OptiX High-level Training Manual

Example
of output
window

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

:dbms-compare-all:drdb,fdb1;
#21:szhw>
Remark: database here is not the database of any kind, but the relevant configuration
parameter database (database of card place excluded).

4.6.7 Copy all the database of different plan areas


Format
Parameter
Example
of output
window

:dbms-copy:src-db,dst-db,dbname;
src-db
Plan area, its values are fdb0, fdb1, and drdb.
dst-db
Plan area, its values are mdb, drdb.
dbname
Database name, character string type its maximum length is 16.
:dbms-copy:drdb, fdb0,"cur_user.dbf";
szhw>

4.6.8 Copy all the database of different plan areas


Format
Parameter
Example
of output
window

:dbms-copy-all:src-db,dst-db;
src-db
Plan area, its values are fdb0, fdb1, drdb, mdb.
dst-db
Plan area, its values are fdb0, fdb1, drdb, mdb.
:dbms-copy-all:drdb,fdb0;
szhw>
Remarks: we cant do copy from mdb to fdb0 or fdb1.

4.7 Protection commands and response


4.7.1 Clear/- Forced two-fibers multiplex section switching
Format
Parameter
Example
of output
window

:apsc-set-forcesw:sysnum,apsdir; / :apsc-clr-forcesw:sysnum,apsdir;
sysnum
logic system number, its values are sys1 to sys12
apsdir
switchover direction, its values are east and west
:apsc-clr-forcesw:sys2,west;
#21:szhw>

4.7.2 Clear/- Two-fibers multiplex section manual switching


Format
Parameter
Example
of output
window

:apsc-set-mansw:sysnum,apsdir; / :apsc-clr-mansw:sysnum,apsdir;
sysnum
logic system number, its values are sys1 to sys12
apsdir
switchover direction, its values are east and west
:apsc-clr-mansw:sys2,west;
#21:szhw>

4.7.3 Start/Stop the APS protocol controller


Format
Parameter
Example
of output
window

:apsc-start:sysnum; / :apsc-stop:sysnum;
sysnum
logic system number, its values are sys1 to sys12
:apsc-stop:sys2;
#21:szhw>
#21:szhw>
:apsc-start:sys2;
#21:szhw>

1-4-37

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.7.4 Set/Query the APS protocol controller parameter


Format

Parameter

Example
of output
window

:apsc-set-para:sysnum,local_no,max_no,restore_time; / :apsc-get-para:sysnum;
sysnum
logic system number, its values are sys1 to sys12
local_no
Local node number, its value is digit
max_no
Maximum node number, its value is digit
restore_tim Switchover recovery time, its value is digit
e
:apsc-set-para:sys2,1,3,600;
#21:szhw>
:apsc-get-para:sys2;
APS PARA
ID
LOCAL-NO MAX-NO RESTORE-TIME
sys2
0
0
600
Total records :1
#21:szhw>
Remarks: local node number<= maximum node number.

4.7.5 Query the two-fiber multiplex section protection ring LU board parameter of
OptiX2500+
Format
Parameter

Example
of output
window

:apsc-get-lupara:sysnum;
sysnum
logic system number, its values are sys1 to sys12
:apsc-get-lupara:sys1;
APS LU PARA
ID
DIR
BID OPT-ID BD-TYPE
sys1
west
0
255
bdnull
sys1
east
0
255
bdnull
Total records :2
#21:szhw>

4.7.6 Query the two-fiber multiplex section protection ring cross-connect board
parameter of OptiX2500+
Format
Parameter
Example
of output
window

:apsc-get-xcpara:sysnum;
sysnum
logic system number, its values are sys1 to sys2
:apsc-get-xcpara:sys2;
APS XC PARA
ID
XC-WORK XC-BACK
sys2
7
8
Total records :1
#21:szhw>

4.7.7 Query the two-fiber multiplex section protection ring switching event
Format
Parameter

Example
of output
window

:apsc-get-event:sysnum;
sysnum
logic system number, its values are sys1to sys12
:apsc-get-event:sys2;
APS EVENT
ID
EVENT-NO EVENT
PARAS TIME
TIMESTAMP
sys2
2901
K_DIR
0x0000 2002-1-9 20:4:50 0x001e607a
sys2
2902
K_SENDS 0x0000 2002-1-9 20:4:50 0x001e608d
sys2
2903
K_DIR
0x0002 2002-1-9 20:4:50 0x001e609a
Total records :3

1-4-38

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

#21:szhw>

4.7.8 Query the two-fiber multiplex section protection ring switching state
Format
Parameter
Example
of output
window

:apsc-get-state:sysnum;
sysnum
logic system number, its values are sys1 to sys2
:apsc-get-state:sys2;
APS STATE
ID
LEVEL
STATE
DIR
sys2
0x00
nodir
Total records :1
#21:szhw>

4.7.9 Set/Query the SD flag of the two-fiber multiplex section protection ring on
or not
Format
Parameter

Example
of output
window

:apsc-set-sdflag:sysnum,flag; / :apsc-get-sdflag:sysnum;
sysnum
logic system number, its values are sys1 to sys12
flag
Switch state, its values are disable or enable; If it's enable sd switch is on, if
disable sd switch is shut down in default disable
:apsc-set-sdflag:sys2,enable;
#21:szhw>
:apsc-get-sdflag:sys2;
APS SDFLAG
SYS
STATE
sys2
enable
Total records :1
#21:szhw>

1-4-39

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.7.10 Start/Stop linear APS protocol controller


Format
Parameter
Example
of output
window

:lpsc-start:lpsid,dir; / :lpsc-stop:lpsid,dir;
lpsid
controller ID, for OptiX2500+ its values are id1 to id12; for OptiX155/622 its
values are id1 to id5
dir
Controller direction, its values are east , west
:lpsc-start:id1,east;
szhw>

4.7.11 Set/Query linear switching restoration time


Format
Parameter

Example
of output
window

:lpsc-set-restoretime:lpsid,restoretime; / :lpsc-get-restoretime:lpsid;
lpsid
controller ID, for OptiX2500+ its values are id1 to id12; for OptiX155/622 its
values are id1 to id5
restoretim Switchover recovery time, its value is digit second
e
:lpsc-set-restoretime:id1,19;
#21:szhw>
:lpsc-get-restoretime:id1;
LPS RESTORE-TIME
ID
RESTORE-TIME
id1
19
Total records :1
#21:szhw>

4.7.12 Query the current state of linear APS protocol controller


Format

:lpsc-get-state:lpsid,dir;
lpsid

Parameter

Example
of output
window

controller ID, for OptiX2500+ its values are id1 to id12; for OptiX155/622 its
values are id1 to id5
dir
Controller direction, its values are east, west
:lpsc-get-state:id1,west;
LPS STATE
ID
DIR
STATE
SW_DIR
id1
nodir
IDLE
0xff
Total records :1
#21:szhw>

4.7.13 Query linear protection switching event


Format
Parameter

Example
of output
window

:lpsc-get-event:lpsid,dir;
lpsid
controller ID, for OptiX2500+ its values are id1 to id12; for OptiX155/622 its
values are id1 to id5
dir
Controller direction, its values are east, west
:lpsc-get-event:id1,west;
LPS EVENT
ID
DIR
EVENT-NO EVENT
PARAS TIME
TIMESTAMP
id1
nodir
3250
K_SENDS 0x3000 2001-8-27 9:38:50 0x0a7225b0
id1
nodir
3251
OTHERS
0x0000 2001-8-27 9:38:50 0x0a7225bc
id1
nodir
3252
K_SENDS 0x3000 2001-8-27 9:38:50 0x0a7225e9
Total records :3
1-4-40

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

#21:szhw>

4.7.14 Set /Query the SD flag of linear MSP protection


Format
Parameter

Example
of output
window

:lpsc-set-sdflag:lpsid,flag; / :lpsc-get-sdflag:lpsid;
lpsid
controller ID, for OptiX2500+ its values are id1 to id12; for OptiX155/622 its
values are id1 to id5
flag
Switch its values are enable or disable, in default disable; for OptiX155/622
0 or 1;
:lpsc-set-sdflag:id1,enable;
#21:szhw>
:lpsc-get-sdflag:id1;
LPS SDFLAG
ID
STATE
id1
enable
Total records :1
#21:szhw>

4.7.15 Set the mailbox report (Do not use it under normal cases)
Format
Parameter
Example
of output
window

:apsc-set-mbrep:bid,flag;
bid
Parameter value, card number its value is digit
flag
Boolean variable, its value is true, false
:apsc-set-mbrep:1,true;
#21:szhw>
:apsc-set-mbrep:1,false;
#21:szhw>

4.7.16 Query the aps_fatal database


Format
Parameter
Example
of output
window

:dbms-query:dbname,blockname;
Dbname
string, max length is 16
blockname drdb,fdb0,fdb1
:dbms-query: "aps_fatal.dbf ",drdb;
APS_FATAL.DBF
record num BID EVENT
OCCTIME
CURPTR
1
00
08
0c01080e1006 00
2
00
08
0c01080e1006 00
3
00
08
0c01080e1006 00
4
00
08
0c01080e1006 00
5
00
08
0c0108132f22 00
Total records :5
#21:szhw>

4.8 Other types of commands


4.8.1 Query the errors on the SCC board
Format
Parameter
Example
of output
window

:errlog;
Null
:errlog;
ResetLog:: total reset times = 92
No.76: 2001-12-27 8:29:6

1-4-41

OptiX High-level Training Manual


No.77:
No.78:
No.79:
No.80:
No.81:
.#21:szhw>

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

2001-12-27 14:11:11
2001-12-27 14:55:6
2001-12-31 11:53:33
2001-12-31 14:22:35
2002-1-4 8:42:5

4.8.2 Query the version of the SCC card


Format
Parameter
Example
of output
window

:ver;
Null
:ver;
Huawei Cop, SBS2500+ & 10G BIOS 6.04, WatchDog Enable
NeSoft(D) 4.05.02.08 <Dec 11 2000 17:02:31>
#21:szhw>
:ver;
SBS155/622/2500/W32BIOS V2.15.01 BD1.3 Sep 18 2000 22:44:53
NeSoft(D) 4.01.16.02 <Oct 10 2000>
szhw>

4.8.3 Reset the SCC card (Use it with caution)


Format
Format
Example
of output
window

:reset;
Null
:reset;
szhw>

4.8.4 Clear SCC card program (Use it with caution)


Format
Parameter
Example of
output
window

:erase-all; only OptiX2500+ / :erase;


Null
:erase;
szhw>

1-4-42

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.8.5 Clear the specified nesoft program or BIOS program (Use it with caution)
OptiX2500+
Format
Parameter
Example
of output
window

:sys-erase-nesoft:nesoft_name;
:nesoft_nam Name of main program, character string type, its values are NSF1, NSF2 or
e
BIOS.
:sys-erase-nesoft:"NSF1";
#21:szhw>

4.8.6 Query the installed nesoft software and BIOS version number and name
OptiX2500+
Format
Parameter

Example
of output
window

:sys-get-nesoftver;
Null
:sys-get-nesoftver;
nesoft version information
NAME VER
DATE
NSF1 4.05.02.08 20001211
NSF2 4.05.02.08 20001211
BIOS 6.01.05 08 20010418
Total records :3
#21:szhw>

4.8.7 Query the running nesoft software name OptiX2500+


Format
Parameter
Example
of output
window

:sys-get-curnesoft;
Null
:sys-get-curnesoft;
current run nesoft is
NSF1
Total records :1
#21:szhw>

1-4-43

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

CHAPTER 4 4.01 & 4.05 COMMAND LINE LIST


4.1 USER MANAGEMENT TYPE

1-4-1
1-4-1

4.1.1 User login

1-4-1

4.1.2 User logout

1-4-1

4.1.3 Browse the user database

1-4-1

4.1.4 Add user

1-4-2

4.1.5 Delete a specified user

1-4-2

4.1.6 Browse the user list

1-4-2

4.1.7 Edit user

1-4-2

4.1.8 Browse the logging user table

1-4-3

4.1.9 Force the specified user to quit

1-4-3

4.1.10 Automatically quit the parameter setting

1-4-3

4.2 CONFIGURATION MANAGEMENT TYPE

1-4-3

4.2.1 Set/Query date

1-4-3

4.2.2 Query current state of NE

1-4-3

4.2.3 Set/Query time

1-4-4

4.2.4 Configuration checkout or change configuration

1-4-4

4.2.5 Initialize the NE

1-4-4

4.2.6 Configure/Query parameters of physical NE

1-4-4

4.2.7 Install/Dismantle/Query physical board

1-4-5

4.2.8 Query the state of NE board

1-4-5

4.2.9 Query the board version OptiX2500+

1-4-6

4.2.10 Configure/Query the active/standby relation of XCS board OptiX2500+

1-4-6

4.2.11 Create/Delete/Query the logic system

1-4-6

4.2.12 Configure the name of logic system

1-4-7

4.2.13 Configure/Query the attribute of the logic system

1-4-7

4.2.14 Partition of the logic system

1-4-7

4.2.15 Query the logic partition of NE slot

1-4-8

4.2.16 Configure/Query the relationship of linear MS

1-4-8

4.2.17 Configure/delete/Query the service

1-4-9

4.2.18 Configure the attribute of subnet connection service OptiX2500+

1-4-9

4.2.19 Query the attribute of subnet connection service OptiX2500+

1-4-10

4.2.20 Configure/Delete/Query the subnet connection service group OptiX2500+

1-4-10

4.2.21 SNCP external operation OptiX2500+

1-4-11

4.2.22 Query SNCP service OptiX2500+

1-4-11

4.2.23 Query the status of SNCP service OptiX2500+

1-4-11

4.2.24 Set the board configuration saving OptiX2500+

1-4-12

4.2.25 Set/Query B1, B2, B3 over and SD threshold on LU board

1-4-12

1-4-44

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.2.26 Set/Query B3, BIP2 over and SD threshold on TU board

1-4-12

4.2.27 Set/Query TPS protection relation

1-4-13

4.2.28 Enable/Disable/Query EIPC controller OptiX2500+

1-4-13

4.2.29 Set/Query TPS wait to restore time OptiX2500+

1-4-14

4.2.30 Set/Clear TPS forced/manual switching OptiX2500+

1-4-14

4.2.31 Query TPS switching state OptiX2500+

1-4-14

4.2.32 Set/Query TU parameter (PDH interface unit)

1-4-14

4.2.33 Query the impedance of TU OptiX2500+

1-4-15

4.2.34 Set/Query order-wire parameter OptiX2500+

1-4-15

4.2.35 Set/Query clock parameter OptiX2500+

1-4-17

4.2.36 Query the currently working clock source OptiX2500+

1-4-18

4.2.37 Query the clock sources prohibited for switching OptiX2500+

1-4-18

4.2.38 Query the working mode of current clock source OptiX2500+

1-4-19

4.2.39 Query all the existing clock source OptiX2500+

1-4-19

4.2.40 Query the forced switching mode of clock source OptiX2500+

1-4-19

4.2.41 Query the currently working source and its SSM OptiX2500+

1-4-19

4.2.42 Query all the sources and their SSM OptiX2500+

1-4-19

4.2.43 Query the SSM configured manually

1-4-20

4.2.44 Query clock source ID OptiX2500+

1-4-20

4.2.45 Set/Query the parameter of PMU

1-4-20

4.2.46 Set the time of laser on/off OptiX2500+

1-4-20

4.2.47 Switch/Query/Testing on/off laser OptiX2500+

1-4-21

4.2.48 Set/Query VC4 loopback OptiX2500+

1-4-21

4.2.49 Set/Query high-order path overhead mode

1-4-21

4.2.50 Set/Query monitoring of unused path OptiX2500+

1-4-22

4.2.51 Set/Query J2 byte

1-4-22

4.2.52 Set/Query alarm reverse state OptiX2500+

1-4-23

4.2.53 Checkout consistency of the board parameter

1-4-23

4.2.54 Startup/Stop error testing OptiX2500+

1-4-23

4.2.55 Set/Query sub-rack temperature threshold OptiX2500+

1-4-24

4.2.56 Query sub-rack temperature

1-4-24

4.2.57 Switch of active/standby cross-connect unit OptiX2500+

1-4-24

4.2.58 Query current active XC board OptiX2500+

1-4-25

4.2.59 Query the XC data in logic layer OptiX2500+

1-4-25

4.2.60 Query the board configuration data in physical layer

1-4-25

4.2.61 Query the timeslot configuration on XC board OptiX2500+

1-4-25

4.2.62 Query the board configuration

1-4-26

4.3

1-4-26

ALARM MANAGEMENT TYPE

4.3.1 Query the alarm event code list

1-4-26

4.3.2 Query current/history alarm

1-4-26

1-4-45

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.3.3 Query the alarm record in mailbox

1-4-27

4.3.4 Enable/Disable/Query alarm auto report into mailbox

1-4-27

4.3.5 Set/Cancel/Query the alarm anti-detect function

1-4-28

4.3.6 Set/Query the alarm reverse mode

1-4-28

4.3.7 Set/Cancel/Query alarm reverse

1-4-28

4.4 PERFORMANCE MANAGEMENT TYPE

1-4-28

4.4.1 Query the performance event code list

1-4-28

4.4.2 Query the performance event code list on board

1-4-29

4.4.3 Set/Cancel/Browse the performance event monitoring

1-4-29

4.4.4 Set the NE start/stop monitoring time

1-4-29

4.4.5 Set/Browse the performance event auto report

1-4-30

4.4.6 Query the current/history data of performance event

1-4-30

4.4.7 Query the start/end time of NE 15m/24h monitor period

1-4-31

4.4.8 Set/Cancel/Query zero suppress of performance event report

1-4-31

4.5 COMMUNICATION TYPE

1-4-32

4.5.1 Set/Query route

1-4-32

4.5.2 Reset optical port OptiX2500+

1-4-32

4.5.3 dd/Delete/Query a network connection route

1-4-32

4.5.4 Query the NM access status

1-4-33

4.5.5 Query path data transceiver information OptiX2500+

1-4-33

4.5.6 Query the path error information OptiX2500+

1-4-33

4.5.7 Query the board information OptiX2500+

1-4-34

4.5.8 Query the optical port type of the board OptiX2500+

1-4-34

4.5.9 Set/Query IP address

1-4-34

4.5.10 Set/Query number of the subnet

1-4-35

4.5.11 Set GNE IP address OptiX155/622

1-4-35

4.5.12 Query/set subnet netmask

1-4-35

4.5.13 Set/Query ECC manual connection OptiX2500+

1-4-35

4.6 DATABASE OPERATION COMMANDS

1-4-36

4.6.1 Query the contents of the specified database

1-4-36

4.6.2 Backup all the databases

1-4-36

4.6.3 Query the database refresh time

1-4-36

4.6.4 Clear the database

1-4-36

4.6.5 Compare all the database of different plan area

1-4-36

4.6.6 Compare all the database of different plan areas

1-4-37

4.6.7 Copy all the database of different plan areas

1-4-37

4.6.8 Copy all the database of different plan areas

1-4-37

4.7 PROTECTION COMMANDS AND RESPONSE

1-4-37

4.7.1 Clear/- Forced two-fibers multiplex section switching

1-4-37

4.7.2 Clear/- Two-fibers multiplex section manual switching

1-4-37

1-4-46

OptiX High-level Training Manual

Part 1 Using the Command Lines


Chapter 4 4.01&4.05 Command Line List

4.7.3 Start/Stop the APS protocol controller

1-4-38

4.7.4 Set/Query the APS protocol controller parameter

1-4-38

4.7.5 Query the two-fiber multiplex section protection ring LU board parameter of OptiX2500+ 1-438
4.7.6 Query the two-fiber multiplex section protection ring cross-connect board parameter of
OptiX2500+

1-4-38

4.7.7 Query the two-fiber multiplex section protection ring switching event

1-4-39

4.7.8 Query the two-fiber multiplex section protection ring switching state

1-4-39

4.7.9 Set/Query the SD flag of the two-fiber multiplex section protection ring on or not

1-4-39

4.7.10 Start/Stop linear APS protocol controller

1-4-40

4.7.11 Set/Query linear switching restoration time

1-4-40

4.7.12 Query the current state of linear APS protocol controller

1-4-40

4.7.13 Query linear protection switching event

1-4-40

4.7.14 Set /Query the SD flag of linear MSP protection

1-4-41

4.7.15 Set the mailbox report (Do not use it under normal cases)

1-4-41

4.7.16 Query the aps_fatal database

1-4-41

4.8 OTHER TYPES OF COMMANDS

1-4-42

4.8.1 Query the errors on the SCC board

1-4-42

4.8.2 Query the version of the SCC card

1-4-42

4.8.3 Reset the SCC card (Use it with caution)

1-4-42

4.8.4 Clear SCC card program (Use it with caution)

1-4-42

4.8.5 Clear the specified nesoft program or BIOS program (Use it with caution) OptiX2500+ 1-4-43
4.8.6 Query the installed nesoft software and BIOS version number and name OptiX2500+

1-4-43

4.8.7 Query the running nesoft software name OptiX2500+

1-4-43

1-4-47

Anda mungkin juga menyukai