Description

This article explains why a self-traffic-policy entry appears in the output of the show security flow session command. This policy is automatically assigned to traffic that is either generated by the SRX device itself or destined to the SRX device (to-the-box traffic). Since self-traffic-policy is an implicit policy, it cannot be modified or removed.

Symptoms

Session ID: 4295563572, Policy name: self-traffic-policy/1, Timeout: 4, Session State: Valid

 In: 172.16.10.3/500 --> 192.168.1.2/500;udp, Conn Tag: 0x0, If: .local..0, Pkts: 1, Bytes: 675, 

 Out: 192.168.1.2/500 --> 172.16.10.3/500;udp, Conn Tag: 0x0, If: ge-0/0/1.0, Pkts: 1, Bytes: 644, 

Solution

The self-traffic-policy entry is seen in the show security flow session output when:

  1. The SRX device itself generates traffic (e.g., system logs, NTP, DNS queries, UDP, TCP, ESP etc.).
  2. Traffic is destined to the SRX device (e.g., SSH, HTTPS, SNMP, etc.).

Since self-traffic-policy is an implicit policy, it cannot be modified or removed. This is expected behavior and does not require any changes.

Modification History

2025-02-28 : Article Created