Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security flow session policy-id

Syntax

Description

Display information about each session by using policy id of the session.

Options

  • policy-id-number —ID of the policy that the first packet of the session matches with.

    Range: 1through 4294967295

  • brief | extensive | summary–Display the specified level of output.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security flow session policy-id command. Output fields are listed in the approximate order in which they appear.

Table 1: show security flow session policy-id Output Fields

Field Name

Field Description

Session ID

Number that identifies the session. You can use this ID to get additional information about the session.

Policy name

Policy that permitted the traffic.

Timeout

Idle timeout after which the session expires.

In

For the input flow:

  • Source and destination addresses and protocol tuple for the input flow.

  • Interface: Input flow interface.

  • Session token: Internal token derived from the virtual routing instance.

  • Flag: Internal debugging flags.

  • Route: Internal next hop of the route to be used by the flow.

  • Gateway: Next-hop gateway of the flow.

  • Tunnel: If the flow is going into a tunnel, the tunnel ID. Otherwise, 0 (zero).

  • Port Sequence, FIN sequence, FIN state, Cookie: Internal TCP state tracking information.

Out

For the reverse flow:

  • Source and destination addresses, and protocol tuple for the reverse flow.

  • Interface: Reverse flow interface.

  • Session token: Internal token derived from the virtual routing instance.

  • Flag: Internal debugging flags.

  • Route: Internal next hop of the route to be used by the flow.

  • Gateway: Next-hop gateway of the flow.

  • Tunnel: If the flow is going into a tunnel, the tunnel ID. Otherwise, 0 (zero).

  • Port Sequence, FIN sequence, FIN state, Cookie: Internal TCP state tracking information.

Total sessions

Total number of sessions.

Status

Session status.

Flag

Internal flag depicting the state of the session, used for debugging purposes.

Policy name

Name and ID of the policy that the first packet of the session matched.

Source NAT pool

The name of the source pool where NAT is used.

Dynamic application

Name of the application.

Maximum timeout

Maximum session timeout.

Current timeout

Remaining time for the session unless traffic exists in the session.

Session State

Session state.

Start time

Time when the session was created, offset from the system start time.

Sample Output

show security flow session policy-id 4

show security flow session policy-id 4 extensive

Release Information

Command introduced in Junos OS Release 12.3X48-D10.