Вы находитесь на странице: 1из 12

MOSHELL EXERCISES

1 MOM commands.................................................................................................................................................................................................................... 1
2 MO Commands...................................................................................................................................................................................................................... 3
3 PM Commands....................................................................................................................................................................................................................... 4
4 Log Commands...................................................................................................................................................................................................................... 5
5 Inventory and COLI Commands............................................................................................................................................................................................. 7
6 Sw Management Commands................................................................................................................................................................................................. 8
7 Transport Network Commands............................................................................................................................................................................................... 9
8 LTE Commands.................................................................................................................................................................................................................... 10
9 Scripting................................................................................................................................................................................................................................ 11

Connect moshell to the file VIC_AADP15_ARDEER_WEST_533354_170329_140235_AEDT_MSRBS-L_CXP9024418-5_R16GK_esidec_dcgm.zip


This file can be found on
http://newtran01.au.ao.ericsson.se/moshell/training/exercises/offline/VIC_AADP15_ARDEER_WEST_533354_170329_140235_AEDT_MSRBS-L_CXP9024418-
5_R16GK_esidec_dcgm.zip

1 MOM commands
1. How do you print the list of available commands in moshell?
2. How do you print the release history for this moshell version?
3. How to print the moshell uservariables? How to print the uservariable "alarm_format" ? Change this uservariable to 2.
4. How to print the MOM version of this node?
5. How do you print the syntax information for the command "mom"?
6. Print the description of the MO class “FieldReplaceableUnit”.
Print the description of all attributes and actions found under the MO class “FieldReplaceableUnit”.
7. Search in the MOM to find the MO classes that have an attribute whose name contains the word "arfcn".
Search in the MOM to find the MO classes that have an attribute whose description contains the word "arfcn".
8. Search in the MOM to find the attributes whose value is expressed in Watts
Search in the MOM to find the attributes whose value is expressed in dB
9. List all attributes of type moRef.
List all attributes of type sequence:moRef
10. Find out from the MOM, the list of MO classes that can be defined underneath the MO class ENodeBFunction
Finn Magnusson 2017-06-28 rev PA5 (1/12)
11. Find out from the MOM, up to how many MO instances of class EUtranCellFDD is it possible to define in this node?
Find out from the MOM, up to how many MO instances of class SectorEquipmentFunction is it possible to define in this node?
Find out from the MOM, up to how many MO instances of class SectorCarrier is it possible to define in this node?
12. Find out from the MOM, the type of the attribute UpgradePackage:state (= the attribute “state” in the MO “UpgradePackage”)
What are the possible attribute value that this attribute can take?
13. Find out from the MOM, the type of the attribute EUtranCellFDD:systemInformationBlock8 (= the attribute “systemInformationBlock8” in the MO
“EUtranCellFDD”)
Find out from the MOM, the names and types of the different members contained in that attribute.
Find out from the MOM, the range of values that can be taken by the member “searchWindowSizeCdma” in that attribute.

1. h
2. h 0 , then “q” to get back to moshell prompt
or: from moshell webpage, “latest changes”
3. uv
uv alarm_format
uv alarm_format=2 or: add the line "alarm_format=2" in the file ~/.moshellrc
4. pv mom
5. h mom
6. mom fieldreplaceableunit
mom fieldreplaceableunit .
7. momd . arfcn
momd . . . . arfcn
8. mom . . . . unit:.*w
mom . . . . unit:.*db
9. momd . . ^moref
momd . . ^sequence:moref
10. momtl \.enodebfunction
11. momtl \.(eutrancellfdd|sectoreq|sectorcarr)
12. mom upgradepackage state
---> enumref: RcsSwM.upgradepackagestate
mom upgradepackagestate .
13. mom eutrancellfdd systemInformationBlock8
---> structRef:Lrat.SIB8
momd sib8 .
mom searchWindowSizeCdma .

Finn Magnusson 2017-06-28 rev PA5 (2/12)


2 MO Commands

1. Find out how many MO instances are defined in this node in total.
Find out how many MO instances are defined in this node for each MO class.
2. Print the list of FieldReplaceableUnit MOs defined in this node. How many are there?
3. Print the list of RfPort MOs defined under FieldReplaceableUnit=RRU-1800-1-1 . How many are there?
4. What is the ipaddress of this node ?
5. How many MOs are in state “unlocked disabled”?
6. How many MOs have the administrativestate set to “locked”?
7. How many MOs are in state disabled under the Equipment MO?
8. Print horizontally the attributes “channelBandwidth”, “earfcn”, " physicalLayerCellIdGroup", "tac", and " physicalLayerSubCellId" on all EUtranCell
MOs.
9. Lock one of the EUtranCell MO
Then unlock it.
10. Set the userlabel of the MO Equipment=1 to be as your userid
11. Print the attribute siPeriodicity on one of the EUtranCell MOs. Set the struct member siPeriodicitySI8 to 32 and the struct member siPeriodicitySI2 to
16.
12. Is it possible to set the attribute “cellId” on a EUtranCell MO ? Why? How can we change it then? How about the attribute "earfcn" ?
13. List all actions available for the EUtranCell MO.
Change the arfcn for one of the cells by using an MO action
14. Create an MO with LDN: ENodeBFunction=1,EUtranCellFDD=99. Once the MO has been created, delete it.
15. Using the simulated undo mode, generate two moshell scripts that will allow to delete and recreate one of the EUtranCell MO
16. How many alarms are currently active in the node?
At what time was the latest alarm raised ?

1. lt all (on a real node)


pr
prs
2. pr ^fieldreplaceableunit=
3. lpr FieldReplaceableUnit=RRU-1800-1-1,rfport=
4. pv address (on a real node)
or:
hget addressip address$|reservedby => the one used by OamAccessPoint
5. st . 1.*0

Finn Magnusson 2017-06-28 rev PA5 (3/12)


6. st . ^0
or: get . administrativestate 0
or: st . \(locked\)
7. lst equipment= dis
or: lget equipment= operationalstate 0
8. hget ^eutrancell bandwidth|arfcn|physical|tac$
9. bl EUtranCellFDD=xxx
deb EUtranCellFDD=xxx
10. set equipment=1 userlabel xxxx
11. get ^eutrancellfdd=xxxx siperiodicity
set ^eutrancellfdd=xxxx siperiodicity siperiodicitysi8=32,siPeriodicitySI2=16
12. mom \.eutrancellfdd ^cellid
---> restricted attribute, cannot be set
can be changed with rset command or undo mode and rdel
earfcn is alsor restricted but can be changed by MO action, see next question
13. acl ^eutrancell
acc ^eutrancellfdd=xxx changefrequency
14. cr enodebfunction=1,eutrancellfdd=99
del eutrancellfdd=99
15. u+s
rdel ^utrancellfdd=xxx
u-
16. alt (or alc)

3 PM Commands

1. List all scanners.


List all scanners that are in state “active”.
2. In which scanner(s) do we find the counter pmErabRelNormalEnbAct ?
3. From the MOM, find out all counters whose description contain the word “reject” or "fail"
From the MOM, find out all counters whose description contain both words “rlc” and "fail"
4. Print the values of the counters matching “pmRrcConnEstabAtt” and " pmRrcConnEstabSucc" on all EUtranCells for the past 2 hours.
Same as above but in your local timezone.
Same as above but in excel graph.
5. Print the values of the counters matching “pmRrcConnEstabAtt” and " pmRrcConnEstabSucc" on all EUtranCells for the past 2 hours, but counters should
be printed horizontally side by side, and time period should be aggregated.
Finn Magnusson 2017-06-28 rev PA5 (4/12)
6. Print the KPI Int_RadioRecInterferencePwr for all EUtranCells, plotted over the last 2 hours
Print the KPIs Int_RadioRecInterferencePwrPrb for all EUtranCells for the last 15 minutes.
7. Print the KPI report “LTE Node Traffic Performance, Whole Period” for the past 6 hours. What is the value of the KPI Acc_RrcConnSetupSuccRate at
node level?
8. Print the KPI report “LTE EUtranCell Traffic Performance, Whole Period” for the past 6 hours. What is the value of the KPI Acc_RrcConnSetupSuccRate at
cell level? Which cell is the worst performing?
9. Print the KPI report " IpInterface Tput in Mbps, ROP by ROP" for the past 15 minutes. What is the throughput on O&M interface / Traffic interface?

1. pst
pst . activ
2. pgets . pmErabRelNormalEnbAct
3. pmomd . . . . fail|reject
pmomd . . . . rlc.*fail|fail.*rlc
4. pmx . pmRrcConnEstabAtt$|pmRrcConnEstabSucc$ -m 2 -mo (EUtranCellFDD=\w+)
pmxz . pmRrcConnEstabAtt$|pmRrcConnEstabSucc$ -m 2 -mo (EUtranCellFDD=\w+)
pmxlz . pmRrcConnEstabAtt$|pmRrcConnEstabSucc$ -m 2 -mo (EUtranCellFDD=\w+)
5. pmxh . pmRrcConnEstabAtt$|pmRrcConnEstabSucc$ -m 2 -mo (EUtranCellFDD=\w+)
pmxh . pmRrcConnEstabAtt$|pmRrcConnEstabSucc$ -m 2 -a -mo (EUtranCellFDD=\w+)
6. pmxel . Int_RadioRecInterferencePwr$ -m 2 -mo (EUtranCellFDD=\w+)
pmxe . Int_RadioRecInterferencePwrPrb -m 0.25 -mo (EUtranCellFDD=\w+)
7. pmr -m 6
201
or:
pmr -m 6 -r 201
8. pmr -m 6
204
9. pmr -m 0.25
301

4 Log Commands

1. Print the alarm history since 2017-03-15.


On what day were these logs collected?
2. Print the active alarm list on 2017-03-20 at 20:00
3. Print the history of COLI commands
Finn Magnusson 2017-06-28 rev PA5 (5/12)
4. From the MO command log, find out when some EUtranCells have been locked/unlocked.
5. From the MO command log, print the history of SET commands that have been performed on this node
From the MO command log, print the history of attribute changes that were made on EUtranCells
6. Print the history of node restarts and outages.
When was the latest node restart?
What type of restart was it and how long did it take to get the traffic?
When was the latest partial outage?
7. Print the history of board restarts.
When was the latest crash and on what board?
Print the list of crash dumps on all DUs.
8. Print the ESI HW log
Print the ESI SWMI log and Erland logs and merge them
Print the ESI COM Alarm log
Print the ESI PNP log

1. lga -s 20170315
Look at the top for the line " Date of log collection:"
2. lgx -s 20170320.2000
3. lgl
4. lgo | grep -i ,eutrancell | grep -i administrativestate
5. lgo | grep SET
lgo | grep -i ,eutrancell | grep -i -v administrativestate
6. lgd
7. lgg
lh mp dump
lgp
8. lgk -x hw
lgkm -x swmi,erl
lgk -x coma
lgk -x pnp

5 Inventory and COLI Commands

Finn Magnusson 2017-06-28 rev PA5 (6/12)


1. What is the RBS type?
2. What is the MOM version?
3. What is the LTE SW release?
4. How many Radio Units are there and what type?
What is the temperature of the DU and RUs?
5. How many Support System Units are there and what type?
6. What is the disk usage of the DU?
7. Print the list of processor addresses
Print the list of COLI commands available on the DUS
Print the list of COLI commands available on one of the XMUs
Print the list of COLI commands available on one of the RUs
8. Print the T&E log on all EMCA processors
Print the list of trace conditions on the EMCA processors.
9. Print the list of features that are activated and enabled.
10. What is the license key number and FAJ number of the feature " ANR"?
Print the list of deactivated features.
How to activate a feature?
11. How are the RUs connected to the DU in this node?
Print CPRI BER.
12. What RF port(s) are used on the RUs? Print a graphical view of the CPRI and RF connections.
13. How many cells are defined in this node? To which RU is each cell connected?

1. invx
or:
get cabinet=
2. from the header
or:
pv mom
3. invx
or:
cvls
4. invx
5. invx
6. discspace
7. bp all
lh mp ?
Finn Magnusson 2017-06-28 rev PA5 (7/12)
lh xmu1 ?
lh ru1 ?
8. lh gcpu te log read
lh gcpu te s
9. invl \s1\s.*\s1\s
10. invl anr
invl deactivated
set featurestate=CXCxxxx featurestate 1
11. invx
invxrb
12. invx
invxg
13. st cell
invx

6 Sw Management Commands

1. What is the node's current SW version?


2. Which CV’s are connected to SW level 17A ?
3. Create a new CV called "test".
4. When was the license file installed?
Print the list of features that are in serviceState operable
5. What is the CXC and FAJ number of the feature CpriCompression ? Does this feature have a valid license? Is it activated? If not, activate it.
6. Restart the board BXP_0 using rank warm.
Restart the the same board with rank cold with test, then check the hwTestResult and hwTestStatus.
7. Perform a verifyUpgrade on the current UpgradePackage. Follow the progress and check the result.
8. Compare the three MOs EUtranCellFDD=AADPAM1 , EUtranCellFDD=AADPAM2, EUtranCellFDD=AADPAM3 with each other
9. Perform a parameter audit on all MOs of the node.
10. Collect a MO dump from this node. Collect a dcgm with large ESI.

1. cvcu
2. cvls 17A
3. cvmk test

Finn Magnusson 2017-06-28 rev PA5 (8/12)


4. inv install
inv 1..oper (or: invl 1..oper)
5. invl CpriCompression\s
set CXC4012051 featurestate 1
6. acc BXP_0 restartunit
or: acc FieldReplaceableUnit=R503-1 manualrestart
get BXP_0 hwtest
or: get FieldReplaceableUnit=R503-1 hwtest
7. cvls --> check the current upgradepackage
acc upgradepackage=xxx verify
check progress with: polu
check result with: get upgradepackage=xxx reportprogress , or: lgur -m 1
8. pr EUtranCellFDD=AADPAM[123]$ -> identify the proxy ids -> diff <proxy1> <proxy2> <proxy3>
9. l+
diff .
l-
! less $logfile
10. dcgk
dcgm -k 1

7 Transport Network Commands

1. What is the state of the system clock? What type of synchronisation reference is used?
2. How many ip interfaces are defined on the DU? What is the VLAN id of each IP interface ? What is each IP interface used for?
3. How many S1 links are defined? What is the destination IP address of the MMEs? What are the PLMNid served by the MMEs?
4. Print the routing table
5. Print the TN port details
6. Print the help for the mcc command "ping" on Router MO

1. lget ,radioeq
2. get ,interface encap
get vlanport vlanid
3. hget mme= state|address
hget mme= plmn
4. mcc . show ip route (note: on real node, do : mcc router= show ip route)
5. mcc . show port details (note: on real node, do : mcc transport= show port details)
Finn Magnusson 2017-06-28 rev PA5 (9/12)
6. mcl router ping

8 LTE Commands

1. What is the PLMNid of this ENB?


2. What is ARFCN and ChannelBandwidth DL/UL of each cell?
3. What is the PCI (physical cell id) and cell id of each cell ?
4. Are there any PCI conflicts ?
5. What is the TAC of each cell? What command can be used to change the TAC value?
6. What is the number of active users and bearers in each cell ?
7. What is the state of the S1 link? What are the two ip addresses of the MME?

1. get ^enodeb plmn


2. hget ^eutrancell arfcn|channel
3. hget ^eutrancell cellid
or:
invx
4. get . pciconflict$
5. get ^eutrancell tac$
set1 ^eutrancell tac xxx
6. lh mp ue print -admitted
7. st termpoint
get sctpassoc
get termpointtomme= address

9 Scripting
1. Using the ma and mr commands, make a MO group called test1 , containing all the EUtranCellRelation MOs of the node that have attributes
createdBy=OPERATOR and hoSuccLevel=HIGH
2. Using the hget command, make a MO group called test2, also containing all the EUtranCellRelation MOs of the node that attributes
createdBy=OPERATOR and hoSuccLevel=HIGH

Finn Magnusson 2017-06-28 rev PA5 (10/12)


3. Using a for loop, make a MO group test3 containing all the parent EUtranFreqRelation MOs that are parent of the EUtranCellRelation MOs of the test2
group
4. Make a MO group test4 containing all the EUtranFrequency MOs referred in the attribute eutranFrequencyRef of all EUtranFreqRelation MOs of the
test 3 group
5. Save all the values of the freqBand attribute of all EUtranFrequency MOs of the test4 group into an array called $band. The freqBand value shall be
stored both in the index of the array as well as the in the value.
6. Print the array. How many elements does it have?
7. Make MO groups called cellbandXX containing the EUtranCellFDD MOs of each frequency band (where XX is the band, eg cellband7 containing the
cells of band 7, etc)
8. List all MO groups. How many MO groups with name "cellbandXX" were created? How many cells are in each of these groups?
9. Make MO groups called extcellbandXX containing all the ExternalEUtranCellFDD MOs of each frequency band (where XX is the band, eg
extcellband7 containing the externalcells of band 7, etc)
10. List all MO groups. How many MO groups with name "extcellbandXX" were created? How many external cells are in each of these groups?
11. Make a MO group called test5 containing all the ExternalEUtranCellFDD MOs of MO group extcellband28 where the attribute
physicalLayerCellIdGroup is greater than 140
12. Print the attribute physicalLayerCellIdGroup for all MOs of the group test5

1. ma test1 eutrancellrelation= createdby operator


mr test1 test1 hosucclevel !high
2. hget eutrancellrelation= createdby|hosucclevel operator high
ma test2 hget_group
3. for $mo in test2
$ldn = ldn($mo)
$ldn = $ldn -s ,EUtranCellRelation=.*$
ma test3 $ldn
done
4. ma test4 test3 eutranfrequencyref
5. for $mo in test4
get $mo freqband > $var
$band[$var] = $var
done
6. pv band
3 elements with index: 3, 7, and 28
7. for $var in $band
ma cellband$var ^eutrancellfdd= freqband ^$var$
done
8. mp
3 cells in cellband28 , 3 cells in cellband3, 6 cells in cellband7
Finn Magnusson 2017-06-28 rev PA5 (11/12)
9. for $var in $band
ma extcellband$var ^externaleutrancellfdd= freqband ^$var$
done
10. mp
215 external cells in extcellband28, 260 in extcellband3, 49 in extcellband7
11. for $mo in extcellband28
get $mo physicalLayerCellIdGroup > $var
if $var > 140
ma test5 $mo
fi
done
12. get test5 physicalLayerCellIdGroup

Finn Magnusson 2017-06-28 rev PA5 (12/12)

Вам также может понравиться