cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5243
Views
95
Helpful
16
Replies

What are the commands to change the VPN peer IP address from Cisco CLI

ESTE
Level 1
Level 1

Need commands step by step to make changes.

1 Accepted Solution

Accepted Solutions

crypto map CRYPTO_MAP 1 ipsec-isakmp
no set peer x.x.x.x
set peer y.y.y.y

Change the name of the crypto map (CRYPTO_MAP) and sequence number (1) to the name of your crypto map and correct sequence number.

View solution in original post

16 Replies 16

Dennis Mink
VIP Alumni
VIP Alumni

amigo,

 

do a sh run and verify, your crypto peer address and change that by going into config mode. If you are not familiar with configuration mode, look up the cli guide

Please remember to rate useful posts, by clicking on the stars below.

I know the crypto peer address and what to change it to. I need the command steps.

#conf t

# no <statement with old address>

#<statement with new address>

#exit

write mem

Please remember to rate useful posts, by clicking on the stars below.

Hi,
What Cisco device are you referring to ASA or IOS Router? They are different commands
Also what type of VPN, crypto map or VTI? Again there is a difference for the CLI syntax

It would help if you could post your configuration

IOS and crypto map.

crypto map CRYPTO_MAP 1 ipsec-isakmp
no set peer x.x.x.x
set peer y.y.y.y

Change the name of the crypto map (CRYPTO_MAP) and sequence number (1) to the name of your crypto map and correct sequence number.

This is helpful. Do I need to change the IP in another place also?

no only one place; the crypto map

Please remember to rate useful posts, by clicking on the stars below.

I changed the name and got the below output.


          CRYPTO_MAP IPV4 "vpn" 61 ipsec-isakmp
                       ^

 

Hi,
Please share running configuration so we can suggest you better.

Regards,
Deepak Kumar
Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

I've made the changes. I also needed to change the crypto isakmp key.

Thank you for your help.

Jaderson Pessoa
VIP Alumni
VIP Alumni
Hello there,

Check this link: https://community.cisco.com/t5/vpn-and-anyconnect/change-peer-ip-of-remote-vpn/td-p/1959438
There is a good steps for you.

I hope that it can help you.
Jaderson Pessoa
*** Rate All Helpful Responses ***

Jaderson Pessoa
VIP Alumni
VIP Alumni
Do not forget to mark as useful the whole post that helps you.

thanks in advance.
Jaderson Pessoa
*** Rate All Helpful Responses ***

 
Jaderson Pessoa
*** Rate All Helpful Responses ***