Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Step 1-4 Check the Current Configuration

Sep 27,2009 by alperen

image

Step 1-4 Check the Current Configuration

It’s important to check the current Cisco router configuration to see if any existing IPSec policies are configured that could be useful for, or interfere with, the new IPSec policies. If appropriate, previously configured IKE and IPSec policies can be used to save configuration time. This section looks at three commands useful in discovering existing IKE and IPSec policies.

The show running-config Command

The basic show running-config command is always a good starting point. In the following partial output, the lines in boldface are the IKE and IPSec configuration statements.

Rtr2#show run
!
hostname Rtr2
!
enable secret 5 $1$ojfF$eAp7xa0hU4E678XaibAQa
!
crypto isakmp policy 1
hash md5
authentication pre-share
crypto isakmp key test_key1 address 10.0.1.21
!
crypto ipsec transform-set trans1 esp-3des
crypto ipsec transform-set trans2 ah-md5-hmac esp-des
crypto ipsec transform-set trans3 esp-sha-hmac esp-null
!
crypto map test_map1 1 ipsec-isakmp  
set peer 10.0.1.21
set security-association lifetime seconds 43200
set transform-set trans1 trans2 trans3
match address 101
!
interface Ethernet0
ip address 192.168.130.1 255.255.255.0
no mop enabled
!
interface Serial0
ip address 10.0.50.2 255.255.255.252
no ip mroute-cache
no fair-queue
crypto map test_map1
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.50.1
access-list 101 permit tcp 192.168.130.0 0.0.0.255 192.168.0.0 0.0.127.255
dialer-list 1 protocol ip permit
!
The show crypto isakmp policy Command

The following is an example of the output from the show crypto isakmp policy command, which can be used to view all existing IKE policies. Notice the default parameters are displays at the bottom of the output.

Rtr1#show crypto isakmp policy
Protection suite of priority 100
       encryption algorithm:   DES - Data Encryption Standard (56 bit keys).
       hash algorithm:         Secure Hash Standard
       authentication method:  Pre-Shared Key
       Diffie-Hellman group:   #2 (1024 bit)
       lifetime:               43200 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
Rtr1#
The show crypto map Command

The show crypto map command is useful for displaying any previously configured crypto maps. If possible, these can be used to save configuration time, but they can interfere with the new IPSec policy.

Rtr1#show crypto map
Crypto Map "testmap" 50 ipsec-isakmp
       Description: VPN Link to branch office in Tacoma, WA
       Peer = 10.0.50.2
       Extended IP access list 125
           access-list 125 permit tcp 192.168.0.0 0.0.127.255 192.168.130.0
 0.0.0.255
       Current peer: 10.0.50.2
       Security association lifetime: 2300000 kilobytes/1800 seconds
       PFS (Y/N): Y
       DH group:  group2
       Transform sets={ CPU-HOG, }
       Interfaces using crypto map testmap:
                   Serial0
Rtr1#

433 times read

Related news

» Step 4-2 Display the Configured Transform Sets
by alperen posted on Sep 27,2009
» Step 4-4 Display the Configured Crypto Maps
by alperen posted on Sep 27,2009
» Cisco IOS IPSec for Preshared Keys Review
by alperen posted on Sep 29,2009
» Step 4-1 Display the Configured IKE Policies
by alperen posted on Sep 27,2009
» Cisco IOS IPSec Certificate Authority Support Review
by alperen posted on Oct 02,2009
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author