Table Of Contents
SafeNet IPSec VPN Client Support
Prerequisites for SafeNet IPSec VPN Client Support
Restrictions for SafeNet IPSec VPN Client Support
Information About SafeNet IPSec VPN Client Support
ISAKMP Profile and ISAKMP Keyring Configurations: Background
Local Termination Address or Interface
Benefit of SafeNet IPSec VPN Client Support
How to Configure SafeNet IPSec VPN Client Support
Limiting an ISAKMP Profile to a Local Termination Address or Interface
Limiting a Keyring to a Local Termination Address or Interface
Monitoring and Maintaining SafeNet IPSec VPN Client Support
Troubleshooting SafeNet IPSec VPN Client Support
Configuration Examples for SafeNet IPSec VPN Client Support
ISAKMP Profile Bound to a Local Interface: Example
ISAKMP Keyring Bound to a Local Interface: Example
ISAKMP Keyring Bound to a Local IP Address: Example
ISAKMP Keyring Bound to an IP Address and Limited to a VRF: Example
SafeNet IPSec VPN Client Support
The SafeNet IPSec VPN Client Support feature allows you to limit the scope of an Internet Security Association and Key Management Protocol (ISAKMP) profile or ISAKMP keyring configuration to a local termination address or interface. The benefit of this feature is that different customers can use the same peer identities and ISAKMP keys by using different local termination addresses.
History for the SafeNet IPSec VPN Client Support Feature
Release Modification12.3(14)T
This feature was introduced.
12.2(18)SXE
This feature was integrated into Cisco IOS Release 12.2(18)SXE.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for SafeNet IPSec VPN Client Support
•
Restrictions for SafeNet IPSec VPN Client Support
•
Information About SafeNet IPSec VPN Client Support
•
How to Configure SafeNet IPSec VPN Client Support
•
Configuration Examples for SafeNet IPSec VPN Client Support
Prerequisites for SafeNet IPSec VPN Client Support
•
You must understand how to configure ISAKMP profiles and ISAKMP keyrings.
Restrictions for SafeNet IPSec VPN Client Support
•
The local address option works only for the primary address of an interface.
•
If an IP address is provided, the administrator has to ensure that the connection of the peer terminates to the address that is provided.
•
If the IP address does not exist on the device, or if the interface does not have an IP address, the ISAKMP profile or ISAKMP keyring will be effectively disabled.
Information About SafeNet IPSec VPN Client Support
Before configuring SafeNet IPSec VPN Client Support, you should understand the following concepts:
•
ISAKMP Profile and ISAKMP Keyring Configurations: Background
•
Local Termination Address or Interface
ISAKMP Profile and ISAKMP Keyring Configurations: Background
Prior to Cisco IOS Release 12.3(14)T, ISAKMP-profile and ISAKMP-keyring configurations could be only global, meaning that the scope of these configurations could not be limited by any locally defined parameters (VRF instances were an exception). For example, if an ISAKMP keyring contained a preshared key for address 10.11.12.13, the same key would be used if the peer had the address 10.11.12.13, irrespective of the interface or local address to which the peer was connected. There are situations, however, in which users prefer that associate keyrings be bound not only with virtual route forwarding (VRF) instances but also to a particular interface. For example, if instead of VRF instances, there are virtual LANS, and the Internet Key Exchange (IKE) is negotiated with a group of peers using one fixed virtual LAN (VLAN) interface. Such a group of peers uses a single preshared key, so if keyrings could be bound to an interface, it would be easy to define a wildcard key without risking that the keys would also be used for other customers.
Sometimes the identities of the peer are not in the control of the administrator, and even if the same peer negotiates for different customers, the local termination address is the only way to distinguish the peer. After such a distinction is made, if the traffic is sent to different VRF instances, configuring an ISAKMP profile is the only way to distinguish the peer. Unfortunately, when the peer uses an identical identity for all such situations, the ISAKMP profile cannot distinguish among the negotiations. For such scenarios, it would be beneficial to bind ISAKMP profiles to a local termination address. If a local termination address could be assigned, identical identities from the peer would not be a problem.
Local Termination Address or Interface
Effective with Cisco IOS Release 12.3(14)T, the SafeNet IPSec VPN Client Support feature allows you to limit the scope of ISAKMP profiles and ISAKMP keyrings to a local termination address or interface.
Benefit of SafeNet IPSec VPN Client Support
The benefit of this feature is that different customers can use the same peer identities and ISAKMP keys by using different local termination addresses.
How to Configure SafeNet IPSec VPN Client Support
This section contains the following procedures. The first two configurations are independent of each other.
•
Limiting an ISAKMP Profile to a Local Termination Address or Interface (required)
•
Limiting a Keyring to a Local Termination Address or Interface (required)
•
Monitoring and Maintaining SafeNet IPSec VPN Client Support (optional)
•
Examples (optional)
Limiting an ISAKMP Profile to a Local Termination Address or Interface
To configure an ISAKMP profile and limit it to a local termination address or interface, perform the following steps.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
crypto isakmp profile profile-name
4.
keyring keyring-name
5.
match identity address address
6.
local-address {interface-name | ip-address [vrf-tag]}
DETAILED STEPS
Limiting a Keyring to a Local Termination Address or Interface
To configure an ISAKMP keyring and limit its scope to a local termination address or interface, perform the following steps.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
crypto keyring keyring-name
4.
local-address {interface-name | ip-address [vrf-tag]}
5.
pre-shared-key address address
DETAILED STEPS
Monitoring and Maintaining SafeNet IPSec VPN Client Support
The following debug and show commands may be used to monitor and maintain the configuration in which you limited the scope of an ISAKMP profile or ISAKMP keyring to a local termination address or interface.
SUMMARY STEPS
1.
enable
2.
debug crypto isakmp
3.
show crypto isakmp profile
DETAILED STEPS
Examples
debug crypto isakmp Command Output for an ISAKMP Keyring That Is
Bound to Local Termination Addresses: ExampleYou have an ISAKMP configuration as follows (the address of serial2/0 is 10.0.0.1, and the address of serial2/1 is 10.0.0.2),
crypto keyring keyring1! Scope of the keyring is limited to interface serial2/0.local-address serial2/0! The following is the key string used by the peer.pre-shared-key address 10.0.0.3 key somerandomkeystringcrypto keyring keyring2local-address serial2/1! The following is the keystring used by the peer coming into serial2/1.pre-shared-key address 10.0.0.3 key someotherkeystringand if the connection is coming into serial2/0, keyring1 is chosen as the source of the preshared key (and keyring2 is ignored because it is bound to serial2/1), you would see the following output:
Router# debug crypto isakmp*Feb 11 15:01:29.595: ISAKMP:(0:0:N/A:0):Keyring keyring2 is bound to10.0.0.0, skipping*Feb 11 15:01:29.595: ISAKMP:(0:0:N/A:0):Looking for a matching key for10.0.0.3 in keyring1*Feb 11 15:01:29.595: ISAKMP:(0:0:N/A:0): : success*Feb 11 15:01:29.595: ISAKMP:(0:0:N/A:0):found peer pre-shared keymatching 10.0.0.3*Feb 11 15:01:29.595: ISAKMP:(0:0:N/A:0): local preshared key founddebug crypto isakmp Command Output for an ISAKMP ProfileThat Is Bound
to a Local Termination Address: ExampleIf you have the following configuration,
crypto isakmp profile profile1keyring keyring1match identity address 10.0.0.0 255.0.0.0local-address serial2/0crypto isakmp profile profile2keyring keyring1keyring keyring2self-identity fqdnmatch identity address 10.0.0.1 255.255.255.255local-address serial2/1and the connection is coming through the local terminal address serial2/0, you will see the following output:
Router# debug crypto isakmp*Feb 11 15:01:29.935: ISAKMP:(0:0:N/A:0):Profile profile2 bound to 10.0.0.0 skipped*Feb 11 15:01:29.935: ISAKMP:(0:1:SW:1):: peer matches profile1 profileshow crypto isakmp profile Command Output: Example
The following is an example of typical show command output for an ISAKMP profile that is bound to serial2/0:
Router# show crypto isakmp profileISAKMP PROFILE profile1Identities matched are:ip-address 10.0.0.0 255.0.0.0Certificate maps matched are:keyring(s): keyring1trustpoint(s): <all>Interface binding: serial2/0 (10.20.0.1:global)Troubleshooting SafeNet IPSec VPN Client Support
If an ISAKMP profile or ISAKMP keyring fails to be selected, you should double-check the local-address binding in the ISAKMP profile or ISAKMP keyring configuration and follow the output of the IKE debugs to determine whether the peer is correctly terminating on the address. You may remove the local-address binding (to make the scope of the profile or keyring global) and check to determine whether the profile or keyring is selected to confirm the situation.
Configuration Examples for SafeNet IPSec VPN Client Support
This section contains the following configuration, debug command, and show command examples.
•
ISAKMP Profile Bound to a Local Interface: Example
•
ISAKMP Keyring Bound to a Local Interface: Example
•
ISAKMP Keyring Bound to a Local IP Address: Example
•
ISAKMP Keyring Bound to an IP Address and Limited to a VRF: Example
ISAKMP Profile Bound to a Local Interface: Example
The following example shows that the ISAKMP profile is bound to a local interface:
crypto isakmp profile profile1keyring keyring1match identity address 10.0.0.0 255.0.0.0local-address serial2/0
ISAKMP Keyring Bound to a Local Interface: Example
The following example shows that the ISAKMP keyring is bound only to interface serial2/0:
crypto keyringlocal-address serial2/0pre-shared-key address 10.0.0.1
ISAKMP Keyring Bound to a Local IP Address: Example
The following example shows that the ISAKMP keyring is bound only to IP address 10.0.0.2:
crypto keyring keyring1local-address 10.0.0.2pre-shared-key address 10.0.0.2 key
ISAKMP Keyring Bound to an IP Address and Limited to a VRF: Example
The following example shows that an ISAKMP keyring is bound to IP address 10.34.35.36 and that the scope is limited to VRF examplevrf1:
ip vrf examplevrf1rd 12:3456crypto keyring ring1local-address 10.34.35.36 examplevrf1interface ethernet2/0ip vrf forwarding examplevrf1ip address 10.34.35.36 255.255.0.0Additional References
The following sections provide references related to SafeNet IPSec VPN Client Support.
Related Documents
Standards
MIBs
RFCs
Technical Assistance
Command Reference
This section documents the following new command only.
local-address
To limit the scope of an Internet Security Association and Key Management Protocol (ISAKMP) profile or an ISAKMP keyring configuration to a local termination address or interface, use the local-address command in ISAKMP profile configuration and keyring configuration modes. To remove the local address or interface, use the no form of this command.
local-address {interface-name | ip-address [vrf-tag]}
no local-address {interface-name | ip-address [vrf-tag]}
Syntax Description
interface-name
Name of the local interface.
ip-address
Local termination address.
vrf-tag
(Optional) Scope of the IP address will be limited to the VRF instance.
Defaults
If this command is not configured, the ISAKMP profile or ISAKMP keyring is available to all local addresses.
Command Modes
ISAKMP profile configuration
Keyring configurationCommand History
Release Modification12.3(14)T
This command was introduced.
12.2(18)SXE
This command was integrated into Cisco IOS Release 12.2(18)SXE.
Examples
The following example shows that the scope of the ISAKMP profile is limited to interface serial2/0:
crypto isakmp profile profile1keyring keyring1match identity address 10.0.0.0 255.0.0.0local-address serial2/0The following example shows that the scope of the ISAKMP keyring is limited only to interface serial2/0:
crypto keyringlocal-address serial2/0pre-shared-key address 10.0.0.1The following example shows that the scope of the ISAKMP keyring is limited only to IP address 10.0.0.2:
crypto keyring keyring1local-address 10.0.0.2pre-shared-key address 10.0.0.2 keyThe following example shows that the scope of an ISAKMP keyring is limited to IP address 10.34.35.36 and that the scope is limited to VRF examplevrf1:
ip vrf examplevrf1rd 12:3456crypto keyring ring1local-address 10.34.35.36 examplevrf1interface ethernet2/0ip vrf forwarding examplevrf1ip address 10.34.35.36 255.255.0.0Related Commands
Command Descriptioncrypto isakmp profile
Defines an ISAKMP profile and audits IPSec user sessions.
crypto keyring
Defines a keyring and enters keyring configuration mode.
Copyright © 2005 Cisco Systems, Inc. All rights reserved.

