07-24-2024 06:41 AM
Remind me please which IOS debug prints peer's IKEv2 IDi. I got tired troubleshooting "IKEv2-ERROR:% IKEv2 profile not found".
Solved! Go to Solution.
07-25-2024 08:01 PM
the default debug seems to show it to me
outer-20#
router-20#debug crypto ikev2
IKEv2 default debugging is on
Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Stopping timer to wait for auth message
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Checking NAT discovery
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):NAT not found
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Searching policy based on peer's identity '198.18.133.100' of type 'IPv4 address'
*Jul 26 02:57:21.474: IKEv2:found matching IKEv2 profile 'IKEV2_PROFILE'
*Jul 26 02:57:21.474: IKEv2:% Getting preshared key from profile keyring KEYRING
*Jul 26 02:57:21.474: IKEv2:% Matched peer block 'ALL'
what version are you running ?
07-25-2024 08:01 PM
the default debug seems to show it to me
outer-20#
router-20#debug crypto ikev2
IKEv2 default debugging is on
Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Stopping timer to wait for auth message
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Checking NAT discovery
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):NAT not found
*Jul 26 02:57:21.474: IKEv2:(SA ID = 1):Searching policy based on peer's identity '198.18.133.100' of type 'IPv4 address'
*Jul 26 02:57:21.474: IKEv2:found matching IKEv2 profile 'IKEV2_PROFILE'
*Jul 26 02:57:21.474: IKEv2:% Getting preshared key from profile keyring KEYRING
*Jul 26 02:57:21.474: IKEv2:% Matched peer block 'ALL'
what version are you running ?
07-29-2024 06:23 AM
Right. Looks like the guy who sent me debugs enabled "error", "packet" and "detail" debugs, but forgot to enable "debug crypto ikev2".
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