When working an Edgerouter setting an IPSec VPN, the following commands have come in handy. All of these are written assuming you have just fired up the CLI.
Reset the VPN, from either side of the tunnel:
clear vpn ipsec-peer <peer name>
Realtime ipsec connection logs:
sudo swanctl --log