Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security flow session application-firewall

Syntax

Description

Display all sessions where application firewall is enabled.

Include options to filter the output and display only those enabled sessions with the specified features.

Options

  • dynamic-application (dyn-app-name | junos:UNKNOWN)–Display only those enabled sessions with the specified dynamic application. Enter junos:UNKNOWN to display all enabled sessions where no dynamic application can be determined.

  • dynamic-application-group (dyn-app-group | junos:UNASSIGNED)– Display only those enabled session with the specified dynamic application group. Enter junos:UNASSIGNED to display all enabled sessions where no dynamic application group can be determined.

  • application-firewall-rule-set rule-set-name–Display only those enabled sessions that match the specified rule set.

  • rule rule-name–Display only those enabled sessions that match the specified rule.

  • brief | extensive | summary–Specify the level of detail for the display.

    The output fields for the brief and summary options are the same as those of the show security flow session command. Only the extensive display is different and is shown in the following output table and examples.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security flow session application-firewall extensive command. Output fields are listed in the approximate order in which they appear in the extensive display.

Table 1: show security flow session application-firewall extensive Output Fields

Field Name

Field Description

Session ID

Number that identifies the session. Use this ID to display more information about a session.

Status

Session status.

State

Current state of the session: Active, Pending, Closed, Unknown.

Flag

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

Policy name

The name of the policy that permitted the traffic.

Source NAT pool

The name of the source pool where NAT is used.

Dynamic application

Name of the dynamic application of the session. 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.

Dynamic application group

Name of the dynamic application group of the session. If the dynamic application cannot be determined, the output indicates junos:UNASSIGNED.

Dynamic nested application

Name of the dynamic nested application of the session if one exists. If the dynamic nested application is yet to be determined, the output indicates Pending. If the dynamic nested application cannot be determined, the output indicates junos:UNKNOWN.

Application firewall rule-set

Name of the rule set that the session matched.

Rule

Name of the rule that the session matched. If the match has not yet been made, the output indicates Pending. If the rule has been deleted since the match was made, the output indicates the rule is invalid.

Maximum timeout

Maximum amount of idle time allowed for the session.

Current timeout

Number of seconds that the current session has been idle.

Session State

Session state.

Start time

Time when the session was created. Start time is indicated as an offset from the system start time.

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 per PIC that fit the display criteria.

Sample Output

show security flow session application-firewall extensive

The displayed information is similar to the show security flow session output but includes dynamic application and application firewall details for the session.

show security flow session application-firewall dynamic-application junos:FTP extensive

Entering a specific dynamic application in the command line filters the output and displays only those sessions with the specified application.

show security flow session application-firewall dynamic-application junos:UNKNOWN extensive

Using the keyword junos:UNKNOWN displays those enabled sessions where the dynamic application cannot be determined.

show security flow session application-firewall dynamic-application-group junos:WEB extensive

Entering a specific dynamic application group in the command line filters the output and displays only those sessions with the specified application group.

show security flow session application-firewall application-firewall-rule-set rule-set1 extensive

Specifying a rule set name reduces the display to only those sessions matching the specified rule set.

Release Information

Command introduced in Junos OS Release 11.2.