
Step 2—Configuring Encryption and an IPSec Tunnel
Cisco 7100 Series VPN Configuration Guide
4-20
Tips
If you have trouble, make sure you are using the correct IP addresses.
Applying Crypto Maps to Interfaces
You need to apply a crypto map set to each interface through which IPSec traffic will flow.
Applying the crypto map set to an interfaceinstructs the router to evaluateall the interface’s
traffic against the crypto map set and to use the specified policy during connection or SA
negotiation on behalf of traffic to be protected by crypto.
To apply a crypto map set to an interface, complete the following steps starting in global
configuration mode:
Step Command Purpose
1
hq-sanjose(config)# interface
serial 2/0
Specify a physical interface on which to apply the
crypto map and enter interface configuration
mode. This example specifies serial interface 2/0
on the headquarters router.
2
hq-sanjose(config-if)# crypto map
s4second
Apply the crypto map set to the physical interface.
This example configures crypto map s4second,
which was created in the “Creating Crypto Map
Entries” section on page 4-18.
3
hq-sanjose(config-if)# exit
hq-sanjose(config)#
Exit back to global configuration mode.
4
hq-sanjose# clear crypto sa
In privileged EXEC mode, clear the existing
IPSec SAs so that any changes are used
immediately. (Manually established SAs are
reestablished immediately.)
Note Using the clear crypto sa command
withoutparameters clears out the full SA database,
which clears out active security sessions. You may
also specify the peer, map, or entry keywords to
clear out only a subset of the SA database.
Kommentare zu diesen Handbüchern