show services sessions analysis
Syntax
Release Information
Statement introduced in Junos OS Release 17.1 on MX Series MS-MPC.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.
Description
Display session statistics.
Options
Required Privilege Level
view
List of Sample Output
show services sessions analysis interfaceOutput Fields
Table 1 lists the output fields for the show services sessions analysis command. Output fields are listed in the approximate order in which they appear.
Table 1: show services sessions analysis Output Fields
Field Name | Field Description |
---|---|
Services PIC Name | FPC and PIC slots for the services PIC on which the sessions are running. |
Session Analysis Statistics: | |
Total Sessions Active | Total active sessions in the MS-PIC including TCP, UDP, ICMP and Softwires. |
Total TCP Sessions Active | Total active TCP sessions in the MS-PIC. |
Total UDP Sessions Active | Total active UDP session in the MS-PIC. |
Total Other Sessions Active | Total other active sessions in the MS-PIC including ICMP and softwires. |
Total Predicted Sessions Active | Predicted sessions are created only by the ALG traffic using the L3/L4 information available. |
Created Sessions per Second | Session setup rate at the time of running the command. |
Deleted Sessions per Second | Session deletion rate at the time of running the command. |
Peak Total Sessions Active | Highest number of active sessions since the last PIC restart or since the last time session statistics are flushed. |
Peak Total TCP Sessions Active | Highest number of active TCP sessions since the last PIC restart or since the last time session stats are flushed. |
Peak Total UDP Sessions Active | Highest number of active UDP sessions since the last PIC restart or since the last time session statistics are flushed. |
Peak Total Other Sessions Active | Highest number of other active sessions since the last PIC restart or since the last time session statistics are flushed. |
Peak Created Sessions per Second | Maximum session setup rate observed since the last PIC restart or since the last time session statistics are flushed. |
Peak Deleted Sessions per Second | Maximum session deletion rate observed since the last PIC restart or from the last time session statistics are flushed. |
Packets received | Total number of packets received by the MS-PIC. |
Packets transmitted | Total number of packets transmitted by the MS-PIC. |
Slow path forward | Number of packets forwarded in the slow path (that is, after the successful rule match and session creation). |
Slow path discard | Number of packets discarded before the session creation. |
Session Rate Data: Number of Samples | Number of samples used to calculate the session rate since the last PIC restart or since the last time session statistics are flushed. |
Session Rate Distribution(sec) | |
Session Operation :Creation | Number of sampling intervals during which a number of sessions in the indicated range were created during the current sampling period. |
Session Operation :Deletion | Number of sampling intervals during which a number of sessions in the indicated range were deleted during the current sampling period. |
Session Lifetime Distribution(sec): | Number of TCP, UDP, and HTTP sessions whose length was in the indicated range in seconds. |
Sample Output
show services sessions analysis interface
user@host> show services sessions analysis interface
ms-5/1/0
Services PIC Name: ms-5/1/0 Session Analysis Statistics: Total sessions Active :0 Total TCP Sessions Active :0 Tcp sessions from gate :0 Tunneled TCP sessions :0 Regular TCP sessions :0 IPv4 active Session :0 IPv6 active Session :0 Total UDP sessions Active :0 UDP sessions from gate :0 Tunneled UDP sessions :0 Regular UDP sessions :0 IPv4 active Session :0 IPv6 active Session :0 Total Other sessions Active :0 IPv4 active Session :0 IPv6 active Session :0 Created sessions per Second :0 Deleted sessions per Second :0 Peak Total sessions Active :0 Peak Total TCP sessions Active :0 Peak Total UDP sessions Active :0 Peak Total Other sessions Active :0 Peak Created Sessions per Second :0 Peak Deleted Sessions per Second :0 Packets received :0 Packets transmitted :0 Slow path forward :0 Slow path discard :0 Session Rate Data: Number of Samples: 3518 Session Rate Distribution(sec) Session Operation :Creation 400000+ :0 350001 - 400000 :0 300001 - 350000 :0 250001 - 300000 :0 200001 - 250000 :0 150001 - 200000 :0 50001 - 150000 :0 40001 - 50000 :0 30001 - 40000 :0 20001 - 30000 :0 10001 - 20000 :0 1001 - 10000 :0 1 - 1000 :0 0 :3518 Session Operation :Deletion 400000+ :0 350001 - 400000 :0 300001 - 350000 :0 250001 - 300000 :0 200001 - 250000 :0 150001 - 200000 :0 50001 - 150000 :0 40001 - 50000 :0 30001 - 40000 :0 20001 - 30000 :0 10001 - 20000 :0 1001 - 10000 :0 1 - 1000 :0 0 :3518 Session Lifetime Distribution(sec): TCP UDP HTTP 240+ :0 0 0 120 - 240 :0 0 0 60 - 120 :0 0 0 30 - 60 :0 0 0 15 - 30 :0 0 0 5 - 15 :0 0 0 1 - 5 :0 0 0 0 - 1 :0 0 0