: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.
:logout
Parameter
Null
:logout
Example
of output
window
LOGOUT EVENT
USER-NAME
szhw
>
Will show you the users that have been logged out.
Example
of output
window
:um-get-users:user name;
:um-get-users;
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
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.
:um-del-user:user name;
user name
Character string type, max length is 8
:um-del-user:root
szhw>
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
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.
:um-get-loginuser;
Null
:um-get-loginuser;
LOGIN USERS
USER-NAME USER-ID TYPE
TERMINAL
1-4-2
DURATION LOGINTIME
f&F
net
0x20090004 10
0x74090002 0
:quit:username;
username
string, max length is 8
: quit:"sdh";
LOGOUT EVENT
USER-NAME
:um-set-autoquittime: timevalue;
timevalue
Figure max 10000
:um-set-autoquittime:10;
#21:szhw>
:cfg-get-nestate;
Null
:cfg-get-nestate;
NE STATE : running
#21:szhw>
1-4-3
2002-1-5 10:14:47
2001-11-22 8:23:50
0
0
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>
:cfg-init<sysall>;
Null
:cfg-init<sysall>;
szhw>
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
gne
Gateway NE true or false:
:cfg-get-nepara;
DEVICE TYPE : sbs2500+
SHELF TYPE : enhance
GNE
: true
NE NAME
: NE21
1-4-4
Example
of output
window
,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>
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
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
:cfg-set-workback:mode,workbid,backbid; / :cfg-get-workback;
mode
Parameter
Example
of output
window
workbid
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.
Example
of output
window
1-4-6
: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>
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;
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
szhw>
Remarks: Optical port partition is equivalent to the VC4 partition of the entire path in optical
port.
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
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>
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
parameter
Example
of output
window
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.
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
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;
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;
: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
:cfg-set-sncoprt:sys1,gw1,1&2,sys2,gw1,1&2,vc12,clear;
#21:szhw>
:cfg-get-sncsvc:sysnum;
sysnum
Logic system number sys1~sys48
:cfg-get-sncsvc:sysall;
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;
: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
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
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.
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.
Parameter
Example
of output
window
:cfg-set-tpsactive:gid,state; / :cfg-get-tpsactive;
gid
Protection group number, id1 means group 1, id2 means group
1-4-12
Example
of output
window
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
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.
Example
of output
window
:tps-get-swstate:gid;
gid
Protection group number, id1 means group 1, id2 means group 2
:tps-get-swstate:id1;
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
LBMODE
nolb
nolb
REQB
E1ORT1
: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>
: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
1-4-15
Example
of output
window
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>
:cfg-set-stgpara:paraitem=paravalue; / :cfg-get-stgpara;
1-4-16
parameter
Example
of output
window
1-4-17
: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>
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>
:stg-get-inhibited:bid;
bid
Board position of XCS
:stg-get-inhibited:7;
INHIBIT_SYN :
#21:szhw>
:stg-get-workmode:bid;
bid
Board position of XCS
:stg-get-workmode:7;
CLOCK WORK-MODE
free
Total records :1
#21:szhw>
:stg-get-allsource:bid;
Board position of XCS
bid
:stg-get-allsource:7;
SYN-SOURCE : 0x62
#21:szhw>
:stg-get-switchmode:bid;
Board position of XCS
bid
:stg-get-switchmode:7;
1-4-18
of output
window
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>
: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>
:stg-get-cfgs1:bid;
Card position of XCS working state
bid
:stg-get-cfgs1:7;
S1 CLASS(source-s1) :
#21:szhw>
: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>
: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
Example
of output
window
: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>
: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
Parameter
:cfg-open-als:iubid,lightport,state;
:cfg-get-
Example
of output
window
: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
of output
window
#21:szhw>
:cfg-get-vc4loop:iu5;
VC4 LOOP STATE
BID
PATH STATE
iu5
1
0
iu5
2
0
Total records :2
#21:szhw>
Parameter
Example
of output
window
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
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>
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
Example
of output
window
1-4-22
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
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>
Example
of output
window
:cfg-switch-xc;
Null
1-4-23
Example
of output
window
:cfg-switch-xc;
#21:szhw>
CFG XC EVENT
BID BDTYPE
BDSTATE WORKSTATE
7
xcs
xlbak
work
1-4-24
:cfg-get-workxc;
Null
:cfg-get-workxc;
WORK XCBID : 7
#21:szhw>
: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
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>
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>
:cfg-get-bdcfg:bid,bdtype;
1-4-25
parameter
Example
of output
window
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
: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)
Example
of output
window
:alm-get-curdata:bid,eid; / :alm-get-hisdata:bid,eid;
bid
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
: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>
Example
of output
window
1-4-27
Example
of output
window
:alm-set-invmode:mode; / :alm-get-invmode;
mode
Parameter
Example
of output
window
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-
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
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>
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>
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>
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
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>
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>
:per-get-starttime:termtype;
1-4-30
Parameter
Example
of output
window
: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>
Example
of output
window
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>
:ecc-reset-port:bid, port;
bid
Slot number
port
Optical port number
:ecc-reset-port:5,1;
1-4-31
#21:szhw>
Example
of output
window
1-4-32
:ecc-get-tmnaccess;
Null
:ecc-get-tmnaccess;
TMN Access Mode
LAN
Serial
NeByLan
open
open
close
Total records :1
#21:szhw>
: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>
: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
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
: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>
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
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.
: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 .
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.
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
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
:dbms-backup-all:blockname;
blockname
Parameter value, plan area its values are fdb0,fdb1
:dbms-backup-all:fdb0;
#21:szhw>
: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>
:dbms-clear-flag:blockname;
blockname
Parameter value, plan area its values are fdb0,fdb1,drdb
:dbms-clear-flag:fdb0;
#21:szhw>
: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";
: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
Example
of output
window
: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).
: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>
: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.
: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>
: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>
: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
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
#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
: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>
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>
: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>
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
#21:szhw>
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>
: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>
:errlog;
Null
:errlog;
ResetLog:: total reset times = 92
No.76: 2001-12-27 8:29:6
1-4-41
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
: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>
:reset;
Null
:reset;
szhw>
1-4-42
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>
:sys-get-curnesoft;
Null
:sys-get-curnesoft;
current run nesoft is
NSF1
Total records :1
#21:szhw>
1-4-43
1-4-1
1-4-1
1-4-1
1-4-1
1-4-1
1-4-2
1-4-2
1-4-2
1-4-2
1-4-3
1-4-3
1-4-3
1-4-3
1-4-3
1-4-3
1-4-4
1-4-4
1-4-4
1-4-4
1-4-5
1-4-5
1-4-6
1-4-6
1-4-6
1-4-7
1-4-7
1-4-7
1-4-8
1-4-8
1-4-9
1-4-9
1-4-10
1-4-10
1-4-11
1-4-11
1-4-11
1-4-12
1-4-12
1-4-44
1-4-12
1-4-13
1-4-13
1-4-14
1-4-14
1-4-14
1-4-14
1-4-15
1-4-15
1-4-17
1-4-18
1-4-18
1-4-19
1-4-19
1-4-19
4.2.41 Query the currently working source and its SSM OptiX2500+
1-4-19
1-4-19
1-4-20
1-4-20
1-4-20
1-4-20
1-4-21
1-4-21
1-4-21
1-4-22
1-4-22
1-4-23
1-4-23
1-4-23
1-4-24
1-4-24
1-4-24
1-4-25
1-4-25
1-4-25
1-4-25
1-4-26
4.3
1-4-26
1-4-26
1-4-26
1-4-45
1-4-27
1-4-27
1-4-28
1-4-28
1-4-28
1-4-28
1-4-28
1-4-29
1-4-29
1-4-29
1-4-30
1-4-30
1-4-31
1-4-31
1-4-32
1-4-32
1-4-32
1-4-32
1-4-33
1-4-33
1-4-33
1-4-34
1-4-34
1-4-34
1-4-35
1-4-35
1-4-35
1-4-35
1-4-36
1-4-36
1-4-36
1-4-36
1-4-36
1-4-36
1-4-37
1-4-37
1-4-37
1-4-37
1-4-37
1-4-37
1-4-46
1-4-38
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
1-4-40
1-4-40
1-4-40
1-4-40
1-4-41
4.7.15 Set the mailbox report (Do not use it under normal cases)
1-4-41
1-4-41
1-4-42
1-4-42
1-4-42
1-4-42
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
1-4-43
1-4-47