Ericsson ENM CLI commands

old school boy :wink:, I like it. RXTCP:MOTY=RXOTG;

to find whatever BaseBand , in this ENM, has a 10.178.204.23 IP address as its loopback
(please adjust submask [/32 in this example] for another subnetwork):

cmedit get *AddressIPv4=1 Address==10.178.204.237/32 -table

using AMOS:
OldName> lset ManagedElement=OldName networkManagedElementId NewName
and don’t forget the fingerprint or there will be problem when installing a new license:
set Lm=1 fingerprint NewName

Thanks Ameen

Where can I find enmscriptinglib ?

To download the Python library for your ENM, you can find it at the address: https:// your_enm_domain. com /#help/app/cliapp/topic/scriptingsupport/pythonsupport

How to list cgi for all cells on BSC?
I tried with this command, but it doesnt work.
cmedit get SubNetwork=BSC,MeContext=BSC17,ManagedElement=BSC17,BscFunction=1,BscM=1,GeranCellM=1,GeranCell=all -attr cgi -t
how can i include all cells in ā€œGeranCell=allā€, i need wildcard for all cells. it doesnt work *

Try this:
cmedit get BSC17 GeranCell.* -t

How to get the exact rf ports on an RRU used by a certain 2g cell?
What are the 2g OSS commands
Thank you so much

Hi, @Bassem_Mahmoud for baseband it is:

cmedit get RBSNAME trx.rfBranchTxRef -t

Thank you so much,
Would you please tell me the how to for DUGs if it is possible
What to run on the BSC
Once again, thank you and have a great day!

For the DUG that is configured in OMT, so we can’t view it on BSC/OSS.

Hi!
Try this:

cmedit get ReplacementUnit1Info.(*,rULogicalId,rULogicalIdExt,rUPosition,rURevision,rUSerialNo); 
cmedit get ReplacementUnit2Info.(*,rULogicalId,rULogicalIdExt,rUPosition,rURevision,rUSerialNo); 
...
cmedit get ReplacementUnit40Info.(*,rULogicalId,rULogicalIdExt,rUPosition,rURevision,rUSerialNo); 

and

cmedit get HwContainer.(*,contHwType,contHwTypeId,hwContainerId);

Nice try @JustDoit , but the full path for the 2G object needs to be specified in the cmedit get command. It would be something like this:
cmedit get SubNetwork=2G,MeContext=BSCxxx,ManagedElement=BSCxxx,BscFunction=1…

To get the proper name of the object, export the whole BSC and look for it:
cmedit export -ft dynamic -n BSCxxx
This export will appear in:
/ericsson/batch/data/export/dynamic_export

Hi @JuanK !
Thanks for your comments!
If I remember correctly, dynamic export will not show all the information that is in ReplacementUnit. But we need to check… The method I suggested is for the convenience of further parsing into the table.
@Bassem_Mahmoud , have you checked at your Network?

can i set more parameters for GeranCell something like
cmedit set SubNetwork=BSC,MeContext=BSC17,ManagedElement=BSC17,BscFunction=1,BscM=1,GeranCellM=1,GeranCell=TEST1_1 bcchNo=111 bcc=7

Hi, @salebgd, try this:

Set multiple attributes on an MO Instance

cmedit set ERBS001 managedelement userlabel=sampleUserLabel, productnumber=CXC101101
cmedit set MeContext=ERBS002 userlabel:newUserLabel; dscplabel:30

Hi all, can we use Amos commands for logs, (log lgg lgn ) and so on. In enm CLI? And may be someone know short way to skan vswr (no invxr)?

Hi, @Vladimir, amos and ENM CLI are totally different systems, so we can’t get logs or vswr.