show security flow session session-identifier
Syntax
show security flow session session-identifier session-identifier
Description
Display detailed information for the identified session.
Options
session-identifier
—Identifier of the session about which to display
information.
Required Privilege Level
view
Output Fields
Table 1 lists the output
fields for the show security flow session session-identifier command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
|---|---|
|
A unique number that a server assigns a specific user for the duration of that session. |
|
Internal flag depicting the state of the session, used for debugging purposes. It is internal. The three available flags are: Flags: 0x42/0x0/0x1/0x8103
|
|
Name and ID of the policy that the first packet of the session matched and that permitted the traffic. Session log entries are tied to policy configuration. Each main session event—create, close, and deny—creates a log entry if the controlling policy has enabled logging. |
|
The name of the source pool where NAT is used. A NAT pool is a user-defined set of IP addresses that are used for translation. Unlike static NAT, where there is a one-to-one mapping that includes destination IP address translation in one direction and source IP address translation in the reverse direction, with source NAT, the original source IP address is translated to an IP address in the address pool. Source NAT is used to allow hosts with private IP addresses to access a public network. |
|
Dynamic application: INCONCLUSIVE. If the dynamic application has yet to be determined, the output indicates Pending. If the dynamic application cannot be determined, the output indicates junos: UNKNOWN. Traffic with an application ID of junos: UNKNOWN matches a dynamic application of junos: UNKNOWN. If there is no such rule defined, the default rule is applied. The term junos: UNKNOWN is a reserved keyword. |
|
Type of encryption, if the application traffic is encrypted. Encryption: Unknown. |
|
Name of the application traffic control rule set. Application traffic control rule-set: INVALID. |
|
Maximum session timeout, in seconds. |
|
Session state: Valid. |
|
Time, in seconds, when the session was created, offset from the system start time. |
|
For the input flow:
|
|
For the reverse flow:
|
|
Session status:
|
|
Virtual system to which the session belongs (it is optional). |
|
Application match for applying the rule. Application: junos-http/6. |
|
Name of the application traffic control rule. Rule: INVALID. |
|
Remaining time for the session unless traffic exists in the session. |
|
Length of time, in seconds, for which the session is active. |
|
Name of the ALG, if there is resource manager. |
|
Group identification number, if there is resource manager. |
|
Resource identification number, if there is resource manager. |
Binary (first 3 bits) |
Hexadecimal (the first 4 bits) |
Tunnel Type |
|---|---|---|
0x000 |
0x0 |
no tunnel |
0x001 |
0x2 |
TUNNEL_TYPE_IPSEC |
0x010 |
0x4 |
TUNNEL_TYPE_L2TP |
0x011 |
0x6 |
TUNNEL_TYPE_NATT |
0x100 |
0x8 |
TUNNEL_TYPE_DS_LITE |
0x101 |
0xa |
TUNNEL_TYPE_MCNH |
Sample Output
show security flow session session-identifier 20595
root> show security flow session session-identifier 20595
Flow Sessions on FPC10 PIC2:
Session ID: 20595, Status: Normal
Flags: 0x42/0x0/0x1/0x8103
Policy name: pre-id-default-policy-logical-system-00/3
Source NAT pool: Null, Application: junos-http/6
Dynamic application: INCONCLUSIVE,
Encryption: Unknown
Application traffic control rule-set: INVALID, Rule: INVALID
Maximum timeout: 1800, Current timeout: 1788
Session State: Valid
Start time: 247736, Duration: 14
In: 4.0.0.1/47931 --> 5.0.0.2/80;tcp,
Conn Tag: 0x0, Interface: ge-0/0/2.0,
Session token: 0x7, Flag: 0x3621
Route: 0xe0010, Gateway: 4.0.0.1, Tunnel: 0
Port sequence: 0, FIN sequence: 0,
FIN state: 0,
Pkts: 3, Bytes: 176
Out: 5.0.0.2/80 --> 4.0.0.1/47931;tcp,
Conn Tag: 0x0, Interface: ge-0/0/3.0,
Session token: 0x8, Flag: 0x3620
Route: 0xc0010, Gateway: 5.0.0.2, Tunnel: 0
Port sequence: 0, FIN sequence: 0,
FIN state: 0,
Pkts: 2, Bytes: 120
Total sessions: 1Release Information
Command introduced in Junos OS Release 8.5. Output changed to support natflag2 and flag in Junos OS Release 12.3X48-D10.