This document provides three examples for setting up IPSec. It has the following sections:
Configuring IPSec
Configuring an IPSec Road Warrior Client
Configuring an IPSec Road Warrior Gateway
Configuring IPSec
This section shows how to set up IPSec to protect traffic between PCs on a subnet at a branch office and a server at a headquarters office, as shown in the following illustration.

Setting Up the Peer
Setting Up an IKE Transform
Setting Up the SA Proposal
Adding a Profile
Setting Up a Policy
Attaching Profiles to Interfaces
Setting Up The Peer
Setting Up an IKE Transform
Setting Up the SA Proposal
Adding a Profile
Setting Up a Policy
Attaching Profiles to Interfaces
IPSec Config> add peer westboro
IPSec Config> set peer westboro ip_address = 128.185.7.3
IPSec Config> list peer westboro
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
------------------------------------------------------------
westboro 128.185.7.3 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) 1234
Peer ID type: IP-Address
By default, this peer uses the IKE transform called default. The peer also uses a preshared key to negotiate sessions. The default value for the preshared key is 1234. When you first set up two routers to run OpenROUTE IPSec, the routers can easily negotiate IKE using the default settings because the preshared keys match. However, you need to replace these values with a secure key.
IPSec Config> list ike_transforms
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha 3des 768 28800 0
IPSec Config> add sa_proposal sa_branch
IPSec Config> list sa_proposal sa_branch
SA-proposal name: sa_branch
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
AH authentication with the HMAC-SHA algorithm,
ESP encryption with the 3DES algorithm, and
IKE rather than manual SA proposals, which means you do not need to enter outbound or inbound manual keys.
IPSec Config> add profile branch
When you enter a policy name, you must first specify the profile name to which the policy belongs. You do this by entering the profile name followed by the policy name. Separate the names using a period. In this example, branch is the profile name, finance is the policy name.
IPSec Config> add policy branch.finance
IPSec Config> set policy branch.finance sa_proposal = sa_branch peer = westboro
IPSec Config> list policy branch.finance
-- *=opaque allowed --
Name Dir Address Port Protocol Action
------------------------------------------------------------
branch.finance both Any protect
sa_proposal=sa_branch, peer=westboro
Note: When a policy applies to traffic in both directions, add source and destination addresses as they relate to inbound packets.
IPSec Config> set policy branch.finance destination = 128.185.21.9
IPSec Config> set policy branch.finance source = 10.2.2.0&255.255.255.0
IPSec Config> list policy branch.finance
-- *=opaque allowed --
Name Dir Address Port Protocol Action
---------------------------------------------------------------
branch.finance both sa=10.2.2.0&255.255.255.0 Any protect
da=128.185.21.9
sa_proposal=sa_branch, peer=westboro
IPSec Config> set interface 1 profile +=branch
IPSec Config> list interface 1
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------------
1 On Set 600 branch
IPSec Config> list all
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 branch
IPSec profile
profile type
-----------------------------------------
branch spd
-- *=opaque allowed --
Name Dir Address Port Protocol Action
-----------------------------------------------------------------------
branch.finance both sa=10.2.2.0&255.255.255.0 Any protect
da=128.185.21.9
sa_proposal=sa_branch, peer=westboro
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
-----------------------------------------------------------------
westboro 128.185.7.3 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) 1234
Peer ID type: IP-Address
SA-proposal name: sa_branch
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha 3des 768 28800 0
IPSEC Globals:
--------------
IKE Retranmission timer (in seconds) : 12
IKE Maximum Retransmissions : 4
IPSec Phase2 SA inactivity timer (in seconds) : 60
My ID type: IP-Address
IPSec Config> add peer chicago
IPSec Config> set peer chicago ip_address = 128.185.3.1
IPSec Config> list peer chicago
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
-----------------------------------------------------------------
chicago 128.185.3.1 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) 1234
Peer ID type: IP-Address
By default, this peer uses the IKE transform called default. The peer also uses a preshared key to negotiate sessions. The default value for the preshared key is 1234. When you first set up two routers to run OpenROUTE IPSec, the routers can easily negotiate IKE using the default settings because the preshared keys match. However, you need to replace these values with a secure key.
IPSec Config> list ike_transform
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 dsa_sig sha 3des 768 28800 0
IPSec Config> add sa_proposal sa_hq
IPSec Config> list sa_proposal sa_hq
SA-proposal name: sa_hq
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
AH authentication with the HMAC-SHA algorithm,
ESP encryption with the 3DES algorithm, and
IKE rather than manual SA proposals, which means you do not need to enter outbound or inbound manual keys.
IPSec Config> add profile hq
When you enter a policy name, you must first specify the profile name to which the policy belongs. You do this by entering the profile name followed by the policy name. Separate the names using a period. In this example, hq is the profile name, finance is the policy name.
IPSec Config> add policy hq.finance
IPSec Config> set policy hq.finance sa_proposal = sa_hq peer = chicago
IPSec Config> list policy hq.finance
-- *=opaque allowed --
Name Dir Address Port Protocol Action
----------------------------------------------------------------------
hq.finance both Any protect
sa_proposal=sa_hq, peer=chicago
Note: When a policy applies to traffic in both directions, add source and destination addresses as they relate to inbound packets.
IPSec Config> set policy hq.finance destination = 10.2.2.0&255.255.255.0
IPSec Config> set policy hq.finance source = 128.185.21.9
IPSec Config> list policy hq.finance
-- *=opaque allowed --
Name Dir Address Port Protocol Action
----------------------------------------------------------------------
hq.finance both sa=128.185.21.9 Any protect
da= 10.2.2.0&255.255.255.0
sa_proposal=sa_hq, peer=chicago
IPSec Config> set interface 1 profile +=hq
IPSec Config> list interface 1
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
------------------------------------------------------------------
1 On Set 600 hq
IPSec Config> list all
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 hq
IPSec profile
profile type
-----------------------------------------
hq spd
-- *=opaque allowed --
Name Dir Address Port Protocol Action
---------------------------------------------------------------
hq.finance both sa=128.185.21.9 Any protect
da=10.2.2.0&255.255.255.0
sa_proposal=sa_hq, peer=chicago
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
--------------------------------------------------------------
chicago 128.15.3.1 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) 1234
Peer ID type: IP-Address
SA-proposal name: default
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
SA-proposal name: sa_hq
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IKE Priority Au Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha 3des 768 28800 0
IPSEC Globals:
--------------
IKE Retranmission timer (in seconds) : 12
IKE Maximum Retransmissions : 4
IPSec Phase2 SA inactivity timer (in seconds) : 60
My ID type: IP-Address

Mode = aggressive
Preshared key = SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Hash algorithm = HMAC-SHA
Encryption algorithm = DES
ESP method = HMAC SHA
ESP encryption = DES
Adding a Profile
Setting Up the IKE Transform
Setting Up the Peer
Setting Up the SA Proposal
Setting Up a Policy
Attaching the Profile to an Interface
Note: This configuration assumes that WAN interface 1 is the default route.IPSec Config> add profile roadwarrior type = roadwarrior_client
IPSec Config> list profile
IPSec profile
profile type
-----------------------------------------
roadwarrior roadwarrior_client
IPSec Config>set ike_transform default 10 encrypt = des
IPSec Config> list ike_transforms default
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha des 768 28800 0
IPSec Config> add peer win98
IPSec Config> set peer win98 pre_shared_key ascii_for_preshared_key = SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
IPSec Config> set peer win98 peer_id_type = email_(User_Fully_Qualified_Domain_Name)
IPSec Config> set peer win98 peer_id_value ascii_for_peer_id = abc@nxnetworks.com
IPSec Config> set peer win98 rw_profile = roadwarrior
IPSec Config> set peer win98 ip_address = 0.0.0.0
IPSec Config>list peer
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
-----------------------------------------------------------------
win98 0.0.0.0 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
My certificate: default RW profile: roadwarrior
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: Email
Peer ID value: (ASCII) abc@nxnetworks.com
IPSec Config> set sa_proposal default AH_auth_method = none ESP_auth_method = hmac_sha ESP_encr_method = des
IPSec Config> list sa
SA-proposal name: default
AH_auth: none ESP_auth: hmac_sha
ESP_encr: des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IPSec Config> add policy roadwarrior.fin
IPSec Config> set interface 1 profile +=roadwarrior
IPSec Config> list interface 1
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------------
1 On Set 600 roadwarrior
IPSec Config> list all
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 roadwarrior
IPSec profile
profile type
-----------------------------------------
roadwarrior roadwarrior_client
-- *=opaque allowed --
Name Dir Address Port Protocol Action
---------------------------------------------------------------
roadwarrior.fin both Any protect
sa_proposal=default, peer=default
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
--------------------------------------------------------------
win98 0.0.0.0 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
My certificate: default RW profile: roadwarrior
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: Email
Peer ID value: (ASCII) abc@nxnetworks.com
SA-proposal name: default
AH_auth: none ESP_auth: hmac_sha
ESP_encr: des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha des 768 28800 0
IPSEC Globals:
--------------
IKE Retranmission timer (in seconds) : 12
IKE Maximum Retransmissions : 4
IPSec Phase2 SA inactivity timer (in seconds) : 60
My ID type: IP-Address
IPSec> SHOW IKE
Remote Address: 10.3.7.155 (UDP port 500)
Remote ID type: Email
Remote ID value: (ASCII) abc@nxnetworks.com
Local Address: 128.185.3.1 (UDP port 500)
Local ID type: IP-Address
Local ID value: 128.185.3.1
Transforms: sharedKey, HMAC_SHA, DES, DHGroup1
State: QM_IDLE
Lifetime:
Traffic: 380 bytes protected (max none)
Age: 70 seconds elapsed (max 28800 sec)
IPSec> SHOW SA
Interface 1 is ENABLED
Decap Q: cur=0 ovfl=0 Encap Q: cur=0 ovfl=0
INBundle (ike, 10.3.7.155->128.185.3.1) Associated Policy=
roadwarrior.fin in sa=10.3.7.155 Protect
da=128.185.21.9
sa_proposal=default, peer=win98
Lifesecs=28800 (Rekey after=24480, Current=81) Key-PFS=none
LifeKB=0 (Rekey after=0, Current=0) Pkt-cnt=0
ESP SA (Up) SPI C1931F4C Auth=HMAC_SHA, Anti-replay=On
Encr=DES
OUTBundle (ike, 128.185.3.1->10.3.7.155)
LifeKB=0 (Rekey after=0, Current=0) Pkt-cnt=0
ESP SA (Up) SPI D3A5CE56 Auth=HMAC_SHA, Anti-replay=On
Encr=DES

IPSec Config> add profile branch type = roadwarrior_gateway
IPSec Config> list profile
IPSec profile
profile type
-----------------------------------------
branch roadwarrior_gateway
IPSec Config> add peer westboro
IPSec Config> set peer westboro peer_id_type = domain_name_(Fully_Qualified_Domain_Name)
IPSec Config> set peer westboro peer_id_value ascii_for_peer_id = wbobranch.com
IPSec Config> set peer westboro rw_profile = branch
IPSec Config> set peer westboro pre_shared_key ascii_for_preshared_key = SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
IPSec Config> set peer westboro ip_address = 0.0.0.0
IPSec Config> list peer westboro
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
------------------------------------------------------------
westboro 0.0.0.0 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: branch
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: Domain-Name
Peer ID value: (ASCII) wbobranch.com
When you enter a policy name, you must first specify the profile name to which the policy belongs. You do this by entering the profile name followed by the policy name. Separate the names using a period. In this example, branch is the profile name, finance is the policy name.
IPSec Config> add policy branch.finance
IPSec Config> set policy branch.finance peer = westboro
IPSec Config> list policy
-- *=opaque allowed --
Name Dir Address Port Protocol Action
---------------------------------------------------------------
branch.finance both Any protect
sa_proposal=default, peer=westboro
IPSec Config> set interface 1 profile += branch
IPSec Config> list interface 1
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------------
1 On Set 600 branch
IPSec Config> list all
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 branch
IPSec profile
profile type
-----------------------------------------
branch roadwarrior_gateway
-- *=opaque allowed --
Name Dir Address Port Protocol Action
-----------------------------------------------------------------------
branch.finance both Any protect
sa_proposal=default, peer=westboro
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
-----------------------------------------------------------------
westboro 0.0.0.0 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: branch
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: Domain-Name
Peer ID value: (ASCII) wbobranch.com
SA-proposal name: default
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha 3des 768 28800 0
IPSEC Globals:
--------------
IKE Retranmission timer (in seconds) : 12
IKE Maximum Retransmissions : 4
IPSec Phase2 SA inactivity timer (in seconds) : 60
My ID type: IP-Address
IPSec Config> set global my_id_type = domain_name_(Fully_Qualified_Domain_Name)
IPSec Config> set global my_id_value ascii_for_myid = wbobranch.com
IPSec Config> add profile hq
IPSec Config> add peer chicago
IPSec Config> set peer chicago pre_shared_key ascii_for_preshared_key = SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
IPSec Config> set peer chicago ip_address = 128.185.3.1
IPSec Config> list peer chicago
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
------------------------------------------------------------
chicago 128.185.3.1 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: IP-Address
When you enter a policy name, you must first specify the profile name to which the policy belongs. You do this by entering the profile name followed by the policy name. Separate the names using a period. In this example, hq is the profile name, finance is the policy name.
IPSec Config> add policy hq.finance
IPSec Config> set policy hq.finance peer = chicago
Note: Add source and destination address as they relate to inbound packets.
IPSec Config> set policy hq.finance da = 10.2.2.0&255.255.255.0
IPSec Config> set policy hq.finance src = 128.185.21.9
IPSec Config> list policy hq.finance
-- *=opaque allowed --
Name Dir Address Port Protocol Action
----------------------------------------------------------------------
hq.finance both sa=128.185.21.9 Any protect
da=10.2.2.0&255.255.255.0
sa_proposal=default, peer=chicago
IPSec Config> set interface 1 profile += hq
IPSec Config> list interface 1
Don't Path
IPSec Enable Frag Bit MTU
Ifc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 hq
IPSec Config> list all
Don't Path
IPSec Enable Frag Bit MTUIfc Status Handling Ageout Attached IPsec Profiles
----------------------------------------------------------
1 On Set 600 hq
IPSec profile
profile type
-----------------------------------------
hq spd
-- *=opaque allowed --
Name Dir Address Port Protocol Action
-----------------------------------------------------------------------
hq.finance both sa=128.185.21.9 Any protect
da=10.2.2.0&255.255.255.0
sa_proposal=default, peer=chicago
Source Peer Type
Peer Peer's IP Address to IKE or
Name IP Address use with peer MANUAL
-----------------------------------------------------------------
chicago 128.185.3.1 <automatic> IKE
IKE-transform: default IKE-mode: main
IP Filters usage: none NAT usage: none
Hardware-assist usage: On
My certificate: default RW profile: none
Pre-shared key: (ASCII) SiH61hfRtyP5902wnIkJgfdUiphy815KkSdfJgLh
Peer ID type: IP-Address
SA-proposal name: default
AH_auth: hmac_sha ESP_auth: none
ESP_encr: 3des Comp_alg: none
Lifetime in seconds: 0 Lifetime in kilobytes: 0
Perfect Forward Secrecy: none
Outbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
COMP: SPI: 0000
Inbound Manual SPI and Key Values:
AH: SPI: 00000000 auth_key: no key configured
ESP: SPI: 00000000 auth_key: no key configured
encr_key: no key configured
COMP: SPI: 0000
IKE Priority Auth Hash Encr DH Lifetime Lifetime
Transform Name Seq Method Alg Alg Grp Seconds Kilobytes
-----------------------------------------------------------------------
default 10 preshare sha 3des 768 28800 0
IPSEC Globals:
--------------
IKE Retranmission timer (in seconds) : 12
IKE Maximum Retransmissions : 4
IPSec Phase2 SA inactivity timer (in seconds) : 60
My ID type: Domain-Name
My ID value: (ASCII) wbobranch.com
IKE negotiates SAs in a bundle. The IKE software takes the information in your SA proposal and creates SA bundles. The show sa command shows the actual bundles running on the router. Note: The IP address 14.13.12.2 is the actual dynamically-assigned IP address that the road warrior client is using.IPSec> SHOW IKE
Remote Address: 14.13.12.2 (UDP port 500)
Remote ID type: Domain-Name
Remote ID value: (ASCII) wbobranch.com
Local Address: 128.185.3.1 (UDP port 500)
Local ID type: IP-Address
Local ID value: 128.185.3.1
Transforms: sharedKey, HMAC_SHA, 3DES, DHGroup1
State: QM_IDLE
Lifetime:
Traffic: 404 bytes protected (max none)
Age: 56 seconds elapsed (max 28800 sec)
IPSec> show sa
Interface 0 is DISABLED
Decap Q: cur=0 ovfl=0 Encap Q: cur=0 ovfl=0
There are no IPSec SAs active on interface 0
Interface 1 is ENABLED
Decap Q: cur=0 ovfl=0 Encap Q: cur=0 ovfl=0
INBundle (ike, 14.13.12.2->128.185.3.1) Associated Policy=
branch.finance in sa=10.2.2.0&255.255.255.0 Protect da=128.185.21.9
sa_proposal=default, peer=westboro
Lifesecs=0 (Rekey after=71582734, Current=88) Key-PFS=none
LifeKB=0 (Rekey after=0, Current=11) Pkt-cnt=93
AH SA (Up) SPI 96A2C293 Auth=HMAC_SHA, Anti-replay=On
ESP SA (Up) SPI 2CF7CF6B Encr=3DES
OUTBundle (ike, 128.185.3.1->14.13.12.2)
LifeKB=0 (Rekey after=0, Current=11) Pkt-cnt=93
AH SA (Up) SPI 51AAC381 Auth=HMAC_SHA, Anti-replay=On
ESP SA (Up) SPI 9072AE08 Encr=3DES