How to use moshell to configure Ericsson BBU 6630?

There is already existing configuration on it. I want to save those configurations first and then change the AMF IP and also slice config parameters?

From my perspective, the best approach would be to first create a CV and make it startable (before applying your changes). After that, you can proceed with updating the AMF IP termpoints.

I am not completely sure what you mean regarding the slice configuration parameters, but below I’m sharing an example script and my assumptions for clarity:

Assumptions

  • VLANs are correctly configured.
  • VLAN configuration on the BB is correct.
  • IP configuration on the BB is correct.
cvcu  
cvms <your_backup_name_before>  
st amf  
get xxx        (xxx = proxy of the AMF you want to change)  
set xxx ipv4Address1  
get xxx        (to verify the changes)  
apply for each termpoint  
st amf         (termpoints should be operational)  
cvms <your_backup_name_after>

If the AMFs are not operational after this procedure, further troubleshooting will be required.