debug keychain

Enables keychain debugging.
Syntax
debug keychain { keychain-name | key-id | all | config | error | events | show }
no debug keychain { keychain-name | key-id | all | config | error | events | show }
Parameters
keychain-name
Enables debugging of all operations with a specific keychain name.
key-id
Enables debugging of all operations with a specific key ID of a keychain.
all
Enables debugging of all keychain instances.
config
Displays debugging during configuration.
error
Displays error messages from the keychain module.
events
Enables debugging of all timer-related events.
show

Displays the keychain debug settings.

Modes

Privileged EXEC mode

Usage Guidelines

If the key ID is under multiple keychains, the debug message will be displayed.

The no form of the command disables keychain debugging.

Examples

The following example prints debugging during configuration.

device# debug keychain config 
keychain config debug is enabled
ICX7450-24 Router#conf t
ICX7450-24 Router(config)#keychain abc
Debug: Sep 21 13:32:37  KEYCHAIN_DEBUG_CONFIG: Keychain abc configuration success.
Debug: Sep 21 13:32:37  KEYCHAIN_DEBUG_CONFIG: Keychain configuration success conf type Keychain Create-Update-Delete
Debug: Sep 21 13:32:37  KEYCHAIN_DEBUG_CONFIG: Keychain configuration success keychain name abc
ICX7450-24 Router(config-keychain-abc)#

The following example enables debugging of all keychain instances.

device# debug keychain all

keychain all debug is enabled

Debug: Sep 21 13:41:02  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 40, Sec: 0 TZone: 2 -- (Secs: 3714990000, SummTime: 3714990000, GMT: 0)
Debug: Sep 21 13:41:02  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 42, Sec: 0 TZone: 2 -- (Secs: 3714990120, SummTime: 3714990120, GMT: 0)
Debug: Sep 21 13:41:02  Keychain abc Key-Id 1: Send key end duration 58 sec  How long the key is going to be active
Debug: Sep 21 13:41:02  KEYCHAIN_DEBUG_EVENTS: Send Timer Started - Keychain abc Key-Id 1 Active 1, 29 sec 
Debug: Sep 21 13:41:31  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 40, Sec: 0 TZone: 2 -- (Secs: 3714990000, SummTime: 3714990000, GMT: 0)
Debug: Sep 21 13:41:31  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 42, Sec: 0 TZone: 2 -- (Secs: 3714990120, SummTime: 3714990120, GMT: 0)
Debug: Sep 21 13:41:31  Keychain abc Key-Id 1: Send key end duration 29 sec
Debug: Sep 21 13:41:31  KEYCHAIN_DEBUG_EVENTS: Send Timer Started - Keychain abc Key-Id 1 Active 1, 14 sec
Debug: Sep 21 13:41:45  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 40, Sec: 0 TZone: 2 -- (Secs: 3714990000, SummTime: 3714990000, GMT: 0)
Debug: Sep 21 13:41:45  Year: 2017, Mon: 9, Day: 21, Hour: 13, Min: 42, Sec: 0 TZone: 2 -- (Secs: 3714990120, SummTime: 3714990120, GMT: 0)
Debug: Sep 21 13:41:45  Keychain abc Key-Id 1: Send key end duration 15 sec  15 seconds
Debug: Sep 21 13:41:45  KEYCHAIN_DEBUG_EVENTS: Send Timer Started - Keychain abc Key-Id 1 Active 1, 7 sec
Debug: Sep 21 13:41:47  keychain tick Last Expire 15976056, Current 15977098 Diff 1042 Delta 212715814
History
Release version Command history
08.0.70 This command was introduced.