show keychain

Displays keychain-related configuration and status information.
Syntax
show keychain [ resource | name keychain-name [ key-id | active ] ]
Parameters
resource
Displays the number of keychains configured, the status of the keychain timer, and the number of keys configured currently.
name keychain-name
Displays the keychain configuration details of a specific keychain.
key-id
Displays the details of a specific key within a keychain.
active
Displays the active keys under a specific keychain.
Modes

User EXEC mode

Privileged EXEC mode

Global configuration mode

Keychain configuration mode

Key ID configuration mode

Examples

The following example displays keychain configuration details.

device# show keychain
Keychain: ruckus
Tolerance: 8639999
--------------------------------------------------------------------------
  Key-id  |    Algo    | SendActive | SendTimer| AcceptActive | AcceptTimer 
--------------------------------------------------------------------------
      1      hmac-sha-256  Yes(GMT+00)    8647414    Yes(GMT+00)    8561014
      2      sha-256       No(GMT+00)          -     No(GMT+00)          -
      3      sha-256       No(GMT+00)          -     No(GMT+00)          -
      4      None          No(GMT+00)          -     No(GMT+00)          

The following example displays the number of keychains configured, the status of the keychain timer, and the number of keys configured currently.

device# show keychain resource  
Total Keychains Configured: 1
Keychain Timer Operational: Yes
Keychain Resource Infromation:-
                      alloc in-use  avail get-fail    limit  get-mem  size init
Keychain                 64      1     63        0       64        1   339   64
Key                     256      2    254        0     1024        2   983  256
Misc                     64      0     64        0      128        0    16   64

The following example displays the keychain configuration details of a specific keychain.

device# show keychain name ruckus
Keychain: ruckus
  Key-id   : 1
      AuthAlgorithm: hmac-sha-256
      Key-String   : *******
      Send Lifetime:-
          Start    : 09-19-2017 10:55:00 End         : 09-19-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8647208 sec 
          Timezone : GMT+00
      Accept Lifetime:-
          Start    : 09-18-2017 12:00:00 End         : 09-18-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8560808 sec
          Timezone : GMT+00
         

The following example displays the details of a specific key by specifying the key ID within a keychain.

device# show keychain name ruckus 1 
Keychain: ruckus
  Key-id   : 1
      AuthAlgorithm: hmac-sha-256
      Key-String   : *******
      Send Lifetime:-
          Start    : 09-19-2017 10:55:00 End         : 09-19-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8647018 sec
          Timezone : GMT+00
      Accept Lifetime:-
          Start    : 09-18-2017 12:00:00 End         : 09-18-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8560618 sec
          Timezone : GMT+00
         

The following example displays the active keys under the "ruckus" keychain.

device# show keychain name ruckus active
Keychain: ruckus
  Key-id   : 1
      AuthAlgorithm: hmac-sha-256
      Key-String   : *******
      Send Lifetime:-
          Start    : 09-19-2017 10:55:00 End         : 09-19-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8646948 sec
          Timezone : GMT+00
      Accept Lifetime:-
          Start    : 09-18-2017 12:00:00 End         : 09-18-2017 13:00:00
          Active   : Yes                 TimeToExpire: 8560548 sec
          Timezone : GMT+00
History
Release Command History
08.0.70 This command was introduced.