/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 ipsec showstates
#1: "westnet-eastnet-ipv4-psk-ikev2":500 ESTABLISHED_IKE_SA (established IKE SA); REKEY in XXs; REPLACE in XXs; newest; idle;
#2: "westnet-eastnet-ipv4-psk-ikev2":500 ESTABLISHED_CHILD_SA (established Child SA); REKEY in XXs; REPLACE in XXs; newest; eroute owner; IKE SA #1; idle;
#2: "westnet-eastnet-ipv4-psk-ikev2" esp.ESPSPIi@192.1.2.45 esp.ESPSPIi@192.1.2.23 tun.0@192.1.2.45 tun.0@192.1.2.23 Traffic: ESPin=84B ESPout=84B ESPmax=2^63B 
east #
 ipsec trafficstatus
#2: "westnet-eastnet-ipv4-psk-ikev2", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@west'
east #
 ipsec whack --deleteid
whack error: missing --name <connection_name>
east #
 ipsec whack --deleteid --name @madeup
no connections matching peer id '@madeup' found
east #
 ipsec whack --deleteid --name @west
"westnet-eastnet-ipv4-psk-ikev2" #1: deleting IKE SA (ESTABLISHED_IKE_SA) and sending notification
"westnet-eastnet-ipv4-psk-ikev2" #2: ESP traffic information: in=84B out=84B
east #
 ipsec showstates
east #
 ipsec trafficstatus
east #
 
