Hi experts,
Does anyone have a cmedit command to change GPS priority in Ericsson ENM?
Looking specifically for the MO / attribute related to GPS (sync priority) and how to modify it via CLI. I know the basic cmedit set syntax, but not sure about the exact object path for this case.
To manage synchronization priority in Ericsson ENM, you are typically looking for the SyncReference MO. In most modern Ericsson Radio System (ERS) nodes, the synchronization hierarchy is managed under the Equipment or Transport sub-trees.
The MO path and the command syntax you need.
The Target MO and Attribute
MO Class: SyncReference
Attribute: priority
Common Path: ManagedElement=1,SystemFunctions=1,Sync=1,SyncReference=X (Note: The X is usually GPS-1 or a numerical ID depending on your specific configuration).
The CMEdit Command
To change the priority (where a lower value typically equals a higher priority), use the following syntax:
cmedit set <Target_Node_Name> SyncReference=GPS-1 priority=1
If you aren’t sure of the exact naming of your GPS reference, run this get command first to locate the specific instance:
cmedit get <Target_Node_Name> SyncReference.(syncType==GPS) -at priority
Key Considerations
Priority Logic: In the Ericsson sync hierarchy, priority 1 is the highest. If you have multiple sources (e.g., GPS and IEEE1588/PTP), ensure they don’t have the same priority unless you want the node to choose based on its internal selection logic.
Object State: You do not usually need to lock the MO to change the priority, but it is good practice to check the administrativeState if the change doesn’t seem to take effect.
Multiple Sources: If you are looking at the older DUS-based nodes, the path might slightly differ (e.g., under Synchronization instead of Sync), but SyncReference remains the standard MO name.
Verification
After running the set command, verify that the node has accepted the new source as the active reference:
cmedit get <Target_Node_Name> Sync.status
(Look for the activeReference attribute to see if it now points to your GPS MO).