Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

report-zero-oif-gw-on-discard

Syntax

Hierarchy Level

Description

(MX Series only) For inline active flow monitoring, for only the flow records for rejected, discarded, and policed flows, set the flow record value to 0 (zero) for the IPFIX information elements ipNextHopIPv6Address (Element ID 62), egressInterface (Element ID 14), and ipNextHopIPv4Address (Element ID 15). If the report-zero-oif-gw-on-discard statement is not configured, the flow records display the available information for these elements, which is the default behavior for not only rejected, discarded, or policed flows, but also for all other flows. The available information for these elements is the result of a route lookup in the forwarding table, and is reported in the OIF/GW fields in the export flow record.

Note:

This statement does not apply to flows that are policed and sampled by the Packet Forwarding Engine for egress interfaces. After you configure the report-zero-oif-gw-on-discard statement, each sampled packet updates the forwarding action of that flow in the flow record. That is, the last sampled packet of the flow just before export determines the forwarding action of that flow. For example, in the case of a rate-limiting policer, the forwarding action taken on a flow is not deterministic. The flow is treated either as forwarded or as policed based on the forwarding action of the last sampled packet of that flow.

You configure this statement to help you track what traffic is being dropped.

Default

The flow records display the available information for the information elements ipNextHopIPv6Address (Element ID 62), egressInterface (Element ID 14), and ipNextHopIPv4Address (Element ID 15).

Required Privilege Level

Release Information

Statement introduced in Junos OS Release 15.1F7.