flow-key (Flow Monitoring)
Syntax
flow-key { flow-direction; vlan-id; output-interface; }
Hierarchy Level
[edit services flow-monitoring version9 template template-name], [edit services flow-monitoring version-ipfix template template-name]
Description
Include VLAN IDs in both the ingress and egress directions in the flow key, enable flow direction information in a Version 9 or IPFIX flow template, or both, and configure the output-interface for bridge or VPLS family for inline flow monitoring on the MX Series.
Options
flow-direction | Enable
reporting of the direction of the flow. The field contains 0x00 (ingress)
or 0x01 (egress). The flow direction field in the output record contains
the invalid value 0xFF if you do not configure |
vlan-id | Include VLAN IDs in both the ingress and egress directions in the flow key. |
output-interface | Configure the output-interface field as part of flow-key for bridge or VPLS family. Note:
If the output-interface (OIF) is configured under flow-key while the flow-monitoring is in progress, all the existing flows (where OIF was not part of flow-key) report OIF field as zero in the next export. Therefore, in progress configuration of output-interface as part of flow-key is not recommended. In order to configure output-interface as part of flow-key, it is recommended to disable the bridge or vpls sampling and wait for the active flows to become zero. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.2.
output-interface
option added in Junos OS Release
18.2R1.