Parameter | Description | Value |
---|---|---|
keychain-name | Displays the configuration of a keychain with a specified name. | The keychain must already exist. |
key-id key-id | Displays the configuration of a specified key in the keychain. | The key must already exist. |
To troubleshoot 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 huawei when no key ID is configured for the keychain.
<HUAWEI> display keychain huawei
Keychain Information:
---------------------
Keychain Name : huawei
Timer Mode : Absolute
Time Type : Lmt
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 huawei when a key ID is configured for the keychain.
<HUAWEI> display keychain huawei
Keychain Information:
---------------------
Keychain Name : huawei
Timer Mode : Absolute
Time Type : Lmt
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 : 3
SHA1 : 4
Number of Key IDs : 1
Active Send Key ID : 1
Active Receive Key IDs : 01
Default send Key ID : 1
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
Key ID : 2
Key string : -
Algorithm : -
SEND TIMER :
Status : Inactive
RECEIVE TIMER :
Status : Inactive
# Display the configuration of key-id 1 in the keychain huawei.
<HUAWEI> display keychain huawei key-id 1 Keychain Information: --------------------- Keychain Name : huawei Timer Mode : Absolute Time Type : Lmt 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 : 3 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 : Configured Status : Inactive