05-Standard of Command Line Provisioning File For SDH Equipment
05-Standard of Command Line Provisioning File For SDH Equipment
05-Standard of Command Line Provisioning File For SDH Equipment
1)Purpose
This specification aims at standardizing the contents and format of the MML
batch files and specifying the data that need to be configured in the MML for
the convenience of future maintenance. For the office deployed after the
specification is issued, its MML should be written in accordance with this
specification. Software project QC to be conducted hereafter shall also refer
to this specification. The statements that fall short of the writing specification
in the MML files will be handled as off-specification items.
2) All the commands should be sent one by one by pressing the "Y" key
after a prompt shows up in the command entry window.
3 ) After the batch files are sent and checked successfully and the NE
status becomes stable, the databases (drdb, fdb0 and fdb1) must be
backed up using the following commands:
:dbms-copy-all:mdb,drdb;
:dbms-backup-all:fdb0;
:dbms-backup-all:fdb1;
4) When the command is sent from the "sbsterm" in the workstation, the
writing format of "#5:cfg-set-stgpara:sync=intr:" cannot be used. Instead, it
should be written in two lines:
#5:
:cfg-set-stgpara:sync=intr;
5 ) For 155/622H, it is probable that the result back display of the 4.02
serial commands can be inexplicable. In this case, the command
":tm155a:false" can be used to convert it into the format we habitually use.
2-1
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
1 ) The first line of the batch file cannot be a null line, otherwise the
"sbsterm" software of the workstation will not give the prompt of "(Yes, No,
or All)".
#1:login:1,"nesoft";
:tm155a:false;
The set display mode is false. If it is set as true, a large bunch of 155A-
exclusive return codes will be returned whenever a command is sent, which
is quite difficult to understand, so normally the above command is sent.
:per-set-endtime:15m&24h,1990-0-0,0*0;
:cfg-init<sysall>;
:cfg-create-lgcsys:sys1&sys2;
:cfg-set-sysname<sys1>: "ring1";
:cfg-set-sysname<sys2>: "shanghai";
2-2
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
The name of the logic system must be defined, or the display of logic
system names in the network management will likely be abnormal.
Advise that the logic system should be defined with the direction connected
by the relevant line unit : the logic system is defined as "ring" if it's a
ring,or "the name of the opposite station" if it's a chain。
:cfg-create-board:4,pd2d:11,oi2d:12,oi2s:9,x42:15,stg:18,ohp2;
:cfg-set-ohppara:tel1=101:meet=999;
:cfg-set-ohppara:reqt=5:dial=dtmf;
:cfg-set-ohppara:rax=sys1&sys2;
:cfg-set-stgpara:sync=w1s8k :syncclass=w1s8k&intr;
:cfg-set-gutumap<sys1&&sys2>:t4,4,pd2d,0;
:cfg-set-gutumap<sys1>:gw1,11,oi2d,1;
:cfg-set-gutumap<sys1>:ge1,11,oi2d,2;
:cfg-set-gutumap<sys2>:ge1,12,oi2s,0;
:cfg-set-gupara<sys1,gw1>:src2=tugs:stc2=tugs;
:cfg-set-gupara<sys1,ge1>:src2=tugs:stc2=tugs;
:cfg-set-gupara<sys2,ge1>:src2=tugs:stc2=tugs;
:cfg-set-tupara:tu4,1&&10,p&75o;
:cfg-set-tupara:tu4,11&&32,np&75o;
:cfg-set-xcmap<sys1&&sys2>:xlwork,9,x42;
2-3
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:cfg-set-attrib<sys1>:155:2f:uni:pp:ring:adm;
:cfg-set-attrib<sys2>:155:2f:bi:nopr:line:tm;
:cfg-init-slot<sysall>;
:cfg-create-vc12:sys1,gw1,1&&10,sys1,t4,1&&10;
:cfg-create-vc12:sys1,t4,1&&10,sys1,ge1,1&&10;
:cfg-create-vc12:sys2,ge1,11&&20,sys2,t4,11&&20;
:cfg-create-vc12:sys2,t4,11&&20,sys2,ge1,11&&20;
Notes must be given after time slot configuration to mark the direction of the
time slot. For the adding and dropping VC12 payloads of this station, the
format of Notes is "//name of the station-- name of the opposite end station-
number of VC12* time slots"; for VC4 payloads, the format of Notes is
"//name of the station-- opposite end station name VC4-which VC4". The
VC4 numbers at both ends should be consistent (for example, both of them
should be the first VC4); for the pass-through payloads of this station, the
format of Notes is "//pass-through" or more detailed notes. The payloads of
different destinations can be separated by null strings. It is believed that
notes made in this way will also be beneficial to the notes maker.
:cfg-checkout;
20)Querying NE status
:cfg-get-nestate;
This standard is to unify the writing contents and writing format of command
line provisioning batch files, and to specify the configuration data in
2-4
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
command line and make the future maintenance convenient. For the project
which is deployed after the issuing date of this standard, the statements in
its command line file should also be written according to this standard. And
the future quality inspection of software should also be executed according
to this standard. The statements which do not accord with this standard will
be treated invalid.
4) After provisioning batch files are all sent and verified successfully, wait till
the NE states are stable, then execute the following commands one by one
to back up database of NE software (drdb, fdb0 and fdb1).
:dbms-copy-all:mdb,drdb;
:dbms-backup-all:fdb0;
:dbms-backup-all:fdb1;
#5:
:cfg-set-stgpara:sync=intr;
That means, in order to switchover the operated NE, only the "#5:" format is
available.
2-5
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:per-set-endtime:15m&24h,1990-0-0,0*0;
This statement is to avoid that large amount of performance data is reported
and sending of provisioning batch file will be blocked. If there is any
performance data reported, the following command should not be sent until
the report is over. After sending all commands in batch file, start
performance monitoring finally.
4) Initialize the NE
:cfg-init<sysall>;
5) Set NE parameters
:cfg-set-nepara:nename="1-head
office":device=sbs622:bp_type=type3:gne=true;
:cfg-create-lgcsys:sys1&&sys2;
:cfg-set-sysname<sys1>: "sys1";
:cfg-set-sysname<sys2>: "sys2";
Note: The logical system name must be defined, otherwise, the display of
logical system name on NMS might be abnormal.
:cfg-create-board:1&&3,pd1:4,tda:9,gtc:11&12,sl4:13,sl1:15,stg:18,ohp2;
:cfg-set-gtcpara:work_mode=main;
:cfg-set-ohppara:tel1=1101:meet=9999;
:cfg-set-ohppara:reqt=5:dial=dtmf;
2-6
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:cfg-set-ohppara:rax=sys1;
:cfg-set-stgpara:sync=w1s8k :syncclass=w1s8k&intr;
:cfg-set-stgbackup:12,stg ,0;
:cfg-set-stgbackup:13,stg ,1;
If a NE has two STG units, the active/standby relation between these two
units should be set, as illustrated in the second and third statements.
Otherwise, it is not required.
:cfg-set-gutumap<sys1>:gw1&&gw4,11,sl4,0;
:cfg-set-gutumap<sys1>:ge1&&ge4,12,sl4,0;
:cfg-set-gutumap<sys2>:gw1,13,sl1,0;
:cfg-set-gutumap<sys1&sys2>:t1,1,pd1,0;
:cfg-set-gutumap<sys1&sys2>:t2,2,pd1,0;
:cfg-set-gutumap<sys1&sys2>:t3,3,pd1,0;
:cfg-set-gutumap<sys1&sys2>:t4,4,tda,0;
:cfg-set-gupara<sys1,gw1&&gw4>:srj1="HuaWei SBS":stj1="HuaWei
SBS";
:cfg-set-gupara<sys1,gw1&&gw4>:src2=tugs:stc2=tugs;
:cfg-set-gupara<sys1,ge1&&ge4>:src2=tugs:stc2=tugs;
:cfg-set-gupara<sys2,gw1>:src2=tugs:stc2=tugs;
For the project which is deployed newly, this setting is not required
generally, and the default is used (By default, the J1 bytes which should be
2-7
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
received and sent are HuaWei SBS). For the upgrading and expansion of
existing network, this setting might be required, so as to keep J1 and C2
bytes consistent with the exitsting ones of other NEs, refer to Data Setting
standard for details.
:cfg-set-tupara:tu1&&tu3,1&&32, np&75o;
:cfg-set-tupara:tu4,1&&4, np&75o;
:cfg-set-xcmap<sys1&sys2>:xlwork,9,gtc;
:cfg-set-attrib<sys1>:622:2f:bi:msp:ring:adm;
:cfg-set-attrib<sys2>:155:2f:bi:nopr:line:tm;
:cfg-init-slot<sysall>;
:cfg-create-vc12:sys1,t1,1&&32,sys1,ge1,1&&32;
:cfg-create-vc12:sys1,gw1,33&&48,sys1,ge1,33&&48; //passing
through
:cfg-create-vc12:sys1,ge1,33&&48,sys1,gw1,33&&48;
:cfg-create-vc12:sys1,t4,1,sys1,ge1,63;
2-8
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
VC12*timeslot quantity; for VC4 traffic, the comment format is //this station
name -- opposite station name VC4- number, the VC4 numbers at both
ends should be consistent (e.g., both are VC4-1); for the traffic passing
through in this station, the comment is //pass through, or in more details.
The traffics with different destinations can be spaced by an blank line. For
the method of configuring TDA traffic, please refer to the relative file, which
is required to be mastered by each engineer.
:apsc-set-para:sys1,0,1,600;
20) Checkout all the configurations and download them to each unit
:cfg-checkout;
:cfg-get-nestate;
This standard is to unify the writing contents and writing format of command
line provisioning batch files, and to specify the configuration data in
command line and make the future maintenance convenient. For the project
which is deployed after the issuing date of this standard, the statements in
its command line file should also be written according to this standard. And
the future quality inspection of software should also be executed according
to this standard. The statements which do not accord with this standard will
be treated invalid.
4) After provisioning batch files are all sent and verified successfully, wait till
the NE states are stable, then execute the following commands one by one
to backup database of NE software (fdb0 and fdb1).
:dbms-backup-all:fdb0;
:dbms-backup-all:fdb1;
2-9
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
#5:
:cfg-set-stgpara:sync=sets;
That means, in order to switchover the operated NE, only the "#5:" format is
available.
:login:1,"nesoft";
Write in two lines separately, and note that there should be no space after
"#1:", otherwise, it can not be sent to the correct NE!!
4) Initialize the NE
:cfg-init<sysall>;
5) Set NE parameters
:cfg-set-nepara:nename="1-
shenzhen":device=sbs2500+:bp_type=enhance:gne=true;
2-10
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:cfg-create-lgcsys:sys1&&sys2;
:cfg-set-sysname<sys1>: "sys1";
:cfg-set-sysname<sys2>: "sys2";
:cfg-set-attrib<sys1>:2500:2f:bi:msp:ring:adm;
:cfg-set-attrib<sys2>:155:2f:bi:nopr:line:tm;
These two commands must be ahead of the commands which set the
mapping from physical equipment to logical equipment.
:cfg-create-board:2,ba2:3&4,pq1:5&6,s16:7&8,xcs:10,sde:16:pq1:17:eipc;
The board position of PMU is 19, but it's not necessary to create this board
in command line. After the OptiX equipment is powered on, the PMU will
enter running state automatically. The last work to do is to add PMU in
board-position window of NMS after provisioning.
:cfg-set-workback:0,7,8;
:cfg-set-stgpara:syncclass=ex18k&sl5p1&sets;
2-11
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:cfg-set-gutumap<sys1>:g1wall,5,s16,1;
:cfg-set-gutumap<sys1>:g1eall,6,s16,1;
:cfg-set-gutumap<sys2>:g1w1,10,sde,1;
:cfg-set-gutumap<sys1&&sys2>:t3p1,3,pq1,0;
:cfg-set-gutumap<sys1&&sys2>:t4p1,4,pq1,0;
14) Set parameters of LU (usually take the default value instead of setting
the parameters manually)
:cfg-set-gupara:iu5,0,src2=tugs:stc2=tugs;
:cfg-set-gupara: iu6,0,src2=tugs:stc2=tugs;
:cfg-set-gupara:iu10,0,src2=tugs:stc2=tugs;
:cfg-set-gupara:iu16,0,src2=tugs:stc2=tugs
For the project which is deployed newly, this setting is not required
generally, and the default is used (By default, the J1 bytes which should be
received and sent are HuaWei SBS). For the upgrading and expansion of
existing network, this setting might be required, so as to keep J1 and C2
bytes consistent with the exitsting ones of other NEs, refer to Data Setting
standard for details.
:cfg-set-tupara:iu3&iu4,1&&63, np;
//shenzhen--guangzhou VC12*16
:cfg-create-vc12:sys1,g1w4,1&&16,sys1,t3p1,1&&16;
:cfg-create-vc12:sys1,t3p1,1&&16,sys1,g1w4,1&&16;
2-12
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
:apsc-set-para:sys1,0,4,600;
18) Checkout all the configurations and download them to each unit
:cfg-checkout;
:cfg-get-nestate;
2-13
OptiX High-level Training Manual Part 2 Equipment Commissioning
Chapter 5 Standard of Command Line Provisioning
File for SDH Equipment
5.1.1 Announcements...........................................................................................2-5-1
5.2.1 Announcements...........................................................................................2-5-4
5.3.1 Announcements...........................................................................................2-5-9
2-14