DGS-6604
m
show ip key-chain
CLI Reference Guide
653
show ip key-chain
Use this command to display the settings of the configured key chains.
show ip key-chain
[NAME-OF-KEY
]
Default
None
Command Mode
User EXEC or any configuration mode
Usage Guideline
Specify the name of key-chain (N
AME-OF-KEY
) to get the information of specific
key-chain. If no NAME-OF-KEY is specified, information of all key-chains will be
shown.
Example
The following example shows the sample output of show ip key-chain:
Syntax Description
NAME-OF-KEY
(Optional) Specifies the name of a key chain to display.
Switch# show ip key-chain
Key-Chain tree
Key 1 -- text "stringforkey1"
accept lifetime (13:30:00 Jan 25 2008) - (15:29:59 Jan 25 2008)
send lifetime (14:30:00 Jan 25 2008) - (16:29:59 Jan 25 2008)
Key 2 -- text "stringforkey2"
accept lifetime (14:30:00 Jan 25 2008) - (always valid)
Send-lifetime 14:30:00 Jan 25 2008 duration 3600
Key-Chain ifall
Key 1 -- text "admin123"
accept lifetime (13:30:00 Feb 25 2008) - (15:29:59 Feb 25 2008)
send lifetime (14:30:00 Feb 25 2008) - (16:29:59 Feb 25 2008)
Key 2 -- text "guestabc"
accept lifetime (13:30:00 Feb 25 2008) - (15:29:59 Feb 25 2008)
send lifetime (14:30:00 Feb 25 2008) - (16:29:59 Feb 25 2008)
Switch#