Cisco IOS XR System Security Command Reference, Release 3.5
Internet Key Exchange Security Protocol Commands on Cisco IOS XR Software

Table Of Contents

Internet Key Exchange Security Protocol Commands on Cisco IOS XR Software

accounting (IKE)

acl

address

authentication (IKE policy)

auto-update client

backup-server

banner

browser-proxy

clear crypto isakmp

clear crypto isakmp call admission statistics

clear crypto isakmp errors

clear crypto session

client authentication list

client single-sa-per-inft

configuration url

configuration version

crypto ipsec server send-update

crypto isakmp

crypto isakmp call admission limit

crypto isakmp client configuration browser-proxy

crypto isakmp client configuration group

crypto isakmp identity

crypto isakmp keepalive

crypto isakmp peer

crypto isakmp policy

crypto isakmp profile

crypto keyring

crypto logging

description (IKE policy)

description (ISAKMP peer)

description (keyring)

dns

domain (isakmp-group)

encryption (IKE policy)

firewall are-u-there

group (IKE policy)

group-lock

hash (IKE policy)

include-local-lan

isakmp authorization list

keepalive (ISAKMP profile)

key (IKE)

keyring

key-string (IKE)

lifetime (IKE policy)

local-address (keyring)

match identity

max-logins

max-users

netmask

pfs

pool (isakmp-group)

pre-shared-key

proxy

rsa-pubkey

save-password

self-identity

set interface

set interface tunnel-ipsec

set ipsec-profile

show crypto isakmp call admission statistics

show crypto isakmp errors

show crypto isakmp key

show crypto isakmp peers

show crypto isakmp policy

show crypto isakmp profile

show crypto isakmp sa

show crypto isakmp sa count

show crypto isakmp sa detail

show crypto isakmp stats

show crypto key pubkey-chain rsa

show crypto session

split-dns

wins


Internet Key Exchange Security Protocol Commands on Cisco IOS XR Software


This module describes the Cisco IOS XR software commands used to configure the Internet Key Exchange (IKE) security protocol.

For detailed information about IKE concepts, configuration tasks, and examples, see the Implementing Internet Key Exchange Security Protocol on Cisco IOS XR Software configuration module in Cisco IOS XR System Security Configuration Guide.

accounting (IKE)

To enable authentication, authorization, and accounting (AAA) services for all peers that connect through the ISAKMP profile, use the accounting command in ISAKMP profile configuration mode. To return to the default value, use the no form of this command.

accounting list-name

no accounting

Syntax Description

list-name

Name of a client accounting list. The maximum length of characters is 127.


Defaults

The default value is no accounting.

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to create an accounting list:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# accounting aaalist

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.


acl

To configure split tunneling, use the acl command in ISAKMP group configuration mode. To remove this command from your configuration and restore the default value, use the no form of this command.

acl acl-name

no acl acl-name

Syntax Description

acl-name

Specifies a group of access control list (ACL) rules that represent protected subnets for split tunneling purposes.


Defaults

Split tunneling is not enabled; all data is sent through the Virtual Private Network (VPN) tunnel.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the acl command to specify which groups of ACLs represent protected subnets for split tunneling. Split tunneling is the ability to have a secure tunnel to the central site and simultaneous clear text tunnels to the Internet.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to correctly apply split tunneling for the group name cisco. In this example, all traffic sourced from the client and destined to the subnet 192.168.1.0 are sent through the VPN tunnel.

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# key cisco
RP/0/RP0/CPU0:router(config-group)# acl group1

!

RP/0/RP0/CPU0:router(config)# access-list 199 permit ip 192.168.1.0 0.0.0.255 any

Related Commands

Command
Description

crypto isakmp client configuration group

Specifies which group policy profile is defined.

dns

Specifies the primary and secondary Domain Name Service (DNS) addresses.

key (IKE)

Specifies the Internet Key Exchange (IKE) preshared key for group policy attribute definition.


address

To specify the IP address for the Rivest, Shamir, and Adelman (RSA) public key of the remote peer you manually configure, use the address command in public key configuration mode. To remove the IP address of the remote peer, use the no form of this command.

address ip-address

no address ip-address

Syntax Description

ip-address

IP address of the remote RSA public key of the peer that you manually configure.


Defaults

No default behavior or values

Command Modes

Public key configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Example was modified to support the new crypto keyring structure by using the new crypto keyring and rsa-pubkey commands.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the address command to specify the RSA public key for the IP Security (IPSec) peer you manually configure next.

When you finish specifying the RSA key, you must return to global configuration mode by entering quit at the public key configuration mode prompt.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example manually specifies the RSA public keys of an IPSec peer:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkey
RP/0/RP0/CPU0:router(config-keyring)# rsa-pubkey name host.vpn.com
RP/0/RP0/CPU0:router(config-pubkey)# address 10.5.5.1
RP/0/RP0/CPU0:router(config-pubkey)# key-string 005C300D 06092A86 4886F70D 01010105
005C300D 06092A86 4886F70D 01010105
00034B00 30480241 00C5E23B 55D6AB22
04AEF1BA A54028A6 9ACC01C5 129D99E4
64CAB820 847EDAD9 DF0B4E4C 73A05DD2
BD62A8A9 FA603DD2 E2A8A6F8 98F76E28
D58AD221 B583D7A4 71020301 0001
quit

Related Commands

Command
Description

key-string (IKE)

Specifies the RSA public key of a remote peer.

rsa-pubkey

Defines the Rivest, Shamir, and Adelman (RSA) manual key to be used for encryption or signature during IKE authentication.

show crypto key pubkey-chain rsa

Displays peer RSA public keys stored on your router.


authentication (IKE policy)

To specify the authentication method within an Internet Key Exchange (IKE) policy, use the authentication command in ISAKMP policy configuration mode. To reset the authentication method to the default value, use the no form of this command.

authentication {pre-share | rsa-sig | rsa-encr}

no authentication {pre-share | rsa-sig | rsa-encr}

Syntax Description

pre-share

Specifies preshared keys as the authentication method.

rsa-sig

Specifies RSA signatures as the authentication method.

rsa-encr

Specifies Rivest, Shamir, and Adelman (RSA) encrypted nonces as the authentication method.


Defaults

RSA signatures

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

IKE policies define a set of parameters during IKE negotiation. Use the authentication command to specify the authentication method in an IKE policy. If you specify preshared keys, you must also separately configure these preshared keys.

If you specify RSA encrypted nonces, you must ensure that each peer has the RSA public keys of the other peers. (See the address, rsa-pubkey, and key-string commands.)

If you specify RSA signatures, you must configure your peer routers to obtain certificates from a certification authority (CA).

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure an IKE policy with preshared keys as the authentication method (and with all other parameters set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# authentication pre-share

The following example shows how to configure an IKE policy with RSA encrypted keys as the authentication method (and with all other parameters set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# authentication rsa-encr

The following example configures an IKE policy with RSA signatures as the authentication method (and with all other parameters set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# authentication rsa-sig

Related Commands

Command
Description

address

Specifies the IP address of the remote RSA public key of the remote peer you manually configure.

crypto isakmp policy

Defines an IKE policy.

crypto key generate rsa

Generates RSA key pairs.

encryption (IKE policy)

Specifies the encryption algorithm within an IKE policy.

group (IKE policy)

Specifies the Diffie-Hellman group identifier within an IKE policy.

hash (IKE policy)

Specifies the hash algorithm within an IKE policy.

key-string (IKE)

Specifies the RSA public key of a remote peer.

lifetime (IKE policy)

Specifies the lifetime of an IKE SA.

rsa-pubkey

Defines the Rivest, Shamir, and Adelman (RSA) manual key to be used for encryption or signature during IKE authentication.

show crypto isakmp policy

Displays the parameters for each IKE policy.


auto-update client

To configure automatic update parameters for a Cisco Easy VPN remote device, use the auto-update client command in ISAKMP group configuration mode. To disable the parameters, use the no form of this command.

auto-update client {type-of-system} {url url} {rev review-version}

no auto-update client {type-of-system} {url url} {rev review-version}

Syntax Description

type-of-system

Free-format string (see Table 1).

url url

Specifies the URL in which the Cisco Easy VPN device obtains the automatic update.

rev review-version

Specifies that the version number is a comma-delimited string of acceptable versions.


Defaults

Automatic updates cannot occur.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Table 1 lists the possible free-format strings that are used for the type-of-system argument.

Table 1 Possible Free-format Strings 

Free-Format String
Operating System

Win

Microsoft Windows

Win95

Microsoft Windows 95

Win98

Microsoft Windows 98

WinNT

Microsoft Windows NT

Win2000

Microsoft Windows 2000

Linux

Linux

Mac

Macintosh

VPN3002

Cisco VPN 3002 Hardware Client


The URL is a generic way to specify the protocol, username, password, address of the server, directory, and filename. The format of a URL is as follows: protocol://username:password@server address:port/directory/filename.

The automatic update on the remote device is triggered only if the current version of the software is earlier than the one specified in the revision string. Otherwise, the automatic update is ignored.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the update parameters are set for a Windows 2000 operating system, a URL of http:www.ourcompanysite.com/newclient, and version 3.0.1:

RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# crypto isakmp client configuration group marketing
RP/0/0/CPU0:router(config-group)# auto-update client Win2000 url 
http:www.ourcompanysite.com/newclient rev 3.0.1

Related Commands

Command
Description

banner

Configures an extended authentication (Xauth) banner string under a group policy definition.

browser-proxy

Applies browser-proxy parameter settings to a group.

crypto ipsec server send-update

Sends auto-update notifications any time after a Cisco Easy VPN connection is up.

crypto isakmp client configuration group

Includes the configuration of a local group profile.


backup-server

To specify the backup server, use the backup-server command in ISAKMP group configuration mode. To remove a backup server, use the no form of this command.

backup-server {ip-address | hostname}

no backup-server {ip-address | hostname}

Syntax Description

ip-address

IP address of the server.

hostname

Hostname of the server.


Defaults

A list of backup servers is not configured.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


NoteIf you have to configure more than one backup server, you have to add a backup-server command line for each.

You can configure a maximum of 10 backup servers.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that server 10.1.1.1 has been configured as a backup server:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group marketing
RP/0/RP0/CPU0:router(config-group)# backup-server 10.1.1.1

Related Commands

Command
Description

crypto isakmp client configuration group

Includes the configuration of a local group profile.


banner

To configure an extended authentication (Xauth) banner string under a group policy definition, use the banner command in ISAKMP group configuration mode. To disable the banner, use the no form of this command.

banner {banner-text}

no banner {banner-text}

Syntax Description

banner-text

Text string of the banner. Maximum number of characters is 1024.


Defaults

If a banner is not configured, a banner is not displayed.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the banner "thequickbrowndog" is specified:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group marketing
RP/0/RP0/CPU0:router(config-group)# banner thequickbrowndog

Related Commands

Command
Description

auto-update client

Configures automatic update parameters for a Cisco Easy VPN remote device.

browser-proxy

Applies browser-proxy parameter settings to a group.

crypto isakmp client configuration group

Includes the configuration of a local group profile.


browser-proxy

To apply browser-proxy parameter settings to a group, use the browser-proxy command in ISAKMP group configuration mode. To disable the parameter settings, use the no form of this command.

browser-proxy {browser-proxy-map-name}

no browser-proxy {browser-proxy-map-name}

Syntax Description

browser-proxy-map-name

Name of the browser proxy.


Defaults

Browser-proxy settings are not applied to a group.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You must define the browser proxy name before you define the crypto Internet Security Association and Key Management Protocol (ISAKMP) client configuration group name. The two names must be the same.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that browser proxy map EZVPN is applied to the group EZVPN:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group EZVPN
RP/0/RP0/CPU0:router(config-group)# browser-proxy EZVPN

Related Commands

Command
Description

auto-update client

Configures automatic update parameters for a Cisco Easy VPN remote device.

banner

Configures an extended authentication (Xauth) banner string under a group policy definition.

crypto isakmp client configuration group

Includes the configuration of a local group profile.


clear crypto isakmp

To clear active Internet Key Exchange (IKE) connections, use the clear crypto isakmp command in EXEC mode.

clear crypto isakmp [connection-id]

Syntax Description

connection-id

(Optional) Name of connection to clear. If this argument is not used, all existing connections are cleared. The range is from 1 to 64000.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

The range for the connection-id argument was added.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note If the connection-id argument is not used, all existing IKE connections are cleared when this command is issued.


Task ID

Task ID
Operations

crypto

execute


Examples

The following example shows how to clear an IKE connection between two peers connected by interfaces 172.21.114.123 and 172.21.114.67:

RP/0/RP0/CPU0:router# show crypto isakmp sa

vrf             dst             src             state           conn-id    nodeid
----------      ------------    ------------    ---------       -------    ------
default         172.21.114.123  172.21.114.67   QM_IDLE         1          0
default         172.0.0.2       172.0.0.1       QM_IDLE         8          0

RP/0/RP0/CPU0:router# configure
Enter configuration commands, one per line.  End with CNTL/Z.

RP/0/RP0/CPU0:router# clear crypto isakmp 1
RP/0/RP0/CPU0:router# show crypto isakmp sa

vrf             dst             src             state           conn-id    nodeid
----------      ------------    ------------    ---------       -------    ------
default         172.0.0.2       172.0.0.1       QM_IDLE         8          0

Related Commands

Command
Description

show crypto isakmp sa

Displays all current IKE SAs at a peer.


clear crypto isakmp call admission statistics

To clear ISAKMP call admission statistics, use the clear crypto isakmp call admission statistics command in EXEC mode.

clear crypto isakmp call isakmp call admission statistics

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

execute


Examples

The following example shows how to clear call admission statistics:

RP/0/RP0/CPU0:router# clear crypto isakmp call admission statistics

Related Commands

Command
Description

show crypto isakmp call admission statistics

Displays the configuration for Call Admission Control (CAC) to the IKE protocol.


clear crypto isakmp errors

To clear the statistics for Internet Security Association and Key Management Protocol (ISAKMP) errors, use the clear crypto isakmp errors command in EXEC mode.

clear crypto isakmp error

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

execute


Examples

The following example shows how to clear ISAKMP error statistics:

RP/0/RP0/CPU0:router# show crypto isakmp errors

Control Plane Errors
---------------------
ERR NO MEMORY.....................................0
INVALID CERT......................................0
CRYPTO FAILURE....................................0
SA NOT AUTH.......................................0
AUTHENTICATION FAILED.............................0
GROUP AUTHOR FAILED...............................0
USER AUTHEN REJECTED..............................0
LOCAL ADDRESS FAILURE.............................0
FAILED TO CREATE SKEYID...........................0
RSA PUBLIC KEY NOT FOUND..........................0
RETRANSMITION LIMIT...............................0
MALFORMED MESSAGE.................................0
QUICK MODE TIMER EXPIRED..........................0
KEY NOT FOUND IN PROFILE..........................0
PROFILE NOT FOUND.................................0
PRESHARED KEY NOT FOUND...........................0
PHASE2 PROPOSAL NOT CHOSEN........................0
POLICY MISMATCH...................................0
NO POLICY FOUND...................................0
PACKET PROCESS FAILURE............................0

Warnings
---------
CERT DOESNT MATCH ID..............................0
CERT ISNT TRUSTED ROOT............................0
PACKET NOT ENCRYPTED..............................0
UNRELIABLE INFO MSG...............................0
NO SA.............................................0
BAD DOI SA........................................0
UNKNOWN EXCHANGE TYPE.............................0
OUTGOING PKT TOO BIG..............................0
INCOMING PKT TOO BIG..............................0

Informational
--------------
CAC DROPS.........................................0
DEFAULT POLICY ACCEPTED...........................0

RP/0/RP0/CPU0:router# clear crypto isakmp errors

Related Commands

Command
Description

show crypto isakmp errors

Displays the ISAKMP error that occurred during tunnel establishment.


clear crypto session

To delete crypto sessions (IP Security [IPSec] and Internet Key Exchange [IKE] security associations [SAs]), use the clear crypto session command in EXEC mode.

clear crypto session [user username | group group | interface | ivrf vrf-name | local ip-address | fvrf vrf-name | remote ip-address]

Syntax Description

user username

(Optional) Specifies the name for the user.

group group

(Optional) Specifies the identity name for the group.

interface

(Optional) Specifies the name for the interface.

ivrf vrf-name

(Optional) Specifies the inside VRF (IVRF) session that is cleared.

local ip-address

(Optional) Clears crypto sessions for a local crypto endpoint. The ip-address argument is the IP address of the local crypto endpoint.

fvrf vrf-name

(Optional) Specifies the front door virtual routing and forwarding (FVRF) session that is cleared.

remote ip-address

(Optional) Clears crypto sessions for a remote IKE peer. The ip-address argument is the IP address of the remote IKE peer.


Defaults

If the clear crypto session command is entered without any keywords, all existing sessions are deleted. The IPSec SAs are deleted first. Then, the IKE SAs are deleted. The default value for the remote port is 500.

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

To clear a specific crypto session or a subset of all the sessions, you need to provide session specific parameters, such as local interface, local IP address, remote IP address (and port), FVRF name, or IVRF name.

If a local IP address is provided as a parameter, all the sessions (and their IKE SAs and IPSec SAs) that share the IP address as a local crypto endpoint (IKE local address) are deleted.

Task ID

Task ID
Operations

crypto

execute


Examples

The following example shows how to delete all crypto sessions:

RP/0/RP0/CPU0:router# clear crypto session

The following example shows that the crypto session of the FVRF named "blue" is deleted:

RP/0/RP0/CPU0:router# clear crypto session fvrf blue

The following example shows that the crypto session of the local endpoint 10.1.1.1 is deleted:

RP/0/RP0/CPU0:router# clear crypto session local 10.1.1.1

Related Commands

Command
Description

description (ISAKMP peer)

Adds the description of an Internet Key Exchange (IKE) peer.

show crypto session

Displays status information for active crypto sessions.


client authentication list

To apply extended authentication (Xauth) for Internet Key Exchange (IKE) interaction, use the client authentication list command in ISAKMP profile configuration mode. To remove Xauth, use the no form of this command.

client authentication list authen-list-name

no client authentication list authen-list-name

Syntax Description

authen-list-name

Username and password storage location (local or remote server) as defined in the aaa authentication command.


Defaults

No default behavior or values

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

This command is used under the crypto ISAKMP profile.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Xauth allows all Cisco IOS XR software authentication, authorization, and accounting (AAA) methods to perform user authentication in a separate phase after the IKE authentication phase 1 exchange. For user authentication, the AAA configuration list name must match the Xauth configuration list name.

Task ID

Task ID
Operations

crypto

read, write


Examples

In the following example, AAA username and password storage location information is applied from the list0 authentication list to a profile named sample:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile sample
RP/0/RP0/CPU0:router(config-isa-prof)# client authentication list list0

Related Commands

Command
Description

isakmp authorization list

Applies mode configuration for IKE interaction.


client single-sa-per-inft

To enable a single IP Security (IPSec) security association (SA) per interface, use the client single-sa-per-inft command in Internet Security Association and Key Management Protocol (ISAKMP) profile configuration mode. To disable IPSec SAs per interface, use the no form of this command.

client single-sa-per-inft

no client single-sa-per-inft

Syntax Description

This command has no arguments or keywords.

Defaults

No limit for the number of IPSec SAs per interface, in which the actual number is dependent on the number of remote users and sites to connect to the service-ipsec interface.

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The client single-sa-per-inft command is used to limit the number of IPSec SAs that are terminating on one service-ipsec interface to one.

The client single-sa-per-intft command is useful to interoperate with the remote Cisco Easy VPN clients in the following cases:

Cisco Easy VPN clients negotiate for a single IPSec SA with proxies ip any any, and use the MODECFG_IP4_ROUTE attribute to distribute routes associated with the IPSec SA. Unless the client single-sa-per-inft command is used, the remote clients can negotiate for multiple IPSec SAs with proxies that are different than ip any any.

Multicast support is required on the service-ipsec interface.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to enable multiple IPSec security associations (SAs) per interface:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# client single-sa-per-inft

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

set interface

Specifies that the virtual interface is predefined when the local endpoint is the IKE responder and when it is the IKE initiator.


configuration url

To specify on a server the URL that a Cisco Easy VPN remote device must use to get a configuration in a Mode Configuration Exchange, use the configuration url command in ISAKMP group configuration mode. To delete the URL, use the no form of this command.

configuration url {url}

no configuration url {url}

Syntax Description

url

URL for the Cisco Easy VPN remote device must use to get the configuration from the server.


Defaults

A Cisco Easy VPN remote device cannot request a configuration from a server in a Mode Configuration Exchange.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

After the server pushes the URL to a Cisco Easy VPN remote device, the remote device downloads the content located at the URL site and applies the configuration content to its running configuration.

Before this command is configured, the crypto isakmp client configuration group command must already be configured.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that a server has specified the URL the Cisco Easy VPN remote device must use to download the URL:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group group1
RP/0/RP0/CPU0:router(config-group)# configuration url http://10.10.8.8/easy.cfg

Related Commands

crypto isakmp client configuration group

Includes the configuration of a local group profile.


configuration version

To specify on a server the version that a Cisco Easy VPN remote device must use to get a particular configuration in a Mode Configuration Exchange, use the configuration version command in ISAKMP group configuration mode. To delete the version number, use the no form of this command.

configuration version {version-number}

no configuration version {version-number}

Syntax Description

version-number

Version of the configuration. The version number is an unsigned integer in the range of 1 to 10.


Defaults

A version number is not sent.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Before this command is configured, the crypto isakmp client configuration group command must already be configured.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that a server has specified the version number a Cisco Easy VPN remote device must use to obtain that particular configuration version:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group group1
RP/0/RP0/CPU0:router(config-group)# configuration version 10

Related Commands

Command
Description

crypto isakmp client configuration group

Includes the configuration of a local group profile.


crypto ipsec server send-update

To send auto-update notifications any time after a Cisco Easy VPN connection is up, use the crypto ipsec server send-update command in EXEC mode. To disable auto-update notifications, use the no form of this command.

crypto ipsec server send-update {group-name}

no crypto ipsec server send-update {group-name}

Syntax Description

group-name

Name of group, in which to send auto-update notifications.


Defaults

Auto-update notifications are not sent.

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

This command is configured on a server. By configuring the command, the auto update notification is sent manually after the tunnel is up.

Task ID

Task ID
Operations

crypto

execute


Examples

The following example shows that automatic update notifications are sent to GroupA:

RP/0/0/CPU0:router# crypto ipsec server send-update GroupA

Informed SA : 0

Related Commands

Command
Description

auto-update client

Configures automatic update parameters for a Cisco Easy VPN remote device.


crypto isakmp

To globally enable Internet Key Exchange (IKE) at your peer router, use the crypto isakmp command in global configuration mode. To disable IKE at the peer, use the no form of this command.

crypto isakmp

no crypto isakmp

Syntax Description

This command has no arguments or keywords.

Defaults

IKE is disabled.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

The crypto isakmp enable command was replaced with the crypto isakmp command.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

IKE need not be enabled for individual interfaces, but is enabled globally for all interfaces at the router.

Task ID

Task ID
Operations

none


Examples

The following example shows how to disable IKE at one peer:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# no crypto isakmp

crypto isakmp call admission limit

To deny incoming or outgoing session requests based on several metrics, use the crypto isakmp call admission limit command in global configuration mode. To disable this feature, use the no form of this command.

crypto isakmp call admission limit {cpu {total percent | ike percent} | in-negotiation-sa number | sa number}

no crypto isakmp call admission limit {cpu {total percent | ike percent} | in-negotiation-sa number | sa number}

Syntax Description

cpu

Specifies the total resource limit for the CPU usage to accept new calls.

total percent

Specifies the maximum total CPU usage to accept new calls. The range for the percent argument is from 1 to 100.

ike percent

Specifies the maximum IKE CPU usage to accept new calls. The range for the percent argument is from 1 to 100.

in-negotiation-sa number

Specifies the maximum number of in-negotiation (embryonic) IKE security associations (SAs) that the router can establish before IKE begins rejecting new SA requests. The range for the number argument is from 1 to 100000.

sa number

Specifies that the maximum number of active IKE SAs that the router can establish before IKE begins rejecting new SA requests. You can configure a limit on the number of in-negotiation connects. This type of connect represents an aggressive mode IKE SA or main mode SA prior to the authentication and actual establishment. The range for the number argument is from 1 to 100000.


Defaults

The default value for the in-negotiation-sa keyword is set to 1000 SAs.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A request for an IKE SA is denied if insufficient system resources exist to handle the negotiation.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to use the crypto isakmp call admission limit command:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp call admission limit cpu ike 30

crypto isakmp client configuration browser-proxy

To configure browser-proxy parameters for a Cisco Easy VPN remote device and to enter ISAKMP browser proxy configuration mode, use the crypto isakmp client configuration browser-proxy command in global configuration mode. To disable the browser-proxy parameters, use the no form of this command.

crypto isakmp client configuration browser-proxy {browser-proxy-name}

no crypto isakmp client configuration browser-proxy {browser-proxy-name}

Syntax Description

browser-proxy-name

Name of the browser proxy.


Defaults

Browser-proxy parameters are not set.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

While specifying the proxy server, the proxy IP address and port number are separated with a colon. The proxy exception list is a semicolon-delimited string of IP addresses.

After enabling this command, you may specify the proxy subcommand to configure proxy parameters for your Cisco Easy VPN remote device.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows browser-proxy parameter settings for a browser proxy named bproxy:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration browser-proxy bproxy
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy auto-detect

Related Commands

Command
Description

proxy

Configures proxy parameters for a Cisco Easy VPN remote device.


crypto isakmp client configuration group

To include the configuration of a local group profile, use the crypto isakmp client configuration group command in global configuration mode.

crypto isakmp client configuration group group-name

Syntax Description

group-name

Text string that specifies the name of a group.


Defaults

No default behavior or values

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The key command must be enabled if the client identifies itself with a preshared key.

The following commands are available in the IKE group policy configuration mode:

acl—Configures split tunneling. The acl-name argument specifies a group of access control list (ACL) rules that represent protected subnets for split tunneling purposes.

keySpecifies the Internet Key Exchange (IKE) preshared key for group policy attribute definition. The key command must be enabled if the client identifies itself with a preshared key.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to include the configuration of a local group profile with the group name marketing:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group marketing
RP/0/RP0/CPU0:router(config-group)#

Related Commands

Command
Description

acl

Configures split tunneling.

crypto ipsec profile

Configures the IPSec profile.

crypto isakmp policy

Defines an IKE policy.

key (IKE)

Specifies the IKE preshared key for group policy attribute definition.


crypto isakmp identity

To specify the identity used by the router when participating in the Internet Key Exchange (IKE) protocol, use the crypto isakmp identity command in global configuration mode. To reset the Internet Security Association Key Management Protocol (ISAKMP) identity to the default value (address), use the no form of this command.

crypto isakmp identity {address | hostname}

no crypto isakmp identity

Syntax Description

address

Sets the ISAKMP identity to the IP address of the interface that communicates to the remote peer during IKE negotiations.

hostname

Sets the ISAKMP identity to the host name concatenated with the domain name (for example, myhost.example.com).


Defaults

The IP address is used for the ISAKMP identity.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Example was modified to support the new crypto keyring structure by using the new crypto keyring and pre-shared-key commands

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the crypto isakmp identity command to specify an ISAKMP identity either by IP address or by host name. As a general rule, you should set all identities for peers in the same way—either by IP address or by host name.

Set an ISAKMP identity whenever you specify preshared keys.

Use the address keyword when only one interface (and therefore only one IP address) is used by the peer for IKE negotiations, and the IP address is known.

Use the hostname keyword if more than one interface on the peer might be used for IKE negotiations, or if the IP address for the interface is unknown (such as with dynamically assigned IP addresses).

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to use preshared keys at two peers and set both their ISAKMP identities to the IP address.

At the local peer (at 10.0.0.1), the ISAKMP identity is set and the preshared key is specified.

RP/0/RP0/CPU0:router(config)# crypto isakmp identity address
RP/0/RP0/CPU0:router(config)# crypto keyring keyring1
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key address 192.168.1.33 key presharedkey

At the remote peer (at 192.168.1.33), the ISAKMP identity is set and the same preshared key is specified.

RP/0/RP0/CPU0:router(config)# crypto isakmp identity address
RP/0/RP0/CPU0:router(config)# crypto keyring keyring1
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key address 10.0.0.1 key presharedkey


Note In the preceding example, if the crypto isakmp identity command had not been performed, the ISAKMP identities would still have been set to the IP address, the default identity.


The following example shows how to use preshared keys at two peers and set both their ISAKMP identities to the host name.

At the local peer, the ISAKMP identity is set and the preshared key is specified.

RP/0/RP0/CPU0:router(config)# crypto isakmp identity hostname
RP/0/RP0/CPU0:router(config)# crypto keyring keyring1
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key hostname remoterouter.example.com key 
presharedkey

At the remote peer, the ISAKMP identity is set and the same preshared key is specified.

RP/0/RP0/CPU0:router(config)# crypto isakmp identity hostname
RP/0/RP0/CPU0:router(config)# crypto keyring keyring1
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key hostname localrouter.example.com key 
presharedkey

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

crypto keyring

Defines a crypto keyring during IKE authentication.

local-address (keyring)

Limits the scope of an ISAKMP keyring configuration to a local termination address.

pre-shared-key

Defines a preshared key for IKE authentication.


crypto isakmp keepalive

To use the Internet Key Exchange (IKE) security association (SA) feature for providing a mechanism for detecting loss of connectivity between two IP Security (IPSec) peers, use the crypto isakmp keepalive command in global configuration mode. To disable this feature, use the no form of this command.

crypto isakmp keepalive seconds retry-seconds [periodic | on-demand]

no crypto isakmp keepalive

Syntax Description

seconds

Number of seconds between keepalive messages. The range is from 10 to 3600.

retry-seconds

Number of seconds between retries if keepalive fails. The range is from 2 to 60.

periodic

(Optional) Specifies that the keepalive messages are sent at regular intervals.

on-demand

(Optional) Specifies that the dead peer detection (DPD) retries are sent on demand. Because the on-demand keyword is the default, the keyword does not appear in the sample output.


Defaults

IKE does not send keepalive messages until specified by this command.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Both the periodic and on-demand keywords were added.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

If IKE does not receive the keepalive acknowledge message from the peer after four tries, IKE concludes that it has lost connectivity with its peer.

DPD for both periodic or on-demand cannot coexist with the idle-timeout from the crypto ipsec security-association idle-time command. For a given ISAKMP peer, you can configure only either of the functions but not both.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to set the number of seconds between keepalive messages to 20 seconds, and the number of seconds between retries to 20 seconds if keepalive fails:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp keepalive 20 20 on-demand

Related Commands

Command
Description

crypto isakmp identity

Specifies the identity the router uses when participating in the IKE protocol.


crypto isakmp peer

To enable an IP Security (IPSec) peer for Internet Key Exchange (IKE), use the crypto isakmp peer command in global configuration mode. To disable this functionality, use the no form of this command.

crypto isakmp peer {address ip-address | hostname hostname} [description line | vrf fvrf-name]

no crypto isakmp peer {address ip-address | hostname hostname} [description line | vrf vrf-name]

Syntax Description

address ip-address

Specifies the IP address of the peer router.

hostname hostname

Specifies the hostname of the peer.

description line

(Optional) Specifies the IKE peer description. The maximum number of characters, which you can use to describe the peer, is 80

vrf fvrf-name

(Optional) Specifies the VPN routing and forwarding (VRF) routing table through which the peer is reachable. The fvrf-name argument must match the FVRF name that was defined during VPN routing and forwarding (VRF) configuration


Defaults

No default behavior or values

Command Modes

Global configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the crypto isakmp peer command to enter ISAKMP peer configuration mode.

You can give a peer that is identified by an IP address a meaningful name or description.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the peer address is 40.40.40.2 and named citeA:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp peer address 40.40.40.2
RP/0/RP0/CPU0:router(config-isakmp-peer)# description citeA
RP/0/RP0/CPU0:router(config-isakmp-peer)# commit

RP/0/RP0/CPU0:router# show crypto isakmp peers

Peer: 60.60.60.2   Port: 500   Local: 70.70.70.2   vrf: default
  UDP encapsulate: False
  SA information:
    Connection ID: 2
    State: QM_IDLE
    Phase 1 ID: IPV4_ADDR 60.60.60.2

Peer: 40.40.40.2   Port: 500   Local: 50.50.50.2   vrf: default
  Description: peerA
  UDP encapsulate: False
  SA information:
    Connection ID: 1
    State: QM_IDLE
    Phase 1 ID: IPV4_ADDR 40.40.40.2

Related Commands

Command
Description

description (ISAKMP peer)

Adds the description of an Internet Key Exchange (IKE) peer.

show crypto isakmp peers

Displays peer structures.


crypto isakmp policy

To define an Internet Key Exchange (IKE) policy, use the crypto isakmp policy command in global configuration mode. To delete an IKE policy, use the no form of this command.

crypto isakmp policy priority

no crypto isakmp policy priority

Syntax Description

priority

Value that uniquely identifies the IKE policy and assigns a priority to the policy. Use an integer from 1 to 10000, with 1 being the highest priority and 10000 the lowest.


Defaults

There is a default policy, which always has the lowest priority. The default policy contains default values for the encryption, hash, authentication, Diffie-Hellman group, and lifetime parameters. (The parameter defaults are listed in the "Usage Guidelines" section.) When you create an IKE policy, the default for a particular parameter is used if no value is specified.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the crypto isakmp policy command to specify the parameters to use during an IKE negotiation. (These parameters create the IKE security association [SA].)

The crypto isakmp policy command enters ISAKMP policy configuration mode. The following commands are available in this mode to specify the parameters in the policy:

authentication (IKE policy) command—Specifies that the default values are Rivest, Shamir, and Adelman (RSA) signatures.

description (IKE policy) command—Creates a description of an IKE policy.

encryption (IKE policy) command—Specifies that the default value is 56-bit DES-CBC.

aes—Specifies that the encrypted IKE messages protected by this suite are encrypted using Advanced Encryption Standard (AES) with a 128-bit key.

aes 192—Specifies that the encrypted IKE messages protected by this suite are encrypted using AES with a 192-bit key.

aes 256—Specifies that the encrypted IKE messages protected by this suite are encrypted using AES with a 256-bit key.

group (IKE policy) command—Specifies that the default value is 768-bit Diffie-Hellman.

hash (IKE policy) command—Specifies that the default value is SHA-1.

lifetime (IKE policy) command—Specifies that the default value is 86,400 seconds (1 day).

If you do not specify one of these commands for a policy, the default value is used for that parameter.

To exit ISAKMP policy configuration mode, enter exit.

You can configure multiple IKE policies on each peer participating in IP Security (IPSec). When the IKE negotiation begins, it tries to find a common policy configured on both peers, starting with the highest priority policies as specified on the remote peer.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure two policies for the peer:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# hash md5
RP/0/RP0/CPU0:router(config-isakmp)# authentication rsa-sig
RP/0/RP0/CPU0:router(config-isakmp)# group 2
RP/0/RP0/CPU0:router(config-isakmp)# lifetime 5000
RP/0/RP0/CPU0:router(config-isakmp)# exit

RP/0/RP0/CPU0:router(config)# crypto isakmp policy 20
RP/0/RP0/CPU0:router(config-isakmp)# authentication pre-share
RP/0/RP0/CPU0:router(config-isakmp)# lifetime 10000
RP/0/RP0/CPU0:router(config-isakmp)# exit

The configuration results in the following policies:

Protection suite priority 15
  encryption algorithm: DES - Data Encryption Standard (56 bit keys)
  hash algorithm: Message Digest 5
  authentication method: Rivest-Shamir-Adelman Signature
  Diffie-Hellman Group: #2 (1024 bit)
  lifetime: 5000 seconds, no volume limit
Protection suite priority 20
  encryption algorithm: DES - Data Encryption Standard (56 bit keys)
  hash algorithm: Secure Hash Standard
  authentication method: Pre-Shared Key
  Diffie-Hellman Group: #1 (768 bit)
  lifetime: 10000 seconds, no volume limit
Default protection suite
  encryption algorithm: DES - Data Encryption Standard (56 bit keys)
  hash algorithm: Secure Hash Standard
  authentication method: Rivest-Shamir-Adleman Signature
  Diffie-Hellman Group: #1 (768 bit)
  lifetime: 86400 seconds, no volume limit

IKE policy 15 is the highest priority, and the default policy is the lowest priority.

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

encryption (IKE policy)

Specifies the encryption algorithm within an IKE policy.

group (IKE policy)

Specifies the Diffie-Hellman group identifier within an IKE policy.

hash (IKE policy)

Specifies the hash algorithm within an IKE policy.

lifetime (IKE policy)

Specifies the lifetime of an IKE SA.

show crypto isakmp policy

Displays the parameters for each IKE policy.


crypto isakmp profile

To define an ISAKMP profile and audit IPSec user sessions, use the crypto isakmp profile command in global configuration mode. To delete a crypto ISAKMP profile, use the no form of this command.

crypto isakmp profile [local] profile-name

no crypto isakmp profile [local] profile-name

Syntax Description

local

(Optional) Specifies that the profile is used for locally sourced or terminated traffic.

Note The local keyword is used for the ISAKMP profile to define locally sourced or destined traffic. This traffic is decrypted or encrypted by the route processor (RP) and not by the Cisco IPSec VPN SPA.

profile-name

Name of the user profile. To associate a user profile with the RADIUS server, the user profile name must be identified.


Defaults

No default behaviors or values

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The peers are mapped to an ISAKMP profile when their identities are matched (as given in the identification [ID] payload of the Internet Key Exchange [IKE]) against the identities defined in the ISAKMP profile. To uniquely map to an ISAKMP profile, no two ISAKMP profiles should match the same identity. If the peer identity is matched in two ISAKMP profiles, the configuration is invalid. At least one match identity command must also be defined in the ISAKMP profile for the profile to be complete.

Before you configure an ISAKMP profile, the key rings that are used for the profile should be configured.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to define an ISAKMP profile and match the peer identities:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# match identity group vpngroup
RP/0/RP0/CPU0:router(config-isa-prof-match)# set interface service-ipsec 1

Related Commands

Command
Description

client single-sa-per-inft

Enables multiple IPSec security associations (SAs) per interface.

isakmp authorization list

Specifies the authorization list that is used for authorization for Internet Key Exchange (IKE) interaction.

keepalive (ISAKMP profile)

Lets the gateway send dead peer detection (DPD) messages to the peer.

match identity

Matches the identity of a peer in an ISAKMP profile.

self-identity

Defines the identity that the local IKE uses to identify itself to the remote peer.

set interface tunnel-ipsec

Predefines the interface instance.

set ipsec-profile

Predefines the IPSec profile.

show crypto isakmp profile

Lists all the ISAKMP profiles that are defined on a router.


crypto keyring

To define a crypto keyring during IKE authentication, use the crypto keyring command in global configuration mode. To remove the keyring, use the no form of this command.

crypto keyring keyring-name [vrf fvrf-name]

no crypto keyring keyring-name [vrf fvrf-name]

Syntax Description

keyring-name

Name of the crypto keyring. The maximum length of the keyring name is 32 characters.

vrf fvrf-name

(Optional) Specifies that the front door virtual routing and forwarding (FVRF) name to which the keyring is referenced. The fvrf-name argument must match the FVRF name that was defined during virtual routing and forwarding (VRF) configuration.


Defaults

If the vrf keyword is not defined, the keyring is referenced to the global VRF.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A keyring is a repository of preshared and RSA public keys. The keyring is used in global configuration mode. The ISAKMP profile successfully completes authentication of peers if the peer keys are defined in the keyring that is attached to this profile.

Use the crypto keyring command to enter keyring configuration mode.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to use the crypto keyring command:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkey
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key address 10.72.23.11 key vpnsecret

Related Commands

Command
Description

crypto isakmp identity

Specifies the identity used by the router when participating in the Internet Key Exchange (IKE) protocol.

description (keyring)

Creates a description for a keyring.

local-address (keyring)

Limits the scope of an ISAKMP keyring configuration to a local termination address or interface.

pre-shared-key

Defines a preshared key for IKE authentication.

rsa-pubkey

Defines the Rivest, Shamir, and Adelman (RSA) public key by address or hostname.


crypto logging

To enable the appearance of the cyrpto tunnel up or down message, use the crypto logging command in global configuration mode. To disable this option, use the no form of this command.

crypto logging {tunnel-status}

no crypto logging {tunnel-status}

Syntax Description

tunnel-status

Enables the logging for the tunnel-status.


Defaults

The default is disabled.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to use the crypto logging command:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto logging tunnel-status

description (IKE policy)

To create a description for an Internet Key Exchange (IKE) policy, use the description command in ISAKMP policy configuration mode. To delete an IKE policy description, use the no form of this command.

description string

no description

Syntax Description

string

Character string describing the IKE policy.


Defaults

The default description is blank.

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the description command inside the ISAKMP policy configuration submode to create a description for an IKE policy.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows the creation of an IKE policy description:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# description this is a sample IKE policy

description (ISAKMP peer)

To add the description of an Internet Key Exchange (IKE) peer, use the description command in ISAKMP peer configuration mode. To delete the description, use the no form of this command.

description line-of-description

no description line-of-description

Syntax Description

line-of-description

Description given to an IKE peer. The maximum number of characters is 80.


Defaults

No default behavior or values

Command Modes

ISAKMP peer configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

IKE peers that "sit" behind a Network Address Translation (NAT) device cannot be uniquely identified; therefore, they have to share the same peer description.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the description "connection from site A" is added for an IKE peer:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp peer address 10.2.2.9
RP/0/RP0/CPU0:router(config-isakmp-peer)# description connection from site A

Related Commands

Command
Description

clear crypto session

Deletes crypto sessions IPSec and IKE SAs for an ISAKMP group and user.

crypto isakmp peer

Enables an IP Security (IPSec) peer for Internet Key Exchange (IKE).

show crypto isakmp peers

Displays peer structures.

show crypto session

Displays status information for active crypto sessions.


description (keyring)

To create a one line description for a keyring, use the description command in keyring configuration mode. To delete a keyring description, use the no form of this command.

description string

no description

Syntax Description

string

Character string describing the keyring.


Defaults

The default description is blank.

Command Modes

Keyring configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the description command inside the ISAKMP policy configuration submode to create a description for a keyring.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows the creation of a keyring description:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkey
RP/0/RP0/CPU0:router(config-keyring)# description this is a sample keyring

Related Commands

Command
Description

crypto keyring

Defines a crypto keyring during IKE authentication.


dns

To specify the primary and secondary Domain Name Service (DNS) addresses, use the dns command in (Internet Security Association Key Management Protocol) ISAKMP group configuration mode. To remove this command from your configuration, use the no form of this command.

dns primary-server [secondary-server]

no dns primary-server [secondary-server]

Syntax Description

primary-server

IP address of the primary DNS.

secondary-server

(Optional) IP address of the secondary DNS.


Defaults

A DNS address is not specified.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the dns command to specify the primary and secondary DNS addresses for the group.

You must enable the crypto isakmp client configuration group command, which specifies group policy information that needs to be defined or changed, before enabling the dns command.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to define a primary and secondary DNS address for the marketing group name:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group marketing
RP/0/RP0/CPU0:router(config-group)# key cisco
RP/0/RP0/CPU0:router(config-group)# dns 2.2.2.2 2.3.2.3
RP/0/RP0/CPU0:router(config-group)# pool dog
RP/0/RP0/CPU0:router(config-group)# acl 199

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies which group policy profile is defined.

key (IKE)

Specifies the Internet Key Exchange (IKE) preshared key for group policy attribute definition.

pool (isakmp-group)

Defines a local pool address.

wins

Specifies the primary and secondary Windows Internet Naming Service (WINS) servers.


domain (isakmp-group)

To specify the Domain Name Service (DNS) domain to which a group belongs, use the domain command in ISAKMP group configuration mode. To remove this command from your configuration, use the no form of this command.

domain name

no domain name

Syntax Description

name

Default name of the DNS domain.


Defaults

A DNS domain is not specified.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the domain command to specify group domain membership.

You must enable the crypto isakmp configuration group command, which specifies group policy information that has to be defined or changed, before enabling the domain command.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that members of the group cisco also belong to the domain cisco.com:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# key cisco
RP/0/RP0/CPU0:router(config-group)# dns 10.2.2.2 10.3.2.3
RP/0/RP0/CPU0:router(config-group)# pool dog
RP/0/RP0/CPU0:router(config-group)# acl 199
RP/0/RP0/CPU0:router(config-group)# domain cisco.com

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies which group policy profile is defined.

dns

Specifies the primary and secondary Domain Name Service (DNS) addresses.

key (IKE)

Specifies the Internet Key Exchange (IKE) preshared key for group policy attribute definition.

pool (isakmp-group)

Defines a local pool address.

split-dns

Specifies a domain name that must be tunneled or resolved to the private network.


encryption (IKE policy)

To specify the encryption algorithm within an Internet Key Exchange (IKE) policy, use the encryption command in ISAKMP policy configuration mode. To reset the encryption algorithm to the default value, use the no form of this command.

encryption {des | 3des | aes | aes 192 | aes 256}

no encryption

Syntax Description

des

Specifies 56-bit DES-CBC as the encryption algorithm. This option is the default value.

3des

Specifies 168-bit Digital Encryption Standard (DES) as the encryption algorithm.

aes

Specifies 128-bit Advanced Encryption Standard (AES) as the encryption algorithm.

aes 192

Specifies 192-bit AES as the encryption algorithm.

aes 256

Specifies 256-bit AES as the encryption algorithm.


Defaults

The 56-bit DES-CBC encryption algorithm (des).

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

IKE policies define a set of parameters during IKE negotiation. Use the encryption command to specify the encryption algorithm in an IKE policy.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure an IKE policy with the 3DES encryption algorithm (and with all other parameters set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# encryption 3des

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

crypto isakmp policy

Defines an IKE policy.

group (IKE policy)

Specifies the Diffie-Hellman group identifier within an IKE policy.

hash (IKE policy)

Specifies the hash algorithm within an IKE policy.

lifetime (IKE policy)

Specifies the lifetime of an IKE SA.

show crypto isakmp policy

Displays the parameters for each IKE policy.


firewall are-u-there

To add the Firewall-Are-U-There attribute to the server group if your PC is running the Black Ice or Zone Alarm personal firewalls, use the firewall are-u-there command in ISAKMP group configuration mode. To disable the Firewall-Are-U-There attribute, use the no form of this command.

firewall are-u-there

no firewall are-u-there

Syntax Description

This command has no arguments or keywords.

Defaults

The server does not send the Firewall-Are-U-There attribute to the client.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The Firewall-Are-U-There attribute is sent by the Black Ice and Zone Alarm personal firewalls if they are prompted by the server. If connections to the Virtual Private Network (VPN) are for protected devices only; that is, if a PC is running one of these personal firewalls, you should add the attribute to the server group. Devices that do not have a personal firewall do not respond with their capabilities, and their connections are dropped.

The Firewall-Are-U-There attribute is configured on a Cisco IOS XR router or in the RADIUS profile.

To configure the Firewall-Are-U-There attribute, use the firewall are-u-there command.

The following example is an attribute-value (AV) pair for the Firewall-Are-U-There attribute:

ipsec:firewall=1

You must enable the crypto isakmp client configuration group command, which specifies group policy information that has to be defined or changed, before enabling the firewall are-u-there command.


NoteThe Firewall-Are-U-There attribute is applied only by a RADIUS user.

The attribute is applied for both group and user. The selection is based on the priority between the user and group as defined in the ISAKMP profile. Most attributes are accepted for user and group and the priority is set by a single flag.

User-based attributes are available only if RADIUS is used as the database.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the Firewall-Are-U-There attribute is configured:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# firewall are-u-there

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies which group policy profile is defined.


group (IKE policy)

To specify the Diffie-Hellman group identifier within an Internet Key Exchange (IKE) policy, use the group command in ISAKMP policy configuration mode. To reset the Diffie-Hellman group identifier to the default value, use the no form of this command.

group {1 | 2 | 5}

no group

Syntax Description

1

Specifies the 768-bit Diffie-Hellman group. This option is the default.

2

Specifies the 1024-bit Diffie-Hellman group.

5

Specifies the 1536-bit Diffie-Hellman group.


Defaults

768-bit Diffie-Hellman (group 1)

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

IKE policies define a set of parameters during IKE negotiation. Use this command to specify the Diffie-Hellman group in an IKE policy.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure an IKE policy with the 1024-bit Diffie-Hellman group (all other parameters are set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# group 2

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

crypto isakmp policy

Defines an IKE policy.

encryption (IKE policy)

Specifies the encryption algorithm within an IKE policy.

hash (IKE policy)

Specifies the hash algorithm within an IKE policy.

lifetime (IKE policy)

Specifies the lifetime of an IKE SA.

show crypto isakmp policy

Displays the parameters for each IKE policy.


group-lock

To allow you to enter your extended authentication (Xauth) username, including the group name, when preshared key authentication is used with Internet Key Exchange (IKE), use the group-lock command in ISAKMP group configuration mode. To remove the group lock, use the no form of this command.

group-lock

no group-lock

Syntax Description

This command has no arguments or keywords.

Defaults

Group lock is not configured.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The Group-Lock attribute is used if preshared key authentication is used with IKE. When the attribute is enabled, you may enter your extended Xauth username as name/group, name\group, name@group, or name%group. The group that is specified after the delimiter is then compared against the group identifier that is sent during IKE aggressive mode. The groups must match or the connection is rejected.

The Group-Lock attribute is configured on a Cisco IOS XR router or in the RADIUS profile. This attribute has local (gateway) significance only and is not passed to the client.

The username in the local or RADIUS database must be of the following format:

username[/,\,%,@]group.

To configure the Group-Lock attribute, use the group-lock command.

The following example is an attribute-value (AV) pair for the Group-Lock attribute:

ipsec:group-lock=1

You must enable the crypto isakmp client configuration group command, which specifies group policy information that has to be defined or changed, before enabling the group-lock command.


NoteThe Group-Lock attribute is applied only by a RADIUS user.

The attribute is applied on a per-user basis after the user is authenticated.

The attribute can override any similar group attributes.

User-based attributes are available only if RADIUS is used as the database.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that group lock is configured:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# group-lock

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies which group policy profile is defined.


hash (IKE policy)

To specify the hash algorithm within an Internet Key Exchange (IKE) policy, use the hash command in ISAKMP policy configuration mode. To reset the hash algorithm to the default SHA-1 hash algorithm, use the no form of this command.

hash {sha | md5}

no hash

Syntax Description

sha

Specifies SHA-1 (Hashed Message Authentication Code [HMAC]) as the hash algorithm. This option is the default.

md5

Specifies Message Digest 5 (MD5) (HMAC variant) as the hash algorithm.


Defaults

SHA-1 hash algorithm

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the hash command to specify the hash algorithm in an IKE policy. IKE policies define a set of parameters during IKE negotiation.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure an IKE policy with the MD5 hash algorithm (all other parameters are set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# hash md5

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

crypto isakmp policy

Defines an IKE policy.

encryption (IKE policy)

Specifies the encryption algorithm within an IKE policy.

group (IKE policy)

Specifies the Diffie-Hellman group identifier within an IKE policy.

lifetime (IKE policy)

Specifies the lifetime of an IKE SA.

show crypto isakmp policy

Displays the parameters for each IKE policy.


include-local-lan

To configure the Include-Local-LAN attribute to allow a nonsplit-tunneling connection to access the local subnetwork at the same time as the client, use the include-local-lan command in ISAKMP group configuration mode. To disable the attribute that allows the nonsplit-tunneling connection, use the no form of this command.

include-local-lan

no include-local-lan

Syntax Description

This command has no arguments or keywords.

Defaults

A nonsplit-tunneling connection is not able to access the local subnet at the same time as the client.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

If split tunneling is not in use (for example, the SPLIT_INCLUDE attribute was not negotiated), you lose not only Internet access, but also access to resources on the local subnetworks. The Include-Local-LAN attribute allows the server to push the attribute to the client, which allows for a nonsplit-tunneling connection to access the local subnetwork at the same time as the client (for example, the connection is to the subnetwork to which the client is directly attached).

The Include-Local-LAN attribute is configured on a Cisco IOS XR router or in the RADIUS profile.

To configure the Include-Local-LAN attribute, use the include-local-lan command.

The following example is an attribute-value (AV) pair for the Include-Local-LAN attribute:

ipsec:include-local-lan=1

You must enable the crypto isakmp client configuration group command, which specifies group policy information that has to be defined or changed, before enabling the include-local-lan command.


NoteThe Include-Local-LAN attribute is applied only by a RADIUS user.

The attribute is applied on a per-user basis after the user is authenticated.

The attribute overrides any similar group attributes.

The Include-Local-LAN attribute is sent to the client device to allow access to the local LAN. Whether the attribute was received for the group or for the user, the priority flag is not used.

TheUser-Include-Local-LAN AAA attribute has the exact same effect but it is defined only on a RADIUS server and not on the router.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the Include-Local-LAN has been configured:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# include-local-lan

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies which group policy profile is defined.


isakmp authorization list

To specify the authorization list that is used for authorization for Internet Key Exchange (IKE) interaction, use the isakmp authorization list command in ISAKMP profile configuration mode. To remove mode configuration, use the no form of this command.

isakmp authorization list author-list-name

no isakmp authorization list author-list-name

Syntax Description

author-list-name

Storage source used to find the policy as defined in the
aaa authorization command.


Defaults

No default behavior or values

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

This command is used under the crypto ISAKMP profile.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Mode configuration allows a gateway to download an IP address (and other network-level configuration) to the client as part of an IKE negotiation. Using this exchange, the gateway gives IP addresses to the IKE client as an "inner" IP address encapsulated under IP Security (IPSec). This method provides a known IP address for the client that can be matched against IPSec policy.

Use the isakmp authorization list command with the client authentication list command, which applies extended authentication (Xauth) for IKE interaction.

When you are authorized and respectively authenticated, the reply from the AAA server contains attributes that are used when and if the mode configuration is executed. However, the method list must be defined first for the authorization.

Task ID

Task ID
Operations

crypto

read, write


Examples

In the following example, mode configuration is applied to a crypto ISAKMP profile named newprofile:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# crypto isakmp profile newprofile
RP/0/RP0/CPU0:router(config-isa-prof)# isakmp authorization list list2

Related Commands

Command
Description

client authentication list

Applies extended authentication (Xauth) for Internet Key Exchange (IKE) interaction.

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.


keepalive (ISAKMP profile)

To let the gateway send dead peer detection (DPD) messages to the Cisco IOS XR peer, use the keepalive command in ISAKMP profile configuration mode. To return to the default, use the no form of this command.

keepalive disable

no keepalive

Syntax Description

disable

Disables keepalive global declarations.


Defaults

Keepalive is enabled.

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to use the keepalive command:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# keepalive disable

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.


key (IKE)

To specify the Internet Key Exchange (IKE) preshared key for group policy attribute definition, use the key command in ISAKMP group configuration mode. To remove a preshared key, use the no form of this command.

key preshared-key

no key preshared-key

Syntax Description

preshared-key

IKE preshared key for group policy attribute definition.


Defaults

No default behavior or values

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the key command to specify the IKE preshared key when defining group policy information for mode configuration push. (It follows the crypto isakmp client configuration group command.) You must configure the key command if the client identifies itself to the router with a preshared key. (You need not enable this command if the client uses a certificate for identification.)

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to specify the preshared key named cisco:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group default
RP/0/RP0/CPU0:router(config-group)# key cisco
RP/0/RP0/CPU0:router(config-group)# acl group1

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.

dns

Specifies the primary and secondary Domain Name Service (DNS) addresses.


keyring

To configure a keyring with an ISAKMP profile, use the keyring command in ISAKMP profile configuration mode. To remove the keyring from the ISAKMP profile, use the no form of this command.

keyring kr-name1 [kr-name2 [kr-name3 [kr-name-4 [kr-name5 [kr-name6]]]]]]

no keyring kr-name1 [kr-name2 [kr-name3 [kr-name-4 [kr-name5 [kr-name6]]]]]]

Syntax Description

kr-name1

Name for keyring 1 that must match the keyring name that was defined in the global configuration.

kr-name2

Name for keyring 2 that must match the keyring name that was defined in the global configuration.

kr-name3

Name for keyring 3 that must match the keyring name that was defined in the global configuration.

kr-name-4

Name for keyring 4 that must match the keyring name that was defined in the global configuration.

kr-name5

Name for keyring 5 that must match the keyring name that was defined in the global configuration.

kr-name6

Name for keyring 6 that must match the keyring name that was defined in the global configuration.


Defaults

No default behavior or values

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The ISAKMP profile successfully completes authentication of peers if the peer keys are defined in the keyring that is attached to this profile. You must define at least one keyring.

An ISAKMP profile can define one or more keyrings. For example, multiple keyrings can be used when few IKE peer endpoints are in the public address space; whereas, others are in the front door virtual routing and forwarding (FVRF) space as the IKE local endpoints.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure vpnkeyring as the keyring name:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# keyring vpnkeyring

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

crypto keyring

Defines a crypto keyring during IKE authentication.

show crypto isakmp profile

Lists all the ISAKMP profiles that are defined on a router.


key-string (IKE)

To manually specify the Rivest, Shamir, and Adelman (RSA) public key of a remote peer, use the key-string command in public key configuration mode.

key-string key-string

Syntax Description

key-string

Public key for a remote peer. Enter the key in hexadecimal format.


Defaults

No default behavior or values

Command Modes

Public key configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the key-string command to manually specify the RSA public key of an IP Security (IPSec) peer. Before using this command, you must identify the remote peer.

To avoid mistakes, you should cut and paste the key data (instead of attempting to type in the data).

When you finish specifying the RSA key, you must return to global configuration mode by entering quit at the public key configuration mode prompt.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to manually specify the RSA public keys of an IPSec peer:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkeyring
RP/0/RP0/CPU0:router(config-keyring)# rsa-pubkey address 10.5.5.1
RP/0/RP0/CPU0:router(config-pubkey)# key-string 005C300D 06092A86 4886F70D 01010105
00034B00 30480241 00C5E23B 55D6AB22
04AEF1BA A54028A6 9ACC01C5 129D99E4
64CAB820 847EDAD9 DF0B4E4C 73A05DD2
BD62A8A9 FA603DD2 E2A8A6F8 98F76E28
D58AD221 B583D7A4 71020301 0001
quit

Related Commands

Command
Description

rsa-pubkey

Defines the Rivest, Shamir, and Adelman (RSA) public key by address or hostname.

show crypto key pubkey-chain rsa

Displays peer RSA public keys stored on your router.


lifetime (IKE policy)

To specify the lifetime of an Internet Key Exchange (IKE) security association (SA), use the lifetime command in ISAKMP policy configuration mode. To reset the SA lifetime to the default value, use the no form of this command.

lifetime seconds

no lifetime

Syntax Description

seconds

Length of time (in seconds) that each SA should exist before expiring. Use an integer from 60 to 86400 seconds.


Defaults

seconds: 86400 seconds (1 day)

Command Modes

ISAKMP policy configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the lifetime command to specify how long an IKE SA exists before expiring.

When IKE begins negotiations, it first agrees upon the security parameters for its own session. The agreed-upon parameters are then referenced by an SA at each peer. The SA is retained by each peer until the lifetime of the SA expires. Before an SA expires, it can be reused by subsequent IKE negotiations, which can save time when new IP Security (IPSec) SAs are set up.

To save setup time for IPSec, configure a longer IKE SA lifetime. However, shorter lifetimes limit the exposure to attackers of this SA. The longer an SA is used, the more encrypted traffic can be gathered by an attacker and possibly used in an attack.


Note When your local peer initiates an IKE negotiation between itself and a remote peer, if the lifetimes are not equal, an IKE policy with the shorter lifetime is selected.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure an IKE policy with an SA lifetime of 600 seconds (all other parameters are set to the defaults):

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp policy 15
RP/0/RP0/CPU0:router(config-isakmp)# lifetime 600

Related Commands

Command
Description

authentication (IKE policy)

Specifies the authentication method within an IKE policy.

crypto isakmp policy

Defines an IKE policy.

encryption (IKE policy)

Specifies the encryption algorithm within an IKE policy.

group (IKE policy)

Specifies the Diffie-Hellman group identifier within an IKE policy.

hash (IKE policy)

Specifies the hash algorithm within an IKE policy.

show crypto isakmp policy

Displays the parameters for each IKE policy.


local-address (keyring)

To limit the scope of an ISAKMP keyring configuration to a local termination address, use the local-address command in keyring configuration mode. To disable the feature, use the no form of this command.

local-address ip-address

no local-address ip-address

Syntax Description

ip-address

IP address to which to bind.


Defaults

If the local-address command is not configured, the ISAKMP keyring is available to all local addresses.

Command Modes

Keyring configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the scope of the ISAKMP keyring is limited only to IP address 130.40.1.1:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkeyring
RP/0/RP0/CPU0:router(config-keyring)# local-address 130.40.1.1
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key address 0.0.0.0 0.0.0.0 key mykey

Related Commands

Command
Description

crypto isakmp identity

Specifies the identity used by the router when participating in the Internet Key Exchange (IKE) protocol.

crypto keyring

Defines a crypto keyring during IKE authentication.


match identity

To match the identity of a peer in an ISAKMP profile, use the match identity command in ISAKMP profile configuration mode. To remove the identity, use the no form of this command.

match identity {group group-name | address address [mask] vrf [fvrf] | host hostname | host domain domain-name | user username | user domain domain-name}

no match identity {group group-name | address address [mask] vrf [fvrf] | host hostname | host domain domain-name | user username | user domain domain-name}

Syntax Description

group group-name

Specifies a Unity group that matches identification (ID) type ID_KEY_ID. If RSA signatures are used, the group-name argument matches the organizational unit (OU) field of the distinguished name (DN).

address address

Matches the address argument with the ID type ID_IPV4_ADDR.

mask

The mask argument is used to specify a range of addresses.

vrf

Specifies the front door VPN routing and forwarding (FVRf) of the peer.

fvrf

The fvrf argument matches the address in the front door VPN routing and forwarding (FVRF) Virtual Private Network (VPN) space.

host hostname

Specifies an identity that matches the type ID_FQDN, whose fully qualified domain name (FQDN) ends with the domain name.

host domain domain-name

Specifies an identity that matches type ID_FQDN. The domain name is the same as the domain-name argument.

user username

Specifies an identity that matches the FQDN.

user domain domain-name

Specifies an identity that matches the type ID_USER_FQDN. When the user domain keyword is present, all users having identities of the type ID_USER_FQDN and ending with domain-name are matched.


Defaults

No default behavior or values

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

An ISAKMP profile configuration must have at least one match identity command. The peers are mapped to an ISAKMP profile when their identities are matched (as given in the ID payload of the IKE exchange) against the identities that are defined in the ISAKMP profile. To uniquely map to an ISAKMP profile, no two ISAKMP profiles should match the same identity. If the peer identity is matched in two ISAKMP profiles, the configuration is invalid.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure the group as vpngroup for the match identity command:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# match identity group vpngroup
RP/0/RP0/CPU0:router(config-isa-prof-match)# set interface service-ipsec 1

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

self-identity

Defines the identity that the local IKE uses to identify itself to the remote peer.

set interface tunnel-ipsec

Predefines the interface instance.

set ipsec-profile

Predefines the IPSec profile instance.


max-logins

To specify the maximum number of concurrent logins that are allowed for a certain user, use the max-logins command in ISAKMP group configuration mode. To remove the number of connections that were set, use the no form of this command.

max-logins number-of-logins

no max-logins number-of-logins

Syntax Description

number-of-logins

Number of logins. The value ranges from 0 to 16 and 384.

Note The value zero is special and indicates that no limit is imposed.


Defaults

The default is 10.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The crypto isakmp client configuration group command must be configured before this command can be configured.

This command makes it possible to mimic the functionality provided by some RADIUS servers for limiting the number of simultaneous logins for users in that group.

The max-users and max-logins commands are enabled together or individually to control the usage of resources by any groups or individuals.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the maximum number of logins for users in server group cisco is set to 8:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# max-logins 8

Related Commands

Command
Description

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.

max-users

Limits the number of connections to a specific server group.


max-users

To limit the number of connections to a specific server group, use the max-users command in ISAKMP group configuration mode. To remove the number of connections that were set, use the no form of this command.

max-users number-of-users

no max-users number-of-users

Syntax Description

number-of-users

Number of connected users. The value ranges from 0 to 16 and 384.

Note The value zero is special and indicates that no limit is imposed. However, the value zero is accepted from an external RADIUS server and processed properly.


Defaults

The default is 1000.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The crypto isakmp client configuration group command must be configured before this command can be configured.

This command makes it possible to mimic the functionality provided by some RADIUS servers for limiting the number of connections to a specific server group.

The max-users and max-logins commands are enabled together or individually to control the usage of resources by any groups or individuals.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the maximum number of connections to server group cisco is set to 1200:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# max-users 1200

Related Commands

Command
Description

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.

max-logins

Limits the number of simultaneous logins for users in a specific server group.


netmask

To set the IP network mask, use the netmask command in ISAKMP group configuration mode. To disable this feature, use the no form of this command.

netmask mask

no netmask mask

Syntax Description

mask

IP network mask.


Defaults

The default is that the attribute is not sent to the VPN client.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to set the IP network mask:

RRP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# netmask 255.255.255.0

Related Commands

Command
Description

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.


pfs

To configure a server to notify the client of the central-site policy regarding whether PFS is required for any IP Security (IPSec) Security Association (SA), use the pfs command in ISAKMP group configuration mode. To restore the default behavior, use the no form of this command.

pfs

no pfs

Syntax Description

This command has no arguments or keywords.

Defaults

The server does not notify the client of the central-site policy regarding whether PFS is required for any IPSec SA.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Before you use the pfs command, you must first configure the crypto isakmp client configuration group command.

The following example is an attribute-value (AV) pair for the PFS attribute:

ipsec:pfs=1

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the server is configured to notify the client of the central-site policy regarding whether PFS is required for any IPSec SA:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# pfs

Related Commands

Command
Description

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.


pool (isakmp-group)

To define the name of an address-pool in which an address is allocated if required, use the pool command in ISAKMP group configuration mode. To remove a local pool from your configuration, use the no form of this command.

pool name

no pool name

Syntax Description

name

Name of the local pool address.


Defaults

No default behavior or values

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the pool command to refer to an IP local pool address, which defines a range of addresses that is used to allocate an internal IP address to a client. Although a user must define at least one pool name, a separate pool is defined for each group policy.


Note This command must be defined and must refer to a valid IP local pool address, or the client connection fails.


You must enable the crypto isakmp client configuration group command, which specifies group policy information that has to be defined or changed, before enabling the pool command.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to refer to the local pool address named dog:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# key cisco
RP/0/RP0/CPU0:router(config-group)# dns 10.2.2.2 10.3.2.3
RP/0/RP0/CPU0:router(config-group)# pool dog
RP/0/RP0/CPU0:router(config-group)# acl 199

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.

dns

Specifies the primary and secondary Domain Name Service (DNS) addresses.

key (IKE)

Specifies the Internet Key Exchange (IKE) preshared key for group policy attribute definition.

split-dns

Specifies a domain name that must be tunneled or resolved to the private network.


pre-shared-key

To define a preshared key for IKE authentication, use the pre-shared-key command in keyring configuration mode. To disable, use the no form of this command.

pre-shared-key {address address [mask] | hostname hostname} key key

no pre-shared-key {address address [mask] | hostname hostname} key key

Syntax Description

address address

Specifies the IP address of the remote peer or a subnet and mask.

mask

(Optional) The mask argument matches the range of the address. The default value is 255.255.255.255.

hostname hostname

Specifies the fully qualified domain name (FQDN) of the peer.

key key

Specifies the preshared key.


Defaults

No default behaviors or values

Command Modes

Keyring configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to configure a preshared key using an IP address and hostname:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkeyring
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key address 10.72.23.11 key vpnkey
RP/0/RP0/CPU0:router(config-keyring)# pre-shared-key hostname www.vpn.com key vpnkey

Related Commands

Command
Description

crypto isakmp identity

Specifies the identity used by the router when participating in the Internet Key Exchange (IKE) protocol.

crypto keyring

Defines a crypto keyring during IKE authentication.


proxy

To configure proxy parameters for a Cisco Easy VPN remote device, use the proxy command in ISAKMP browser proxy configuration mode. To disable the parameters, use the no form of this command.

proxy {auto-detect | bypass-local | exception-list semicolon delimited exception list | none | server}

no {auto-detect | bypass-local | exception-list semicolon delimited exception list | none | server IPAddress:PortNumber}

Syntax Description

auto-detect

Detects proxy settings automatically.

bypass-local

Bypasses proxy server for local addresses.

exception-list semicolon delimited exception list

Specifies the semicolon- (;) delimited list of IP addresses.

none

Specifies no proxy settings.

server IPAddress:PortNumber

Specifies the proxy server IP and port number (ip:port number).


Defaults

Proxy parameters are not set.

Command Modes

ISAKMP browser proxy configuration

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

This command is a subcommand of the crypto isakmp client configuration browser-proxy command.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows various browser-proxy parameter settings for a browser proxy named bproxy:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration browser-proxy bproxy
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy bypass-local
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy exception-list 
10.2.2.*,www.*org
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy server 10.1.1.1:2000
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy none
RP/0/RP0/CPU0:router(config-crypto-isakmp-browser-proxy)# proxy auto-detect

Related Commands

Command
Description

crypto isakmp client configuration browser-proxy

Configures browser-proxy parameters for a Cisco Easy VPN remote device and to enter ISAKMP browser proxy configuration mode.


rsa-pubkey

To define the Rivest, Shamir, and Adelman (RSA) manual key to be used for encryption or signature during IKE authentication, use the rsa-pubkey command in keyring configuration mode. To disable the feature, use the no form of this command.

rsa-pubkey {address address | name fqdn} [encryption | signature]

no rsa-pubkey {address address | name fqdn} [encryption | signature]

Syntax Description

address address

Specifies the IP address of the RSA public key of the remote peer. The address argument is the IP address of the remote RSA public key of the remote peer that you manually configure.

name fqdn

Specifies the fully qualified domain name (FQDN) of the peer.

encryption

(Optional) Specifies that the manual key is used for encryption.

signature

(Optional) Specifies that the manual key is used for a signature. The signature keyword is the default.


Defaults

The key is used for the signature.

Command Modes

Keyring configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the rsa-pubkey command to enter public key configuration mode. Use this command when you need to manually specify RSA public keys of other IP Security (IPSec) peers. You need to specify the keys of other peers when you configure RSA encrypted nonces as the authentication method in an IKE policy at your peer router.

When you finish specifying the RSA key, you must return to global configuration mode by entering quit at the public key configuration mode prompt.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the RSA manual key of an IPSec peer has been specified:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto keyring vpnkeyring
RP/0/RP0/CPU0:router(config-keyring)# rsa-pubkey name host.vpn.com
RP/0/RP0/CPU0:router(config-pubkey)# key-string 005C300D 06092A86 4886F70D 01010105
005C300D 06092A86 4886F70D 01010105
00034B00 30480241 00C5E23B 55D6AB22
04AEF1BA A54028A6 9ACC01C5 129D99E4
64CAB820 847EDAD9 DF0B4E4C 73A05DD2
BD62A8A9 FA603DD2 E2A8A6F8 98F76E28
D58AD221 B583D7A4 71020301 0001
quit

Related Commands

Command
Description

address

Specifies the IP address for the Rivest, Shamir, and Adelman (RSA) public key of the remote peer you manually configure.

crypto keyring

Defines a crypto keyring during IKE authentication.

key-string (IKE)

Specifies the Rivest, Shamir, and Adelman (RSA) public key of a remote peer manually.


save-password

To save your extended authentication (Xauth) password locally on your PC or Cisco Easy VPN client, use the save-password command in ISAKMP group configuration mode. To disable the Save-Password attribute, use the no form of this command.

save-password

no save-password

Syntax Description

This command has no arguments or keywords.

Defaults

Your Xauth password is not saved locally on your PC, and the Save-Password attribute is not added to the server group profile.

Command Modes

ISAKMP group configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Save password control allows you to save your Xauth password locally on your PC so that after you have initially entered the password, the Save-Password attribute is pushed from the server to the client.


Note If the Cisco Easy VPN client is used, the client Cisco IOS XR device saves the XAUTH password locally and not the PC.


On subsequent authentications, you can activate the password by using the tick box on the software client or by adding the username and password to the Cisco IOS XR hardware client profile. The password setting remains until the Save-Password attribute is removed from the server group profile. After the password has been activated, the username and password are sent automatically to the server during Xauth without your intervention.

The Save-Password option is useful only if your password is static; that is, if it is not a one-time password such as one that is generated by a token.

The Save-Password attribute is configured on a Cisco IOS XR router or in the RADIUS profile.

To configure save password control, use the save-password command.

The following example is an attribute-value (AV) pair for the Save-Password attribute:

ipsec:save-password=1

You must enable the crypto isakmp client configuration group command, which specifies group policy information that has to be defined or changed, before enabling the save-password command.


NoteThe Save-Password attribute is applied either from RADIUS or from a local configuration.

The attribute is applied if it is either received for the group or for the user. The priority flag of the ISAKMP profile is not used for this attribute. The attribute is processed for both group and user.

The attribute overrides any similar group attributes.

User-based attributes are available only if RADIUS is used as the database.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the Save-Password attribute is configured:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# crypto isakmp client configuration group cisco
RP/0/RP0/CPU0:router(config-group)# save-password

Related Commands

Command
Description

acl

Configures split tunneling.

crypto isakmp client configuration group

Specifies the group whose policy profile is defined.


self-identity

To define the identity that the local IKE uses to identify itself to the remote peer, use the self-identity command in ISAKMP profile configuration mode. To remove the ISAKMP identity that was defined for the IKE, use the no form of this command.

self-identity {address | fqdn | user-fqdn user-fqdn}

no self-identity {address | fqdn | user-fqdn user-fqdn}

Syntax Description

address

Specifies the IP address of the local endpoint.

fqdn

Specifies the fully qualified domain name (FQDN) of the host.

user-fqdn user-fqdn

Specifies the user FQDN that is sent to the remote endpoint.


Defaults

If no ISAKMP identity is defined in the ISAKMP profile configuration, global configuration is the default.

Command Modes

ISAKMP profile configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

If the self-identity command is not defined, IKE uses the globally configured value.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows that the IKE identity is the user FQDN "user@vpn.com":

RP/0/RP0/CPU0:router# configure
RR/0/RP0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/RP0/CPU0:router(config-isa-prof)# self-identity user-fqdn user@vpn.com

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.


set interface

To specify that the virtual interface is predefined when the local endpoint is the IKE responder and when it is the IKE initiator, use the set interface command in ISAKMP profile match configuration mode. To disable the feature, use the no form of this command.

set interface {service-ipsec | service-gre} intf-index

no set interface {service-ipsec | service-gre} intf-index

Syntax Description

service-ipsec

Specifies the IPSec service interfaces.

service-gre

Specifies the GRE service interfaces.

intf-index

The range is from 1 to 65535.


Defaults

No default behavior or values

Command Modes

ISAKMP profile match configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco XR 12000 Series Router IPSec VPN SPA.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The profile for the identity is determined based on the selected virtual interface.

The virtual interface must be predefined by using the set interface command. Otherwise, the IKE SA cannot be established.

When the local endpoint is the IKE responder, the predefined interface is found according to the peer's identity. When the local endpoint is the IKE initiator, the predefined interface is used to find the appropriate ISAKMP profile. Therefore, a virtual interface cannot be predefined in more than one ISAKMP profile.

When the local endpoint is the IKE initiator, the interface, which is configured, is used to select the correct ISAKMP profile.


Note The set interface command cannot be used for local ISAKMP profiles.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to set the interface index to 50 by using the service-ipsec keyword:

RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/0/CPU0:router(config-isa-prof)# match identity group vpngroup
RP/0/0/CPU0:router(config-isa-prof-match)# set interface service-ipsec 50

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

match identity

Matches the identity of a peer in an ISAKMP profile.

client single-sa-per-inft

Enables multiple IPSec security associations (SAs) per interface.


set interface tunnel-ipsec

To predefine the interface instance when IKE negotiates for tunnel mode IPSec service associations (SAs) for the traffic that is locally sourced or terminated, use the set interface tunnel-ipsec command in ISAKMP profile match configuration mode. To disable the feature, use the no form of this command.

set interface tunnel-ipsec intf-index

no set interface tunnel-ipsec intf-index

Syntax Description

intf-index

The range is from 0 to 4294967295.


Defaults

No default behavior or values

Command Modes

ISAKMP profile match configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The interface must be predefined by using the set interface command. Otherwise, the IKE SA cannot be established.

When the local endpoint is the IKE responder, the predefined interface is found according to the peers identity. When the local endpoint is the IKE initiator, the predefined interface is used to find the appropriate ISAKMP profile to be used. Thus, a virtual interface cannot be predefined in more than one ISAKMP profile.


Note The set interface tunnel-ipsec command is used only for local ISAKMP profiles.


Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to predefine the interface instance:

RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/0/CPU0:router(config-isa-prof)# match identity group vpngroup
RP/0/0/CPU0:router(config-isa-prof-match)# set interface tunnel-ipsec 50

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

match identity

Matches the identity of a peer in an ISAKMP profile.

set ipsec-profile

Predefines an IPSec profile instance.


set ipsec-profile

To predefine the IPSec profile instance when IKE negotiates for transport mode IPSec service associations (SAs) for the traffic that is locally sourced or terminated, use the set ipsec-profile command in ISAKMP profile match configuration mode. To disable the feature, use the no form of this command.

set ipsec-profile profile-name

no set ipsec-profile profile-name

Syntax Description

profile-name

Name of the IPsec profile.


Defaults

No default behavior or values

Command Modes

ISAKMP profile match configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The IPSec profile must be predefined by using the set ipsec-profile command when transport mode IPSec SAs are negotiated. Otherwise, the IKE SA cannot be established.

When the local endpoint is the IKE responder, the predefined interface is found according to the peer's identity. When the local endpoint is the IKE initiator, the predefined interface is used to find the appropriate ISAKMP profile to be used. Thus, a virtual interface cannot be predefined in more than one ISAKMP profile.


Note The set ipsec-profile command is used only for local ISAKMP profiles.


The profile for the identity is determined based on the selected virtual interface.

When the local endpoint is the IKE initiator, the profile or interface configured is used to select the correct ISAKMP profile.

Task ID

Task ID
Operations

crypto

read, write


Examples

The following example shows how to predefine the IPSec profile instance:

RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# crypto isakmp profile vpnprofile
RP/0/0/CPU0:router(config-isa-prof)# match identity group vpngroup
RP/0/0/CPU0:router(config-isa-prof-match)# set ipsec-profile myprofile

Related Commands

Command
Description

crypto isakmp profile

Defines an ISAKMP profile and audits IPSec user sessions.

match identity

Matches the identity of a peer in an ISAKMP profile.

set interface tunnel-ipsec

Predefines the interface instance.


show crypto isakmp call admission statistics

To monitor the Call Admission Control (CAC) statistics of the IKE protocol, use the show cyrpto isakmp call admission statistics command in EXEC mode.

show cyrpto isakmp call admission statistics

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.5.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read


Examples

The following example shows how to display the configuration for the show crypto isakmp call admission statistics command:

RP/0/RP0/CPU0:router# show crypto isakmp call admission statistics

---------------------------------------------------------------------
               Crypto Call Admission Control Statistics
---------------------------------------------------------------------
IKE Active SA Limit: 1, IKE In-Negotiation SA limit: 2
Total CPU usage limit: 100, IKE CPU usage limit: 100
Total IKE SA Count: 0, active: 0, negotiating: 0
Incoming IKE Calls: 24      , accepted 24      , rejected 0
Outgoing IKE Calls: 16      , accepted 6       , rejected 10
Total Calls: 40
Rejected IKE Calls: 10, resources low 0, limit exceeded 10

Table 2 describes the significant fields shown in the display.

Table 2 show crypto isakmp call admission statistics Field Descriptions 

Field
Description

IKE Active SA Limit

Default value of 0 has no limitations.

In-Negotiation SA limit

Default value is 1000.

Total IKE SA Count

Number of IKE SAs.

active

Number of active SAs.

negotiating

Number of SA requests being negotiated.

Incoming IKE Calls

Number of incoming IKE SA requests. The number of incoming IKE calls equals to the total of accepted plus rejected requests.

accepted

Number of accepted incoming or outgoing IKE SA requests.

rejected

Number of rejected incoming or outgoing IKE SA requests.

Outgoing IKE Calls

Number of outgoing IKE SA requests. The number of outgoing IKE calls equals to the total of accepted plus rejected requests.

Total Calls

Total calls equals to the number of incoming IKE calls plus outgoing IKE calls.

Rejected IKE Calls

Number of IKE requests that were rejected. The number of rejected IKE calls equals to the total number of resources low plus limit exceeded.

resources low

Number of IKE requests that were rejected because system resources were low or because the preconfigured system resource limit was exceeded.

limit exceeded

Number of IKE SA requests that were rejected because the SA limit has been reached.


Related Commands

Command
Description

clear crypto isakmp call admission statistics

Clears ISAKMP call admission statistics.


show crypto isakmp errors

To display the Internet Security Association and Key Management Protocol (ISAKMP) error that occurred during tunnel establishment, use the show crypto isakmp errors command in EXEC mode.

show crypto isakmp errors

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.5.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

crypto

read


Examples

The following sample output is from the show crypto isakmp errors command:

RP/0/RP0/CPU0:router# show crypto isakmp errors

Control Plane Errors
---------------------
ERR NO MEMORY.....................................0
INVALID CERT......................................0
CRYPTO FAILURE....................................0
SA NOT AUTH.......................................0
AUTHENTICATION FAILED.............................0
GROUP AUTHOR FAILED...............................0
USER AUTHEN REJECTED..............................0
LOCAL ADDRESS FAILURE.............................0
FAILED TO CREATE SKEYID...........................0
RSA PUBLIC KEY NOT FOUND..........................0
RETRANSMITION LIMIT...............................0
MALFORMED MESSAGE.................................0
QUICK MODE TIMER EXPIRED..........................0
KEY NOT FOUND IN PROFILE..........................0
PROFILE NOT FOUND.................................0
PRESHARED KEY NOT FOUND...........................0
PHASE2 PROPOSAL NOT CHOSEN........................0
POLICY MISMATCH...................................0
NO POLICY FOUND...................................0
PACKET PROCESS FAILURE............................0

Warnings
---------
CERT DOESNT MATCH ID..............................0
CERT ISNT TRUSTED ROOT............................0
PACKET NOT ENCRYPTED..............................0
UNRELIABLE INFO MSG...............................0
NO SA.............................................0
BAD DOI SA........................................0
UNKNOWN EXCHANGE TYPE.............................0
OUTGOING PKT TOO BIG..............................0
INCOMING PKT TOO BIG..............................0

Informational
--------------
CAC DROPS.........................................0
DEFAULT POLICY ACCEPTED...........................0

Table 3 describes the significant fields shown in the display.

Table 3 show crypto isakmp errors Field Descriptions 

Field
Description

ERR NO MEMORY

A memory allocation failure has occurred in which the process cannot automatically recover.

The process must be restarted to ensure correct operation. If memory is repeatedly exhausted, you can upgrade to a larger memory configuration.

INVALID CERT

The certificate, which is given by the remote peer, has either been revoked or expired (certificate invalid) or the signature check on the certificate failed (bad signature).

We recommend to contact the CA of the remote peer to report a possible bad CA certificate.

CRYPTO FAILURE

IKE found a failure that is returned from encryption or decryption service.

We recommend to contact the remote peer's administrator.

SA NOT AUTH

The IKE security association with the remote peer was not authenticated; however, the peer attempted to begin a Quick Mode exchange. The exchange must be done only with an authenticated security association.

We recommend to contact the peer's administrator.

AUTHENTICATION FAILED

The IKE process was unable to authenticate the security association with the remote peer.

We recommend to contact the peer's administrator.

GROUP AUTHOR FAILED

Group authorization failed.

We recommend to check the connectivity for AAA.

USER AUTHEN REJECTED

Phase 1.5 (Xauth) processing failed with the peer.

You must ensure that the password, which was delivered, matches the client. Otherwise, contact Cisco Technical Support with the exact log message that was received.

LOCAL ADDRESS FAILURE

Failed to allocate IP address for the client.

You must ensure that the IP local pool is defined and contains at least one free address. In addition, ensure that the specific pool is assigned to the proper ISAKMP profile from the show crypto isakmp profile command. Otherwise, contact Cisco Technical Support with the exact log message that was received.

FAILED TO CREATE SKEYID

Failed to generate SKEYID.

We recommend to contact Cisco Technical Support.

RSA PUBLIC KEY NOT FOUND

Failed to query the RSA key.

You can check the subject name in the certificate.

RETRANSMITION LIMIT

Retransmission limit exceeded.

We recommend to contact your administrator.

MALFORMED MESSAGE

A quick sanity check is done on all received ISAKMP messages to verify that all component payload types are valid, and that the sum of their individual lengths equals to the total length of the received message. This message failed the sanity check.

The continuous bad messages can imply the denial of a service attack.

We recommend to contact the peer's administrator.

QUICK MODE TIMER EXPIRED

We cannot always wait before we start Quick Mode and initiate Phase II.

Most likely, the reason for failing to start Phase II is that the process failed to complete Phase I. If so, it should have also logged another message that should appear immediately before this one.

KEY NOT FOUND IN PROFILE

In Main Mode, the ID payloads are exchanged only in MM5 and MM6. Since keyring material is needed in earlier stages of the negotiation, it is looked up based on peer address. The error is seen when the selected keyring appears to not match the keyring configured under the ISAKMP profile for that peer.

You must ensure that the keyring in which the key exist is attached to the ISAKMP profile.

PROFILE NOT FOUND

The following explanations are listed:

No ISAKMP profile is found that matches the peer identity. This is applicable only to RESPONDER mode.

No ISAKMP profile is found that matches the interface name. This is applicable only to INITIATOR mode.

Peer identity does not match the ISAKMP profile that is associated with the interface. This is applicable only to INITIATOR mode.

The following recommendations are listed:

You must ensure an ISAKMP profile exists for the peer match-id.

You must ensure that the ISAKMP profile is attached to the proper interface.

You must ensure that the ISAKMP profile, which is attached to the interface, matches the peers identity.

PRESHARED KEY NOT FOUND

Failed to find preshared key.

We recommend to contact the administrator.

PHASE2 PROPOSAL NOT CHOSEN

Phase II parameters negotiation failed with the peer.

We recommend to contact the peer's administrator.

POLICY MISMATCH

Phase I policy parameters negotiation failed with peer.

We recommend to contact the peer's administrator.

NO POLICY FOUND

The peer key failed to derive through either of the following ways:

Preshared keys

RSA keys

Certificates

We recommend to contact the administrator.

PACKET PROCESS FAILURE

The error message implies a severe error condition, which likely resulted from an internal error.

We recommend to contact Cisco Technical Support.

CERT DOESNT MATCH ID

The peers claimed that the identity does not match what we can gather from the certificate.

If the session does not come up, you can contact the remote peer or the administrator.

CERT ISNT TRUSTED ROOT

During IKE Phase I signature verification, the initiator sends a list of the CA certificates. This warning is printed by the responder if none of the CAs in the list is a trusted root.

Note This is not necessarily an error, as there can be multiple cert-req payloads.

If the session does not come up, you can contact the remote peer or the administrator.

PACKET NOT ENCRYPTED

The received packet should have been encrypted by the peer but it was not.

We recommend to contact the remote peer's administrator.

UNRELIABLE INFO MSG

The received INFO message before the peer is authenticated, which is why it called unreliable.

We recommend to contact the remote peer's administrator.

NO SA

No security association exists for this packet and it is not an initial offer from the peer to establish one. These errors can imply the denial of a service attack.

We recommend to contact the remote peer or the administrator.

BAD DOI SA

The DOI field in a SA offer is needed for message parsing. SA offer with unknown DOI can't be parsed.

If the situation persists, you can contact the remote peer's administrator.

UNKNOWN EXCHANGE TYPE

IKE performs actions on messages that are based on defined exchanges. A message is received with an unknown exchange.

If the problem appears to be more than a transient one, you can contact the peer's administrator.

OUTGOING PKT TOO BIG

Trying to send an ISAKMP packet that is above the maximum UDP packet size allowed, which can happen if an extremely large number of IKE policies were being proposed by the initiator.

You can try to reduce the number of ISAKMP policies configured.

INCOMING PKT TOO BIG

The packet size is limited to 3K, which the peer sends out long length info that forces a large buffer allocation, for example, Denial-of-Service (DoS).

We recommend that you contact the remote peer or the administrator.

CAC DROPS

The Call Admission Control (CAC) policy is configured on the device. Consequently, an IKE SA request was denied due to the reason described in the error message.

Depending on the reason that the request was denied, you can either reduce the load on the system so that it can handle new IKE SA requests, or increase the maximum allowed IKE sessions if more are needed.

DEFAULT POLICY ACCEPTED

The default policy is being used because the local configured policies did not match with the peer's policies.

You can check if this is indeed the desired ISAKMP policy to use. To avoid using the default policy, you can reconfigure the local policy to match with the peer's policy.


Related Commands

Command
Description

clear crypto isakmp errors

Clears the statistics for the ISAKMP errors.


show crypto isakmp key

To display the Internet Security Association and Key Management Protocol (ISAKMP) preshared keys for a router, use the show crypto isakmp key command in EXEC mode.

show crypto isakmp key

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History