Professional Documents
Culture Documents
MoshellPresentation Frank Latest
MoshellPresentation Frank Latest
Frank Endries
UTRAN support engineer
GSDC Australia
PART 2 (terminal):
• Description of commands, examples
Concepts
= CPP Products
MoId
ManagedElement=1 (root MO) MOClass
ManagedElement=1,Equipment=1
ManagedElement=1,Equipment=1,Subrack=MS
ManagedElement=1,Equipment=1,Subrack=MS,Slot=19
ManagedElement=1,Equipment=1,Subrack=MS,Slot=19,PlugInUnit=1
ManagedElement=1,Equipment=1,Subrack=MS,Slot=19,PlugInUnit=1, Program=DbmFpga
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS,Slot=19
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS,Slot=19,PlugInUnit=1
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS,Slot=19
Network=H3GA,Utran=Rnc1,MeContext=Rbs03,ManagedElement=1,Equipment=1,Subrack=MS,Slot=19,PlugInUnit=1
1. Offline Mode
2. Interactive Mode
3. Script Mode
Offline Mode:
• Command: moshell
1. Offline Mode
2. Interactive Mode
3. Script Mode
1. Offline Mode
2. Interactive Mode
3. Script Mode
Example:
moshell rbs28 ~/tools/moshell/cmdfiles/runSwTest.cmd
moshell rnc5 'lh mp te log read; lt plug ; st all dis ; get all all '
Note:
In addition, ‘mobatch’ can be used to run a set of commands towards multiple nodes
in a network automatically, please refer to helpfile for mobatch by just typing
‘mobatch’
• All MO(s) with the given proxy id(s) will be operated upon.
To specify several MO proxies, there are two ways:
– Specify each Proxy ID with a space in between. Example:
pr 0 2 5 to print the MO proxies 0, 2 and 5.
– Give a range of Proxy IDs. Examples:
pr 4-10 prints MO proxies from 4 to 10.
acc 10-20 restart calls the action restart on MOs with proxy 10 up
to 20.
Example:
l+ #open the logfile, an arbitrary name will be given
prod loadmodule #run the command
l- #close the logfile
l sort $logfile #run unix command sort on the logfile.
l grep -i basic $logfile
Note: $logfile is automatically set by MoShell to contain the name
of the latest log file created.
Examples:
lc 0
load children of the ManagedElement
lcc 0
load children of the ManagedElement and all subsequent children (same
as lc all or lt all).
lc 4 6 7
load children of proxys 5, 6, and 7
lc cell=3002
loads children of all MOs whose RDN match cell=3002
lcc ms-24-1
loads children of all MOs whose RDN match ms-24-1
Two-step example: To put all unlocked-disabled MOs in a group in order to lock them:
ma test all operational 0
ma test1 test administ 1
bl test1
Remove MOs from a MO group. Exactly the same syntax as ma described before except
that the MOs matching will be removed from the MO-Group instead of added.
mp
To print the available MO-Groups.
Note: To print the contents of a group, use the pr <mo-group> command.
The ba command is used for adding boards into a group. The boards shall be identified by
their position or a string matching the board type. The s switch adds any related SPMs to the
board group.
Examples:
•ba group1 1 2 4-8 114-119 - boards 000100, 000200, 000400 to 000800, 011400 to 011900
are added to group1
•bas group1 223-226 - boards 022300 to 022600 are added to group1, together with their
related SPs (if these boards are SPBs).
•ba group1 spb scb 3 4 - all boards of type matching spb and scb are added to group1 as well
as boards 000300 and 000400
The br command is for removing a whole group or certain boards out of a group. Examples:
•br group1 1 3 gpb - boards 000100, 000300 and all boards of type matching gpb are removed from
group1
•br group2 - group2 is removed
The bp command is for printing existing groups or the contents of a particular group. Examples:
•bp - all existing groups are shown, eg: group1 and all
•bp all - the contents of the group all is shown.
Once the group is created, the lh command is used to run an OSE command on all boards of the group.
lh all or just all can be used to run a command on all boards of the node. Examples:
lh group1 te log read lh group1 te log read | grep ERROR: lh all vii OR: all vii lh all te log read | grep ERROR:
OR: all err (special shortcut)
Examples:
strf | grep 3011 str1f | sort +1 (sort on the second field)
This command will execute an OSE delta command on the specified board
Most common usage:
• lhsh 001400 te log read Obtain log file for this board (here module MP 1)
• lhsh 001400 pglist List the loaded programs on that module
• lhsh 001500 llog –l Obtain error log
• lhsh 001200 vii Get LED status of board
• Note that the commands can also be run through Moshell lh command, e.g.:
• lh mod1 te log read te log read on module MP 1
• lh all te log read te log read on all boards
Once the trace is active, it logs to the TE log, note that this is limited in size
Type ‘mon’ and the monitor loadmodule will get loaded. Now it is possible
to connect from another terminal to the node and receive the output:
Output can be further piped through tools like ‘decoder.pl’ and ‘flow.awk’
Q.Aal2
A2AP Q.Aal2
A2AP
Aal2SP
Handle ERQ Aal2 Path (eg vci 39) Aal2 Path (eg vci 39)
These are 8 exercises in one, each with different faults. Consider looking at RBS,
RNC and RXI