Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security flow session interface

Syntax

Description

Display information about each session that uses the specified interface. The interface name can be a session's incoming or outgoing interface.

Options

  • interface-name—Name of the interface on the device for which to display sessions information.

  • 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 interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show security flow session interface 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

Incoming flow (source and destination IP addresses, application protocol, interface, session token, route, gateway, tunnel, port sequence, FIN sequence, FIN state, packets and bytes).

Out

Reverse flow (source and destination IP addresses, application protocol, interface, session token, route, gateway, tunnel, port sequence, FIN sequence, FIN state, packets and bytes).

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.

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.

Unicast-sessions

Number of unicast sessions.

Multicast-sessions

Number of multicast sessions.

Failed-sessions

Number of failed sessions.

Sessions-in-use

Number of sessions in use.

  • Valid sessions

  • Pending sessions

  • Invalidated sessions

  • Sessions in other states

Maximum-sessions

Number of maximum sessions.

Sample Output

show security flow session interface ge-0/0/2.0

show security flow session interface ge-0/0/2.0 brief

show security flow session interface ge-0/0/2.0 extensive

show security flow session interface ge-7/1/1.0 summary

Release Information

Command introduced in Junos OS Release 8.5; Filter and view options added in Junos OS Release 10.2.