to change the local IP you can use this command
config modify peerconninfo localindex
localindex peername
peername [sharesecurity sharesecurity] [localip1 localip1] [localport1 localoport1] [peerip1 peerip1] [peerport1 peerport1] [localip2 localip2] [localport2 localport2] [peerip2 peerip2] [peerport2 peerport2]
for more information please check the link below
https://support.huawei.com/hedex/pages/EDOC1000073292DEE0403M/22/EDOC1000073292DEE0403M/22/resources/U1900/cliref/en-us_topic_0032921857.html?ft=0&fe=10&hib=8.2.13.14.2.1&id=EN-US_TOPIC_0032921857&text=config%20modify%20peerconninfo&docid=EDOC1000073292
here is an example
Example
Modify peer end connection information as follows: Change the local index to 1, host name of the peer end to gk1, and shared key to Aaaaaa_Aa.
config modify peerconninfo localindex 1 peername gk1 sharesecurity Aaaaaa_Aa