Display IKEv2 Profiles

Use the following procedure to display the configured IKEv2 profiles.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display all IKEv2 profiles:

    show ike v2-profile

  3. Display a specific IKEv2 profile:

    show ike v2-profile WORD<1–32>

Example

Switch:1#show ike v2-profile test
==========================================================================================
                                  IKE2 Profile

==========================================================================================
                                 Hash               Encrypt                  Encrypt       Exchange
Name                             Algo               Algo                     Key Length    Mode    
------------------------------------------------------------------------------------------
test                             sha256                aesCbc                   256        main    


==========================================================================================
                                  IKE2 Profile

==========================================================================================
                                 DH                           Integrity                  Lifetime  
Name                             Group                        Algorithm                  seconds   
------------------------------------------------------------------------------------------
test                             modp2048                     sha256                     180       

Variable Definitions

The following table defines parameters for the show ike v-2profile command.

Variable

Value

WORD<1–32>

Specifies the name of the policy.

Job aid

The following table describes the fields in the output for the show ike v2–profile command.

Parameter

Description

Name

Specifies the name of the IKEv2 profile.

Hash Algo

Specifies the hash authorization algorithm. The supported values are MD5, SHA1, and SHA256.

Encrypt Algo

Specifies the crytographic algorithm. The supported values are DES, 3DES, and AES.

Encrypt Key Length 

Specifies the length of the encryption key. The supported values are 128, 192, and 256.

DH Group

Specifies the Diffe-Hellman (DH) group. The supported values are modp768, modp024, and modp048.

Integrity Algorithm

Specifies IKE SA integrity algorithms supported in IKEv2.

Exchange Mode

Specifies the IKE mode. The supported mods are main mode and aggressive mode.

Lifetime seconds

Specifies the lifetime value in seconds. The value ranges from 0 to 4294967295 seconds.