05-08-2013 05:31 AM
Hi all,
Can you tell me if there's any way of narrowing down a degub for a peer address only? For example, I currently run '
debug crypto isakmp 127' which captures everything, but can I run the same debug for peer address 1.1.1.1?
I know you can run 'sh crypto ipsec sa peer 1.1.1.1'.
We're using an ASA5520 (8.4.2).
Many thanks
Alex
05-08-2013 05:43 AM
Hi Alex ,
You can use conditional debug for a specific peer in this case.
That is for the peer X.X.X.X, you can issue the following command to see debugging output related only to that peer.
You issue this following command before you start debugging.
debug crypto condition peer X.X.X.X
After that , you can start the debugging as usual by issuing "debug crypto isakmp 200" command.
FYI :
This same conditional command can be used to do filtering based on other parameters such as group name , IPsec SPI , user name and few others.
Thanks,
Dinesh Moudgil
05-08-2013 05:55 AM
Hi Dinesh,
Many thanks for your very quick answer.
It was exactly what I needed.
Kind regards
Alex
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide