Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

report-zero-oif-gw-on-discard

date_range 26-Feb-24

Syntax

content_copy zoom_out_map
report-zero-oif-gw-on-discard;

Hierarchy Level

content_copy zoom_out_map
[edit chassis fpc slot-number inline-services]

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.

external-footer-nav
Ask AI
close

How can I help you today?

LLMs can make mistakes. Verify important information.
chat_add_on New topic
send progress_activity
This conversation will be monitored and recorded. Any information you provide will be subject to our Privacy Notice and may be used for quality assurance purposes. Do not include any personal or sensitive information. Ask AI can make mistakes. Verify generated output for accuracy.
Protected by hCaptcha arrow_drop_down arrow_drop_up
Juniper Networks, Inc. | Privacy Notice | Terms of Use