NSA moshell commands

Does anybody have a set of daily routine commands to check parameters and KPIs for 5g NSA via moshell?

How to see struct parameters one by one?

You can check , for example 4 hours of Aggregated volume of downlink with this:
pmx -m 4 NRCellDU pmMacVolDLDrb$
or right away with this:
pmxt . pmMacVolDlDrb$y

NR Cell status at CU level st NrCellCU
NR Cell status at DU level st NrCellDU
5G PCI get . nRPCI
5G TAC get . nRTAC
5G Carriers get . nRSectorCarrier
5G CGI get . nrCGI
5G Cell ID get . nRCellDUId
5G Cell Reserve status get . cellReservedForOperator
Check 5G DL Volume pget . pmMacvolDl$
Check 5G UL Volume pget . pmMacvolUl$
Check 5G Frequency get . ssbfrequency
Check Bandwidth DL get . Bschannelbwdl
Check Bandwidth UL get . bschannelbwul
Check Internal Parameters scg
Check 4G 5G handover Relation st togn
S1 Link - LTE ENB to LTE EPC st termpointToMME
X2 Link - LTE to LTE st termpointToENB
All Termpoint Status (X2 and S1) st termpoint
X2 Link - LTE to NR st termpointToGNB
NG link - 5G GNB to 5GC st termPointToAMF
XN Link - NR to NR st termpointToGNodeB
X2 Link - NR to LTE st termpointToENodeB
5G RET get . digitalTilt
SSB Power get . Ssbpowerboost

DAILY NSA CHECK — MOSHELL

eNB (LTE anchor):

  1. lt all … load MO tree
  2. alt … active alarms (any P1/P2 = act)
  3. st cell … cell states (must be UNLOCKED/ENABLED)
  4. st termpoint … S1 + X2 links (X2 to gNB down = NSA dead)
  5. cabx … boards/RUs (no FAULTY/DEGRADED)
  6. pmx cell pmRrcConnEstabSucc|pmRrcConnEstabAtt -m 24 … RRC success
  7. pmx cell pmErabEstabSuccInit -m 24 … E-RAB accessibility
  8. pmx cell pmEndcSetupUeSucc|pmEndcSetupUeAtt -m 24 … NSA leg setup success
  9. pmx cell pmCellDowntimeAuto -m 24 … downtime (any nonzero = act)
  10. pmr -m 24 … pick accessibility + EN-DC reports

gNB (NR node):
11. lt all + alt … NR alarms
12. st nrcell … NRCellCU/DU states (ENABLED)
13. st termpoint … X2 back to anchor
14. st sync … TDD sync (must be locked)
15. pmr -m 24 … EN-DC/SCG reports (watch SCG failure rate)

Automation: commands in daily.mos, nodes in sitelist, then:
mobatch sitelist daily.mos /logs/daily/

STRUCT PARAMETERS ONE BY ONE:
get … prints every member line by line
get . plmnId.mcc … one member only
hget cell <struct.member> … one member across all cells (audit view)

Verify names against ALEX for your release before scripting.
Ready mobatch pack with thresholds for your release: fkamanzi@gmail.com