Create an SA. You specify
the source, the destination, and the authentication mode. You also specify the
authentication algorithm and authentication key to use. You must specify an
encryption algorithm and key, but you can specify
null if you want no encryption. Authentication is
required and cannot be
null. The following example includes extra line breaks
for readability. The last option,
sa_2 in the
example, is the name of the SA.
esxcli network ip ipsec sa add
--sa-source 2001:DB8:1::121
--sa-destination 2001:DB8:1::122
--sa-mode transport
--sa-spi 0x1000
--encryption-algorithm 3des-cbc
--encryption-key 0x6970763672656164796c6f676f336465736362636f757432
--integrity-algorithm hmac-sha1
--integrity-key 0x6970763672656164796c6f67736861316f757432
--sa-name sa_2
|