This KB talks about a scenario when admin creates a new WAN interface on Ehub and require all static tunnels to switch to new WAN and delete old WAN link.
Spoke sites connected to lets say WAN0 of EHUB
WAN0 of EHUB was old interface and the WAN connection is DOWN
Admin creates a new WAN i.e. WAN1
Ask is to have all static tunnels from all spokes to switch from connecting to WAN0 to WAN1
Static tunnels between SPOKE and EHUB can be reconfigured for IP address but not WAN interface change.
Reference: https://www.juniper.net/documentation/us/en/software/cso6.3.0/cso-cp-user-guide/topics/task/cp-reconfigure-static.html
To make the change for WAN interface follow the following steps:
Figure: 1
Once the above Job finishes delete the stale unused WAN from the Ehub "Configure site"
Revert back to Step 1 above and Select the "Primary Enterprise Hub" again.
Depending upon the correct matching mesh tags, on the WAN spoke and EHUB WAN. Static tunnels would be built correctly.