What the MOM model actually is
Ericsson's 5G RAN configuration is a managed-object tree (MOM — Managed Object Model). You work with it through moshell — called AMOS when you start it from ENM — or, from automation, over NETCONF. moshell and AMOS share one command set; NETCONF is a different, XML-based interface to the same tree.
This cheatsheet covers NR on Ericsson Baseband (RadioNode) nodes. It focuses on the commands you will run today, not the exhaustive reference — the moshell user guide for your version is the authority on syntax, and the MOM reference for your release on attributes and units.
Core navigation commands
Listing managed objects
lt all
Loads the entire MO tree into the session. After lt all, commands can address MOs by filter or by their proxy number.
lt NRCellDU
Loads only NRCellDU instances. Use this when lt all is too slow on large nodes.
Showing attributes
get NRCellDU
Dumps all attributes of all NRCellDU MOs in the loaded tree.
get NRCellDU=NR01_1 administrativeState
Gets a single attribute on a single MO. Both arguments are regular expressions, so this gets it on every NRCellDU:
get NRCellDU=.* operationalState
Setting attributes
set NRCellDU=NR01_1 administrativeState 1
Unlocks a cell (0 = LOCKED, 1 = UNLOCKED); a locked cell does not transmit. moshell takes enumerations as their integer values. In practice bl and deb (below) do the same job with less typing.
set NRSectorCarrier=NR01_1 configuredMaxTxPower 40000
Sets the carrier's maximum transmit power. Check the unit in the MOM reference for your release before changing power: in 3GPP's model (TS 28.541) and in Ericsson training material it is milliwatts, so 40000 is 40 W — and 44 would be 44 mW, not 44 dBm.
Creating MOs
cr GNBCUCPFunction=1,NRCellCU=NR01_1,NRCellRelation=NR02_1
Creates a neighbour relation under the source cell's NRCellCU. moshell then prompts for the mandatory attributes — here nRCellRef, which points at the target: an NRCellCU on the same gNodeB, or an ExternalNRCellCU for a cell on another one. The reference must be exact; copy it from pr output rather than typing it.
Deleting
del GNBCUCPFunction=1,NRCellCU=NR01_1,NRCellRelation=NR02_1
Give the full path: the argument is a filter, and NRCellRelation=NR02_1 alone matches that relation under every cell. del refuses an MO that still has children or is reserved by another MO, and asks you to confirm. Always check with get first. Once deleted, neighbour relations regenerate only via ANR if enabled.
Common daily workflows
Find a cell by ID or name
get NRCellDU nCI ^12345$
get takes a third argument that filters on the value. It is a regular expression too, so anchor it — 12345 alone would also match 112345.
get NRCellDU userLabel SECTOR_A
To keep a set of MOs for later commands, put them in an MO group with ma (add to group): ma sectA NRCellDU userLabel SECTOR_A makes a group called sectA, pr sectA lists it, and commands such as get take the group name in place of a filter.
Lock and unlock for parameter changes
Most parameters can change on a live cell; some need it locked first, and the MOM reference says which. Locking takes the cell off air, so do it in a maintenance window:
bl NRCellDU=NR01_1
set NRCellDU=NR01_1 nRPCI 273
deb NRCellDU=NR01_1
bl is block (lock — administrativeState 0), deb is deblock (unlock — administrativeState 1). bls is a soft lock: it gives traffic about 30 seconds to move off before the cell goes down.
Change electrical tilt
On antennas with remote electrical tilt (RET), tilt lives on the RET sub-unit — not on AntennaSubunit, which only points to it:
lt RetSubUnit
get RetSubUnit electricalAntennaTilt
set AntennaUnitGroup=1,AntennaNearUnit=1,RetSubUnit=1 electricalAntennaTilt 60
The value is in tenths of a degree, so 60 = 6.0 degrees — check the range for your release in the MOM reference, and verify with get after the change. Massive-MIMO AIR units have no RET motor: their tilt is digital, set in the beamforming configuration (CommonBeamforming) instead.
Check counters (PM)
Counters are reported in ROP files, and moshell reads both those and the current values:
pmom NRCellCU pmRrcConnEstabAtt
pget NRCellCU= pmRrcConnEstabAtt
pmx NRCellCU= pmRrcConnEstabAtt
pmom prints the counter's description from the MOM — what it counts, not its value. pget prints the current value, and pmx the values from the ROP files, period by period. RRC counters such as pmRrcConnEstabAtt sit on NRCellCU; others sit on NRCellDU, so check the counter reference for the MO that carries the counter you want.
Reading alarms
al
Lists the active alarms. alt adds the date and time each was raised, and ala shows the detail. There is no option to filter by severity, but moshell lets you pipe output to Unix commands, so filter with grep on the severity column. The severity levels themselves — critical, major, minor, warning — come from ITU-T X.733.
Configuration backup before changes
cvls
cvmk before_pci_change
cvls lists the existing backups (configuration versions); cvmk makes a new named one — on a Baseband RadioNode it creates a backup through the node's backup manager. Always make one before parameter changes you might need to roll back.
To roll back:
cvre before_pci_change
cvre restores the backup, which takes the whole node's configuration back to that point — agree it with operations before doing it on a live node. (cvms and cvset belong to older CPP nodes and are not in the RadioNode command list.)
Useful MOs and what lives in them
| MO | Purpose | Common attributes |
|---|
| NRCellDU | DU cell config | administrativeState, nCI, nRPCI, nRTAC, nRSectorCarrierRef |
| NRCellCU | CU cell config; parent of NRCellRelation | cellLocalId |
| NRSectorCarrier | RF carrier | configuredMaxTxPower, arfcnDL, arfcnUL |
| NRCellRelation | Neighbour | nRCellRef, isHoAllowed, cellIndividualOffsetNR |
| GNBDUFunction | DU function | gNBId, gNBDUId, gNBIdLength |
| GNBCUCPFunction | CU-CP function | gNBId, gNBIdLength, pLMNId |
| AntennaSubunit | Antenna sub-unit | retSubunitRef, minTotalTilt, maxTotalTilt |
| RetSubUnit | Remote electrical tilt | electricalAntennaTilt |
Scripting and bulk changes
For more than a couple of MOs, write a moshell command file. It is not a bash script — moshell has its own loops, which walk an MO group:
# tilt_sectA.mos
lt RetSubUnit
ma sectA RetSubUnit userLabel SECTOR_A
for $mo in sectA
get $mo electricalAntennaTilt
set $mo electricalAntennaTilt 40
done
Run it from a moshell session with run tilt_sectA.mos, or across many nodes at once with mobatch. Always test on one MO before running a loop across a node.
ENM CLI vs AMOS
AMOS is moshell started from ENM (or the older OSS-RC), which finds the node for you; standalone moshell connects by node name or address. The commands are the same in both. ENM's own command line (cmedit) is a different tool with its own syntax.
amos <node-name> # from an ENM or OSS-RC shell
moshell <node-IP> # standalone, straight to the node's OAM address
Common gotchas
> Always use get to verify your set worked, and read the output of the set itself — a refusal is easy to scroll past.
- Values must match the attribute's type: enumerations are given as their integer values (
0 for LOCKED). mom prints the MOM description of an MO class and its attributes.
- A
set that needs the cell locked is refused while it is unlocked — easy to miss if you skim the output.
lt all on a heavily configured node can take minutes. Scope your lt to specific MOs.
- Configuration via NETCONF and AMOS share the same MO tree, but in-flight transactions can conflict. Avoid simultaneous changes from both.
Takeaway: Master
lt,
get,
set,
bl/
deb, and
cvmk and you can do most day-to-day Ericsson 5G operations work without opening a GUI.
From the command to the answer
A cheatsheet gets you the output. The part that takes practice is what to do
with it, and two of our parsers take Ericsson output directly:
get the counters laid out rather than scrolling a wall of text.
configuration side.
And when the counters point somewhere but not clearly,
dropped calls in gNB logs is a
real log set with the answer in it — the same reading problem as a live node,
without the pressure.