cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17553
Views
0
Helpful
3
Replies

How to disable a particular IPSec tunnel on Cisco router

andrew_ho
Level 1
Level 1

Hi Guys,

Anyone knows a way to termporarily disable a particular IPSec tunnel on a Cisco router provided:

- No change of configuration

- Not affecting other running IPSec tunnels

- GRE is not being used, so there is no tunnel interface to shut down

Or any closest way to meet the above requirement?

Thanks,

Andrew

1 Accepted Solution

Accepted Solutions

raga.fusionet
Level 4
Level 4

Andrew,

There is no way to "disable" the tunnel without modifying the config.

I think the easiest way would be to get in the crypto map for that particular tunnel and remove either the peer or the ACL:

e.g.:

crypto map labmap 10 ipsec-isakmp

no set peer 10.0.0.1

crypto map labmap 10 ipsec-isakmp

no match address 100

or you can remove the isakmp key for that tunnel, that would do it to, e.g.:

no crypto isakmp key cisco123 address 10.0.0.1

That would prevent the tunnel from coming up without affecting other tunnels.

I hope this helps.

Raga

View solution in original post

3 Replies 3

raga.fusionet
Level 4
Level 4

Andrew,

There is no way to "disable" the tunnel without modifying the config.

I think the easiest way would be to get in the crypto map for that particular tunnel and remove either the peer or the ACL:

e.g.:

crypto map labmap 10 ipsec-isakmp

no set peer 10.0.0.1

crypto map labmap 10 ipsec-isakmp

no match address 100

or you can remove the isakmp key for that tunnel, that would do it to, e.g.:

no crypto isakmp key cisco123 address 10.0.0.1

That would prevent the tunnel from coming up without affecting other tunnels.

I hope this helps.

Raga

Thanks, Raga.

Andrew

Sure, anytime