Configure Preshared Keys


Suppose your security policy dictates that you use preshared keys for authentication and you issue the following command:

 
 Router(config-isakmp)# authentication pre-share 

You must configure a preshared key. The command syntax to configure a preshared key is

 
 Router(config)# crypto isakmp key  keystring  address  remote-peer-address  Router(config)# crypto isakmp key  keystring  hostname  remote-peer-hostname  

Make sure you use the same router identity as you did with the command crypto isakmp identity . The keystring can be up to 128 bytes and can consist of alphanumeric characters .

If your remote IPSec peer has already been configured with a preshared key of CiscO_123! and the peer will be using its hostname to authenticate, you issue the following command:

 
 Router(config)# crypto isakmp key CiscO_123! hostname boise.que.com 
graphics/alert_icon.gif

Know the command to configure a preshared key using the IP address of the remote IPSec peer. If you are using a preshared key of ATLANTIS and the remote's IP address is 30.1.1.1 , issue the following command:

 
 Router(config)# crypto isakmp key ATLANTIS address 30.1.1.1 



CCSP SECUR Exam Cram 2
CCSP SECUR Exam Cram 2 (642-501)
ISBN: B000MU86IQ
EAN: N/A
Year: 2003
Pages: 291
Authors: Raman Sud

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net