Hello.
for phase 1, "get ike cookie" (there is no way to filter for just a single gateway)
for phase 2, "get sa" ; can use "get sa | inc x.x.x.x", specifying the remote IP.
"get sa id 0x...." will provide details.
"get sa stat | inc x.x.x.x" is also sometimes helpful.
When running "debug ike xxx", can limit the capture to remove IP, by "set sa-filter x.x.x.x"
Regards,
Sam