1-33
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring IPsec and ISAKMP
Configuring IPsec
Proposal tag
is the name of the IKEv2 IPsec proposal, a string from 1 to 64 characters.
For example:
hostname(config)#
crypto ipsec ikev2 ipsec-proposal secure
In this example, secure is the name of the proposal. Enter a protocol and encryption types:
hostname(config-ipsec-proposal)#
protocol esp encryption 3des aes des
Conversely, the following command chooses which AES-GCM or AES-GMAC algorithm to use:
hostname(config-ipsec-proposal)#
[no] protocol esp encryption [3des | aes | aes-192 |
aes-256 | aes-gcm | aes-gcm-192 | aes-gcm-256 | aes-gmac | aes-gmac-192 | aes-gmac-256 |
des | null]
If SHA-2 or null is chosen, you must choose which algorithm to use as an IPsec integrity algorithm. You
must choose the null integriy algorithm if AES-GCM/GMAC is configured as the encryption algorithm:
hostname(config-ipsec-proposal)#
[no] protocol esp integrity [md5 | sha-1 | sha-256 |
sha-384 | sha-512 | null]
Note
You must choose the null integrity algorithm if AES-GCM/GMAC has been configured as the
encryption algorithm. SHA-256 can be used for integrity and PRF to establish IKEv2 tunnels,
but it can also be used for ESP integrity protection on the newer ASA platforms (and not 5505,
5510, 5520, 5540, or 5550).
Step 3
(Optional) An administrator can enable path maximum transfer unit (PMTU) aging and set the interval
at which the PMTU value is reset to its original value.
hostname(config-ipsec-proposal)#
[no] crypto ipsec security-association pmtu-aging
<reset-interval>
Step 4
To create a crypto map, perform the following site-to-site steps using either single or multiple context
mode:
a.
Assign an access list to a crypto map:
crypto map
map-name seq-num
match address
access-list-name
A crypto map set is a collection of crypto map entries, each with a different sequence number
(
seq-num)
but the same
map name
. Use the
access-list-name
to specify the access list ID, as a string
or integer up to 241 characters in length. In the following example, mymap is the name of the crypto
map set. The map set sequence number 10, which is used to rank multiple entries within one crypto
map set. The lower the sequence number, the higher the priority.
crypto map mymap 10 match address 101
In this example, the access list named 101 is assigned to crypto map mymap.
b.
Specify the peer to which the IPsec-protected traffic can be forwarded:
crypto map
map-name seq-num
set peer
ip-address
For example:
crypto map mymap 10 set peer 192.168.1.100
The ASA sets up an SA with the peer assigned the IP address 192.168.1.100. Specify multiple peers
by repeating this command.
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......