show security keychain
Syntax
show security keychain <brief | detail>
Description
Display information about authentication keychains configured for the Border Gateway Protocol (BGP), the Label Distribution Protocol (LDP) routing protocols, the Bidirectional Forwarding Detection (BFD) protocol, and the Intermediate System-to-Intermediate System (IS-IS) protocol.
Options
none | Display information about authentication keychains. |
brief | detail | (Optional) Display the specified level of output. |
Required Privilege Level
view
Output Fields
Table 1 describes the output fields for the show security keychain
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
keychain |
The name of the keychain in operation. |
All levels |
Active-ID Send |
Number of routing protocols packets sent with the active key. |
All levels |
Active-ID Receive |
Number of routing protocols packets received with the active key. |
All levels |
Next-ID Send |
Number of routing protocols packets sent with the next key. |
All levels |
Next-ID Receive |
Number of routing protocols packets received with the next key. |
All levels |
Transition |
Amount of time until the current key will be replaced with the next key in the keychain. |
All levels |
Tolerance |
Configured clock-skew tolerance, in seconds, for accepting keys for a key chain. |
All levels |
Id |
Identification number configured for the current key. |
|
Algorithm |
Authentication algorithm configured for the current key. |
|
State |
State of the current key. The value can be:
For the active key, the |
|
Option |
For IS-IS only, the option determines how Junos OS encodes the message authentication code in routing protocol packets. The values can be:
The default value is When you configure Because this setting is for IS-IS only, the TCP and the BFD protocol ignore the encoding option configured in the key. |
|
Start-time |
Time that the current key became active. |
|
Mode |
Mode of each key (Informational only.) The value can be
The mode of the key is based on the configuration. Suppose you
configure two keys, one with a start-time of today and the other with
a start-time of next week. For both keys, the |
|
Sample Output
show security keychain brief
user@host> show security keychain brief keychain Active-ID Next-ID Transition Tolerance Send Receive Send Receive hakr 3 3 1 1 1d 23:58 3600
show security keychain detail
user@host> show security keychain detail keychain Active-ID Next-ID Transition Tolerance Send Receive Send Receive hakr 3 3 1 1 1d 23:58 3600 Id 3, Algorithm hmac-md5, State send-receive, Option basic Start-time Wed Aug 11 16:28:00 2010, Mode send-receive Id 1, Algorithm hmac-md5, State inactive, Option basic Start-time Fri Aug 20 11:30:57 2010, Mode send-receive
Release Information
Command introduced in Junos OS Release 11.2.