Supported Platforms
show validation session
Syntax
Release Information
Command introduced in Junos OS Release 12.2.
Description
Display information about all sessions or a specific session with a resource public key infrastructure (RPKI) cache server.
Options
none | — | Display information about all sessions. |
destination | — | (Optional) Display information about a specific session. |
brief | detail | — | (Optional) Display the specified level of output. |
instance instance-name | — | (Optional) Display information about sessions for the specified routing instance. The instance name can be master for the main instance, or any valid configured instance name or its prefix. |
logical-system logical-system-name | — | (Optional) Perform this operation on a particular logical system. |
Required Privilege Level
view
List of Sample Output
show validation session briefshow validation session detail
Output Fields
Table 1 describes the output fields for the show validation session command. Output fields are listed in the approximate order in which they appear.
Table 1: show validation session Output Fields
Field Name | Field Description | Level of Output |
---|---|---|
Session | IP address of the RPKI cache server. | All levels |
State | State of the connection between the routing device and the cache server. Up means that the connection is established. Connect means that the connection is not established. | All levels |
Flaps | Number of attempts to establish a session. | None and brief |
Uptime | Length of time that the session has remained establshed. | None and brief |
#IPv4/IPv6 records | Number of IPv4 and IPv6 route validation records. | None and brief |
Session index | Every session has an index number. | detail |
Group | Name of the group to which the session belongs | detail |
Preference | Each cache server has a preference. Higher preferences are preferred. During a session start or restart, the routing device attempts to start a session with the cache server that has the numerically highest preference. The routing device connects to multiple cache servers in preference order. The default preference is 100. The preference is configurable with the preference statement. | detail |
Port | TCP port number for the outgoing connection with the cache server. The well-known RPKI port is TCP port 2222. For a given deployment, an RPKI cache server might listen on some other TCP port number. If so, you can configure the alternative port number with the port statement. | detail |
Refresh time | Liveliness check interval for an RPKI cache server. Every refresh-time (seconds), a serial query protocol data unit (PDU) with the last known serial number is transmitted. The hold-time must be at least 2 x the refresh-time. | detail |
Hold time | Length of time in seconds that the session between the routing device and the cache server is considered operational without any activity. After the hold time expires, the session is dropped. Reception of any PDU from the cache server resets the hold timer. The hold-time is 600 seconds, by default, and must be least 2 x the refresh-time. If the hold time expires, the session is considered to be down. This, in turn, triggers a session restart event. During a session restart, the routing device attempts to start a session with the cache server that has the numerically highest preference. | detail |
Record Life time | Amount of time that route validation (RV) records learned from a cache server are valid. RV records expire if the session to the cache server goes down and remains down for the record-lifetime (seconds). | detail |
Serial (Full Update) | Number of full serial updates. | detail |
Serial (Incremental Update) | Number of incremental serial updates. | detail |
Session flaps | Number of attempts to establish a session. | detail |
Session uptime | Length of time that the session has remained establshed. | detail |
Last PDU received | Time when the most recent PDU was received. | detail |
IPv4 prefix count | Number of IPv4 sessions. | detail |
IPv6 prefix count | Number of IPv6 sessions. | detail |
Sample Output
show validation session brief
user@host> show validation session brief
Session State Flaps Uptime #IPv4/IPv6 records 1.3.0.2 up 2 00:01:37 13/0 10.255.255.11 up 3 00:00:01 1/0 10.255.255.12 connect 2 64/68
show validation session detail
user@host> show validation session detail
Session 10.0.77.1, State: up Group: test, Preference: 100 Local IPv4 address: 10.0.77.2, Port: 2222 Refresh time: 300s Session flaps: 14, Last Session flap: 5h13m18s ago Hold time: 900s Record Life time: 3600s Serial (Full Update): 0 Serial (Incremental Update): 0 Session flaps 2 Session uptime: 00:48:35 Last PDU received: 00:03:35 IPv4 prefix count: 71234 IPv6 prefix count: 345