Implementing IPSec Network Security on Cisco IOS XR Software
How to Implement General IPSec Configurations for IPSec Networks
SC-123
Cisco IOS XR System Security Configuration Guide
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/0/CPU0:router# configure
Enters global configuration mode.
Step 2
crypto ipsec profile
name
Example:
RP/0/0/CPU0:router(config)# crypto ipsec profile
myprofile
RP/0/0/CPU0:router(config-myprofile)#
Creates or modifies a crypto profile entry and enters
profile configuration mode.
• Use the name argument to specify the name of
an IPSec profile. The maximum length is 32
characters.
Step 3
set security-association idle-time
seconds
Example:
RP/0/0/CPU0:router(config-myprofile)# set
security-association idle-time 800
Specifies the maximum time in which the current
peer can be idle before the default peer is used.
• Use the seconds argument to specify the number
of seconds in which the current peer can be idle
before the default peer is used. Valid values are
60 to 86400.
Step 4
end
or
commit
Example:
RP/0/0/CPU0:router(config-myprofile)# end
or
RP/0/0/CPU0:router(config-myprofile)# commit
Saves configuration changes.
• When you issue the end command, the system
prompts you to commit changes:
Uncommitted changes found, commit them
before exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to
the running configuration file, exits the
configuration session, and returns the
router to EXEC mode.
–
Entering no exits the configuration session
and returns the router to EXEC mode
without committing the configuration
changes.
–
Entering cancel leaves the router in the
current configuration session without
exiting or committing the configuration
changes.
• Use the commit command to save the
configuration changes to the running
configuration file and remain within the
configuration session.