| Parameter | Description | Value |
|---|---|---|
| keychain-name | Specifies the name of the keychain to be displayed. |
The value is a string of 1 to 47 case-insensitive characters. NOTE:
If a keychain-name contains a space, the keychain-name must be placed into a pair of double quotation marks. Only one pair of double quotation marks can be used for each user name. |
| key-id key-id | Specifies the key ID of the keychain to be displayed. |
The value is an integer ranging from 0 to 63. |
Usage Scenario
To locate or rectify a keychain authentication failure or collect required information before configuration, run the display keychain command to view configurations of a specified keychain.
# Display the configuration of keychain earth when no key ID is configured for the keychain.
<sysname> display keychain earth
Keychain Information:
---------------------
Keychain Name : earth
Timer Mode : Absolute
Receive Tolerance(min) : 0
TCP Kind : 254
TCP Algorithm IDs :
HMAC-MD5 : 5
HMAC-SHA1-12 : 2
HMAC-SHA1-20 : 6
HMAC-SHA-256 : 7
SHA-256 : 8
MD5 : 3
SHA1 : 4
Number of Key IDs : 0
Active Send Key ID : None
Active Receive Key IDs : None
Default send Key ID : Not configured
# Display the configuration of keychain earth when a key ID is configured for the keychain.
<sysname> display keychain earth
Keychain Information:
---------------------
Keychain Name : earth
Timer Mode : Absolute
Receive Tolerance(min) : 100
TCP Kind : 182
TCP Algorithm IDs :
HMAC-MD5 : 5
HMAC-SHA1-12 : 2
HMAC-SHA1-20 : 6
HMAC-SHA-256 : 7
SHA-256 : 8
MD5 : 17
SHA1 : 4
Number of Key IDs : 1
Active Send Key ID : 1
Active Receive Key IDs : 01
Default send Key ID : Not configured
Key ID Information:
-------------------
Key ID : 1
Key string : ******
Algorithm : MD5
SEND TIMER :
Start time : 2012-03-14 00:00
End time : 2012-08-08 23:59
Status : Active
RECEIVE TIMER :
Start time : 2012-03-14 00:00
End time : 2012-08-08 23:59
Status : Active
# Display the configuration of key-id 1 in keychain earth.
<sysname> display keychain earth key-id 1
Keychain Information:
---------------------
Keychain Name : earth
Timer Mode : Absolute
Receive Tolerance(min) : 100
TCP Kind : 182
TCP Algorithm IDs :
HMAC-MD5 : 5
HMAC-SHA1-12 : 2
HMAC-SHA1-20 : 6
HMAC-SHA-256 : 7
SHA-256 : 8
MD5 : 17
SHA1 : 4
Key ID Information:
-------------------
Key ID : 1
Key string : ******
Algorithm : MD5
SEND TIMER :
Start time : 2012-03-14 00:00
End time : 2012-08-08 23:59
Status : Active
RECEIVE TIMER :
Start time : 2012-03-14 00:00
End time : 2012-08-08 23:59
Status : Active
DEFAULT SEND KEY ID INFORMATION
Default : Not configured