PurposeCommand or Action
Assigns the crypto profile name to be applied to the tunnel
for IPSec processing.
profile profile-name
Example:
Step 3
• The same crypto profile cannot be shared in different
IPSec modes.
RP/0/RP0/CPU0:router(config-if)# profile user1
Specifies the tunnel source IP address or interface ID.
tunnel source {ip-address | interface-id }
Step 4
Example:
• This command is required for both static and dynamic
profiles.
RP/0/RP0/CPU0:router(config-if)# tunnel source
Ethernet0/1/1/2
(Optional) Specifies the tunnel destination IP address.
tunnel destination {ip-address | tunnel-id }
Step 5
Example:
• This command is not required if the profile is dynamic.
RP/0/RP0/CPU0:router(config-if)# tunnel destination
192.168.164.19
Saves configuration changes.Do one of the following:
Step 6
• end • When you issue the end command, the system prompts
you to commit changes:
•
• commit
Uncommitted changes found, commit them before
Example:
exiting(yes/no/cancel)?
[cancel]:
RP/0/RP0/CPU0:router(config-if)# end
• • Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to XR EXEC mode.
Example:
Example:
• Entering no exits the configuration session and
returns the router to XR EXEC mode without
committing the configuration changes.
RP/0/RP0/CPU0:router(config-if)# commit
• 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.
Displays forwarding information for the tunnel.show ip route
Step 7
Example:
• The command show ip route displays what was
advertised and shows the routes for static and
autoroute.
RP/0/RP0/CPU0:router# show ip route
Configuration Examples for Tunnel Interfaces
This section contains the following example:
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
127
Configuring Tunnel Interfaces
Configuration Examples for Tunnel Interfaces