Moshell Amos Commands
Moshell Amos Commands
Moshell Amos Commands
How do you print the list of available commands in OSE shell of the
current board?
testRNC> ?
100728-18:11:26 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/7956
$?
Command
Description
default shell command
.
execute commands from file
?
print description of commands
a50
a50 - A50 Server status
a50d
Possible options: irqstat and help.
aal05ccfro Print CC_AalCrossConn
aal05connid Prints out NodeConnection specified by serverConnId
aal05portid Prints out RiServer instance specified by portid
.
testRNC> lt all
100728-17:56:17 testRNC 8.0h stopfile=/tmp/7956
Checking MOM version...RNC_NODE_MODEL_K_9_16
Parsing MOM:
/home/eniaosh/moshell/jarxml/RNC_NODE_MODEL_K_9_16.xml.gz ................................................................................Done.
Caching MOM to: /home/eniaosh/moshell/jarxml/RNC_NODE_MODEL_K_9_16.xml.cache .....Done.
Compressing to: /home/eniaosh/moshell/jarxml/RNC_NODE_MODEL_K_9_16.xml.cache.gz ...Done.
Using paramfile /home/eniaosh/moshell/commonjars/pm/PARAM_RNC_K_1_0.txt
Parsing file /home/eniaosh/moshell/commonjars/pm/PARAM_RNC_K_1_0.txt .....Done.
Fetching IOR file...Done.
Connecting to testRNC:56834 (CorbaSecurity=OFF, corba_class=2, java=1.6.0_20, jacoms=R51EL08, jacorb=R1B01,
jacsec=R1B01)
**** Welcome to the Simple Mo Browser (version 3.0)!
Trying file=C:/cygwin/home/eniaosh/moshell_logfiles/logs_moshell/tempfiles/20100728-175605_5700/ior5700
How do you print the user variables? What is the path to the java
software used by this moshell installation? What is the value of the
setting corba_class?
testRNC> uv
bldebset_confirmation = 1
credential
= C:/cygwin/home/eniaosh/moshell/commonjars/host.p12
corba_class
=2
corba_debug
=0
corba_timeout
= 240
corba_connection_timeout = 90
csnotiflist
= availabilitystatus
custom_param_file
=
decoder
= /vobs/iov/rnc/bin/decoder.pl
default_mom
= /home/eniaosh/moshell/jarxml/MGW_R2.xml
..
ip_database
= /home/eniaosh/moshell/sitefiles/ipdatabase
ip_inactivity_timeout = 45
java
= /cygdrive/c/Windows/system32/java
jarxmldir
= /home/eniaosh/moshell/jarxml
.
testRNC> pv
$gawk = LANG=C LC_ALL=C /home/eniaosh/moshell/gawk
$uname = CYGWIN_NT-6.0 EV001B38B9CE90 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
$ws_ip = 159.107.157.28
$logdir = /home/eniaosh/moshell_logfiles/logs_moshell
$logfile = /home/eniaosh/moshell_logfiles/logs_moshell/tempfiles/20100728-175605_5700/gaLog7956
$tempdir = /home/eniaosh/moshell_logfiles/logs_moshell/tempfiles/20100728-175605_5700
$password = *******
..
$moshelldir = /home/eniaosh/moshell
$moshell_version = 8.0h
How do you print the release history for this version of AMOS?
testRNC> h 0
############################################################################################
Revision History
############################################################################################
////////////////////////////////////////////////
CHANGES IN v8.0h (2010-06-25)
////////////////////////////////////////////////
How can you see the relation between the MOM version and the nodes
SW release?
testRNC> upid
100728-18:27:00 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/7592
Node UpgradePackage
Release/MOM CppVersion
ERBS CXP102051
L10 (A)
MGW CXP9012221
R4.2
MGW CXP9012342
R5.0
MGW CXP9012698
R5.1
MGW CXP9013522
R6.0
RBS CXP9011610
P5 (J)
RBS CXP9012073
P6 (K)
RBS CXP9012959
P7 (L)
RBS CXP9014346
P7.1/W10 (M)
RBS CXP9016141
P7.1/W10 (M)
RBS CXP9016868
W11 (M)
RNC CXP9012014
P5 (G)
RNC CXP9012123
P6.0 (H)
RNC CXP9012842
P6.1 (J)
RNC CXP9012995
P7.0 (K)
RNC CXP9013831
P7.1 (K)
RNC CXP9014711/1
W10A (L)
RNC CXP9014711/2
W10B (L)
How do you print the syntax information for the command "mom"?
testRNC> h mom
*******************************************************
mom[aptcdbrflou] [<moclass/struct/enum>] [<attribute/action>] [<attr-type>] [<attr-flags>] [<description>]
*******************************************************
Print description of MO classes, CM/FM attributes, actions, enums and structs.
Regular expressions can be used in the various filters.
There are five levels of filtering, as shown in the command syntax.
Options:
- "a" : show only the definitions relating to application MOs
- "p" : show only the definitions relating to platform MOs (CPP)
- "c" : show all the MO classes specified in the filter as well as their children/grandchildren/etc classes.
- "t" : show the whole MO tree with parent-children relationships and cardinality. The options o and u can be used to show only
the MOs over or under.
- "d" : gives a shorter printout, without the description part.
- "b" : shows the default attribute values.
- "r" : shows the valid attribute value range.
If interoperability with legacy STP bridges is wanted, the value of bridgeHelloTime is set to less than or equal to
(bridgeMaxAge/2 -10). The system does not check this relationship.
Ranges can vary between boards. Refer to the applicable unit description for details about ranges.
Unit: 1 ds (0.1 s)
Range: 10 to 100, Default=20
********************************************************************************************************
****************************
*************************************************************************************
***************************
11 View the attributes and action list, without description, for all
descriptions containing the word restart.
testRNC> momd . restart
100728-18:37:49 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/7592
########################################################################################################
############################
MO Class
Attribute
Type
Flags
########################################################################################################
############################
Mtp3bSpChina
restartType
enumRef:RestartType
PiuType
defAllowedSeqRestarts
enumRef:SeqRestarts
restricted,noNotification,mandatory
PlugInUnit
allowedSeqRestarts
enumRef:SeqRestarts
Program
restartCounterLimit
long
Program
restartTimer
long
..
12 Determine from the MOM the list of MO classes that can be defined
underneath the MO class SccpScrc.
testRNC> momt sccpscrc
100728-18:39:19 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/7592
-------------------------------MO classes over SccpScrc
-------------------------------TransportNetwork[1],SccpSp[0-24],SccpScrc[1]
-------------------------------MO classes under SccpScrc
-------------------------------SccpAccountingCriteria[0-100]
SccpApLocal[0-7]
SccpApRemote[0-200]
SccpEntitySet[0-2048]
SccpGlobalTitle[0-2048]
SccpPolicing[0-1024]
UpgradePackageState
0:NOT_INSTALLED, 1:INSTALL_COMPLETED, 2:UPGRADE_EXECUTING,
3:AWAITING_CONFIRMATION, 4:ONLY_DELETEABLE, 5:INSTALL_EXECUTING, 6:INSTALL_NOT_COMPLETED,
7:UPGRADE_COMPLETED
============================================================================================
=====================
MO
admActiveSlot
replication
============================================================================================
=====================
ReliableProgramUniter=12021241491751
Subrack=MS,Slot=17 4 (APPL_CONTROLLED)
ReliableProgramUniter=rnc_cen_agps_central
Subrack=MS,Slot=17 4 (APPL_CONTROLLED)
ReliableProgramUniter=rnc_cen_rnh_central
Subrack=MS,Slot=17 4 (APPL_CONTROLLED)
ReliableProgramUniter=rnc_cen_mbms_ranap_rnsap Subrack=MS,Slot=17 4 (APPL_CONTROLLED)
============================================================================================
=====================
Total: 4 MOs
Added 4 MOs to group: hget_group
22 Generate two moshell scripts that will allow to delete and recreate the
MO Aal2RoutingCase=Iub-10.
testRNC> u+s
100728-19:35:51 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/1112
Logging cr/del/rdel/set/bl/deb/acc commands to file: /home/eniaosh/moshell_logfiles/logs_moshell/undo/undo_testRNC_100728193551.log
testRNC> rdel Aal2RoutingCase=rbs152
100728-19:36:21 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/1112
Recursive Delete following MOs ?
===================================================================================
250 TransportNetwork=1,Aal2RoutingCase=rbs152
===================================================================================
Note: Running in Simulated Undo mode. No actual deletion will be performed !!!!
Are you Sure [y/n] ? y
........
Getting Attributes...
===================================================================================
============================================================================================
=====================
MO
Attribute
Value
============================================================================================
=====================
TransportNetwork=1,Aal2RoutingCase=rbs152
Aal2RoutingCaseId rbs152
TransportNetwork=1,Aal2RoutingCase=rbs152
numberDirection 353000110438152
TransportNetwork=1,Aal2RoutingCase=rbs152
routeList
[1] =
>>> routeList = TransportNetwork=1,Aal2Sp=1,Aal2Ap=rbs152
TransportNetwork=1,Aal2RoutingCase=rbs152
routePriorityList i[1] = 1
TransportNetwork=1,Aal2RoutingCase=rbs152
userLabel
============================================================================================
=====================
Total: 1 MOs
Deleting ...
===================================================================================
250 TransportNetwork=1,Aal2RoutingCase=rbs152
>>> Simulated MO deletion
===================================================================================
Total: 1 MOs attempted, 1 MOs deleted
testRNC> u100728-19:36:35 testRNC 8.0h RNC_NODE_MODEL_K_9_16 stopfile=/tmp/1112
Delete file: /home/eniaosh/moshell_logfiles/logs_moshell/undo/undo_testRNC_100728-193551_del.mos
($undodelcommandfile)
To undo, execute command: run /home/eniaosh/moshell_logfiles/logs_moshell/undo/undo_testRNC_100728-193551.mos
($undocommandfile)
Note: to convert command files from moshell format to trun/emas format, execute the command: u! <commandfile
1
TELNET commands to access CPP node should MOSHELL not be available to GPB :
telnet <Ipaddr of NE>
A) Check the Configuration Versions:
cv cu
cv ls
cv mk
cv set
B)If a node needs to be restarted from telnet session:
restartObj me
2
To check E1-MS port in RXI/RBS:
A) In RNC:
st <sitename>
get <proxy> iub - look for RBS ID
B) In RXI:
pr .<rbs ID> eg. pr .0095
lk <proxy>
st atmport=ms-x-y
bl
lget ms-2-2 (then check iub number with STR printout see tally or not)
reservedBy Aal2PathVccTp=b0001a2 <----- iub # = 0001
10
To create Group (eg. Not reserved VclTp)
get vcltp reservedby !.*=
lma <group-name> vcltp reservedby !.*=
11
pst
12
To check cell state
A)In RBS
lst cell
get radiolinks (to see how many line/s being used)
13
To check RBS MO
A)In RBS
st plug (AuxPlugInUnit=2 is the RET, AuxPlugInUnit=1 is the ASC)
cabx
cab (without the external parts)
14
To change SAC (Service Area Code)
In RBS determine max capability to transmit
get all xdl ---> in EMAS, click RBSLocalCell, Properties, Characteristics, Max & Min value
- example result printout = maxDlPowerCapability 422
15
To lock/unlock cells
In RNC
st utrancell=<cell name>
lst sunw
lbl sunw (to lock cell & channels)
bl sunw (to lock cell only)
deb sunw (to unlock)
16
To check RBS info
In RBS
get 0
get 1 (check ntpServerAddressPrimary)
17
To check network clock synchronisation
In RNC & RBS
read clock (GMT +1)
ntpconfig info
Check which OMNIFSERVER the node is connected to (i.e ntpServerAddressPrimary) from get 1
18
To check atmport & pp (physical port)
In RBS
lpr atmport
vc32&33 for signaling
lpget 1007 (vc proxy) to see number of ATM traffic cells transferred
get atmport=1-2-2
then : lget Subrack=1,Slot=2,PlugInUnit=1,Etm1=1,E1PhysPathTerm=pp2
to un/lock have to set values 1 or 0
19
To administer state of Mos
In RBS
st plug
deb proxy
bl proxy
No need to use set 1 or set 0 (only for physical ports) otherwise use deb & bl
20
To autocreateCV
In RNC & RBS
get config
Cv ls (2 CVs will be used for the autocreate CV function)
set proxy autoCreatedCVIsTurnedOn true/false
set timeForAutoCreatedCV (UTC time)
set timeForAutoCreatedCV 13:00 (cv autocreated at 9pm)
21
To restart Node
In RNC,RXI & RBS
acc 0 restart
poll (to wait 20seconds until node comes up again)
22
To create CV
In RNC,RXI & RBS
cvms <CV name> YourUserName change_ntpserver_ip
cvms <CV name> followed by comments for the CV
cvset <CV name> -- to set the CV startable
23
To restart node
In RNC & node B
acc 0 restart
poll - to get moshell connected once node has restarted
24
To check plugin status
In RNC & node B
st plugin
st plugin 1 0
st plugin 0 1
lst plug 0
25
To enter Moshell with security enabled
In RNC & node B
moshell -c host.p12 10.78.37.225
26
To block sectors via Moshell
In RNC
st blip
bl the proxy
deb the proxy (can have multiple proxies for more cells)
27
To view delay & attenuation parameters within a sector
In RBS
get jumper
get feeder
get rbs xdl
28
To delete something already done with a script
In RNC/RXI/RBS
First you have to generate the MO Delete script
This is done by ./undomo add2nde1inrxi_PUJMMU.mo > pujmrxibesi01.mo
[~]$ ./undomo add2nde1inrxi_PUJMMU.mo > pujmrxibesi01.mo
[~]$
Where add2nde1inrxi_PUJMMU.mo is the script which was run earlier and pujmrxibesi01.mo is the Delete Script. Modify
add2nde1inrxi_PUJMMU.mo so that downtime will be less. Run pujmrxibesi01.mo to undo the wrongly defined MO
Then run the modified/correct add2nde1inrxi_PUJMMU.mo
29
To check E1 state
In RBS
st atmport
Check port lock state
st pp st pp2 st pp3 st pp4
30
To check locked board in node
In all nodes
lst plug 0
31
To restart / reload board
In all nodes
acc 000900 restart
acc 001400 reload
33
CAB printout 0 = slot 28, 1 = slot 1
In all nodes
abc> cab
34
When lock/unlock from log
In RBS
lgv
lgaevsm very long printout
35
Read VSWR / OUTPUT Power from RBS
In RBS
lhsh 010900 ps port*
lhsh 010600 lhsh port_0_dev_17 asc vswr - sector 1
lhsh 010900 lhsh port_0_dev_19 asc vswr
lhsh 010900 lhsh port_0_dev_19 asc vswr - sector 2
lhsh 010600 lhsh port_0_dev_17 asc pow
36
maxDlPowerCapability /maxDl
In RBS
get local xdl
In RBS
get SOGXBU_1 maximumtransmissionpower
37
RBSID
In node RBS
pr iub
get the proxy NodeBFunction=1,Iub=POT3UU
RBSID seen
In node RNC
get iublink userlabel
38
To continuously ping
ping s 10.78.1.1101
39
To check through logs
In nodes
lgaevsmir
40
To check RBS ID in RBS
In node RBS
get IUB
41
To check antenna Supervision Threshold
In node RBS
get antenna antennaSupervisionThreshold
42
To check downlink & uplink range
In node RBS
lget antenna low|high
The downlink uplink = 190x5=950
43
To check commands executed within a node
In node
lgo 1
1 for number of days
44
To check commands sent in node
In node RNC, RBS, RXI
hi
45
To check external Open Door alarm in RBS is set to which probable cause
In node RBS
pr almdevice
get proxy (either 2 / 1 or 9)
Usually 9 for RBS door and 2 for BBU door
Some put 1 for BBU door
get proxy for parameter check
Lock proxy to change probableCause
bl 54
probableCause 522 power supply
probableCause 118 enclosure_door_open_m3100
set 54 probableCause 118
then unlock back proxy
deb 54
46
Check calibration of RET via moshell
In node RBS
lpr ret
General Problem.