Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security flow ip-action

Syntax

Description

Display the current IP-action settings, based on filtered options, for IP sessions running on the device.

Options

  • filter—Filter the display based on the specified criteria.

    The following filters display those sessions that match the criteria specified by the filter. Refer to the sample output for filtered output examples.

    all | [filter]—All active sessions on the device.

    destination-port destination-port—Destination port number of the traffic. Range is 1 through 65,535.

    destination-prefix destination-prefix—Destination IP prefix or address.

    family (inet | inet6) [filter]—IPv4 traffic or IPv6-NATPT traffic and filtered options.

    logical-system logical-system-name | all [filter]—Specified logical system or all logical systems.

    protocol protocol-name | protocol-number [filter]—Protocol name or number and filtered options.

    • ah or 51

    • egp or 8

    • esp or 50

    • gre or 47

    • icmp or 1

    • icmp6 or 58

    • ipip or 4

    • ospf or 89

    • pim or 103

    • rsvp or 46

    • sctp or 132

    • tcp or 6

    • udp or 17

    root-logical-system [filter]—Default logical system information and filtered options.

    source-port source-port—Source port number of the traffic. Range is 1 through 65,535.

    source-prefix source-prefix—Source IP prefix or address of the traffic.

  • summary —Summary information about IP-action entries.

    family—Display summary of IP-action entries by family. This option is used to filter the output.

    • inet—Display summary of IPv4 entries.

    • inet6—Display summary of IPv6 entries.

Required Privilege Level

view

Output Fields

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

Table 1: show security flow ip-action Output Fields

Field Name

Field Description

Src-Addr

Source address of outbound IP traffic.

Src-Port

Source port number of outbound IP traffic.

Dst-Addr

Destination address of inbound IP traffic.

Dst-Port/Proto

Destination port number and protocol type of inbound IP traffic.

Timeout (sec)

Configured timeouts and time remaining for an IP session.

Zone

Security zone associated with an IP session.

Action

Configured action type, for example, block, close, and notify.

State

The active mode and passive mode describe the states of the ip-action entry.

IPv4 action count

The total number of IPv4 entries.

IPv6 action count

The total number of IPv6 entries.

Sample Output

show security flow ip-action

show security flow ip-action destination-port

show security flow ip-action destination-prefix

show security flow ip-action family inet protocol

show security flow ip-action family inet logical-system all

show security flow ip-action source-prefix

show security flow ip-action summary

show security flow ip-action summary family inet

show security flow ip-action summary family inet6

Release Information

Command introduced in Junos OS Release 10.1. Logical systems option added in Junos OS Release 11.2 . Summary option introduced in Junos OS Release 12.1.