cflowd commands

configure 
cflowd 
active-flow-timeout number
admin-state keyword
analyze-gre-payload boolean
analyze-l2tp-traffic boolean
analyze-v4overv6-traffic boolean
apply-groups reference
apply-groups-exclude reference
cache-size number
collector (ipv4-address-no-zone | ipv6-address-no-zone) port number 
admin-state keyword
aggregation 
as-matrix boolean
destination-prefix boolean
protocol-port boolean
raw boolean
source-destination-prefix boolean
source-prefix boolean
apply-groups reference
apply-groups-exclude reference
autonomous-system-type keyword
description string
export-filter 
family 
ipv4 boolean
ipv6 boolean
l2-ip boolean
mcast-ipv4 boolean
mcast-ipv6 boolean
mpls boolean
interface-list 
router reference interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
service 
ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
ies-interface service-name reference interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
vprn-interface service-name reference interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
vprn-network-interface service-name reference network-interface-name reference 
apply-groups reference
apply-groups-exclude reference
direction keyword
router string 
router-instance string
template-set keyword
version number
enhanced-distribution boolean
export-mode keyword
inactive-flow-timeout number
inband-collector-export-only boolean
overflow number
sample-profile number 
apply-groups reference
apply-groups-exclude reference
metering-process keyword
sample-rate number
template-retransmit number
use-vrtr-if-index boolean

cflowd command descriptions

cflowd

Synopsis Enable the cflowd context
Context configure cflowd
Treecflowd
Introduced16.0.R1

Platforms

All

active-flow-timeout number

Synopsis Maximum time before an active flow is exported
Contextconfigure cflowd active-flow-timeout number
Treeactive-flow-timeout

Description

This command configures the maximum time before an active flow is aged out of the active cache. If an individual flow is active for the configured time, the flow is exported and a new flow is created on the next packet sampled for the flow.

This value is set for a flow when the flow is initially created in the active cache table and does not change dynamically.

Range30 to 36000
Unitsseconds
Default 1800
Introduced20.2.R1

Platforms

All

admin-state keyword

Synopsis Administrative state of cflowd
Context configure cflowd admin-state keyword
Treeadmin-state
Optionsenable, disable
Default enable
Introduced16.0.R1

Platforms

All

analyze-l2tp-traffic boolean

Synopsis Analyze the inner IP header of an L2TP packet
Contextconfigure cflowd analyze-l2tp-traffic boolean
Treeanalyze-l2tp-traffic

Description

When configured to true, cflowd looks for and analyzes the inner IP header of an L2TPv2 frame.

L2TPv2 traffic is identified by either the source or destination UDP port numbering that is set to 1701.

When configured to false, the analysis is not performed.

Defaultfalse
Introduced19.10.R1

Platforms

All

analyze-v4overv6-traffic boolean

Synopsis Analyze the inner IPv4 packet within an IPv6 packet
Contextconfigure cflowd analyze-v4overv6-traffic boolean
Treeanalyze-v4overv6-traffic

Description

When configured to true, cflowd looks for and analyzes the inner IPv4 header of IPv4overIPv6 frames that include MAP-E as well as DSLite and SAM traffic.

When configured to false, the analysis is not performed.

Defaultfalse
Introduced19.10.R1

Platforms

All

cache-size number

Synopsis Maximum number of active flows in the flow cache table
Contextconfigure cflowd cache-size number
Treecache-size
Range1000 to 2000000
Unitsflows
Introduced 16.0.R1

Platforms

All

collector [ip-address] (ipv4-address-no-zone | ipv6-address-no-zone) port number

Synopsis Enter the collector list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number
Treecollector
Max. Instances8
Introduced16.0.R1

Platforms

All

[ip-address] (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis IP address of the remote cflowd collector host
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number
Treecollector

Description

This command specifies the IP address of the remote cflowd collector host to receive the exported cflowd data.

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

port number
Synopsis UDP port number of the remote cflowd collector host
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number
Treecollector
Range1 to 65535

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

admin-state keyword
Synopsis Administrative state of the cflowd collector
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number admin-state keyword
Treeadmin-state
Optionsenable, disable
Default enable
Introduced16.0.R1

Platforms

All

aggregation
Synopsis Enter the aggregation context
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation
Treeaggregation
Introduced16.0.R1

Platforms

All

as-matrix boolean
Synopsis Base aggregation data based on AS information
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation as-matrix boolean
Treeas-matrix
Defaultfalse
Introduced16.0.R1

Platforms

All

raw boolean
Synopsis Export flow data without aggregation
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation raw boolean
Treeraw
Defaultfalse
Introduced16.0.R1

Platforms

All

description string
Synopsis Text description
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number description string
Treedescription
String Length1 to 80
Introduced16.0.R1

Platforms

All

export-filter
Synopsis Enter the export-filter context
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter
Treeexport-filter

Description

Commands in this context configure the export filters that control which flows are sent to the Cflowd Collector.

Introduced16.0.R1

Platforms

All

family
Synopsis Enter the family context
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family
Treefamily
Introduced16.0.R1

Platforms

All

ipv4 boolean
Synopsis Filter IPv4 flow data from being sent to the collector
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family ipv4 boolean
Treeipv4
Defaultfalse
Introduced16.0.R1

Platforms

All

ipv6 boolean
Synopsis Filter IPv6 flow data from being sent to the collector
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family ipv6 boolean
Treeipv6
Defaultfalse
Introduced16.0.R1

Platforms

All

l2-ip boolean
Synopsis Filter L2 IP flow data from being sent to the collector
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family l2-ip boolean
Treel2-ip
Defaultfalse
Introduced16.0.R1

Platforms

All

mpls boolean
Synopsis Filter MPLS flow data from being sent to the collector
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family mpls boolean
Treempls
Defaultfalse
Introduced16.0.R1

Platforms

All

interface-list
Synopsis Enter the interface-list context
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list
Treeinterface-list

Description

Commands in this context configure the match conditions for the interface that control which flow data is exported to the associated Cflowd Collector.

Introduced16.0.R4

Platforms

All

router [router-name] reference interface-name reference
Synopsis Enter the router list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list router reference interface-name reference
Treerouter

Description

Commands in this context configure the interface the router uses to send ingress sampled data flows to the associated Cflowd Collector.

Introduced16.0.R4

Platforms

All

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list router reference interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

All

service
Synopsis Enter the service context
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service
Treeservice

Description

Commands in this context configure which flow data this service interface sends to this Cflowd Collector.

Introduced16.0.R4

Platforms

All

ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Synopsis Enter the ies-group-interface list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treeies-group-interface

Description

Commands in this context configure which IES group interface flow data the service sends to the Cflowd Collector.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

subscriber-interface-name reference
Synopsis Subscriber interface name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treeies-group-interface

Reference

configure service ies string subscriber-interface string

Notes

This element is part of a list key.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

group-interface-name reference
Synopsis Group interface name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treeies-group-interface

Reference

configure service ies string subscriber-interface string group-interface string

Notes

This element is part of a list key.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

ies-interface service-name reference interface-name reference
Synopsis Enter the ies-interface list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-interface service-name reference interface-name reference
Treeies-interface

Description

Commands in this context configure which IES service interface flow data the service sends to the Cflowd Collector.

Introduced16.0.R4

Platforms

All

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service ies-interface service-name reference interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

All

vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Synopsis Enter the vprn-group-interface list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treevprn-group-interface

Description

Commands in this context configure which VPRN group interface flow data the service sends to the Cflowd Collector.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

subscriber-interface-name reference
Synopsis Subscriber interface name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treevprn-group-interface

Reference

configure service vprn string subscriber-interface string

Notes

This element is part of a list key.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

group-interface-name reference
Synopsis Group interface name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference
Treevprn-group-interface

Reference

configure service vprn string subscriber-interface string group-interface string

Notes

This element is part of a list key.

Introduced16.0.R4

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

vprn-interface service-name reference interface-name reference
Synopsis Enter the vprn-interface list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-interface service-name reference interface-name reference
Treevprn-interface

Description

Commands in this context configure which VPRN service interface flow data the service sends to the Cflowd Collector.

Introduced16.0.R4

Platforms

All

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-interface service-name reference interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

All

vprn-network-interface service-name reference network-interface-name reference
Synopsis Enter the vprn-network-interface list instance
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-network-interface service-name reference network-interface-name reference
Treevprn-network-interface

Description

Commands in this context configure which VPRN network interfaces flow data the service sends to the Cflowd Collector.

Introduced16.0.R4

Platforms

All

network-interface-name reference
Synopsis Network interface name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-network-interface service-name reference network-interface-name reference
Treevprn-network-interface

Description

This command specifies the network interface name. Interface names must be unique within the group of defined IP interfaces for the configure router interface and configure service ies interface commands. An interface name cannot be in the form of an IP address. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes and must start with a letter.

Reference

configure service vprn string network-interface string

Notes

This element is part of a list key.

Introduced16.0.R4

Platforms

All

direction keyword
Synopsis Flow match condition direction for the export filter
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list service vprn-network-interface service-name reference network-interface-name reference direction keyword
Treedirection

Description

This command configures the direction of the flows as a match condition for the associated export filter. The router only sends flows that match the specified direction to the associated Cflowd Collector.

Optionsingress, egress, both
Defaultboth
Introduced23.10.R1

Platforms

All

router [router-instance] string
Synopsis Add a list entry for router
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter router string
Treerouter

Description

This command adds an entry to the list of router instances that can send flow data to the associated Cflowd Collector.

Introduced16.0.R1

Platforms

All

[router-instance] string
Synopsis Router instance name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter router string
Treerouter

Description

This command specifies the router instance name. Only "Base" is supported.

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

router-instance string
Synopsis Router or service name
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number router-instance string
Treerouter-instance

Description

This command specifies the routing instance used to route traffic to the associated collector IP address. 

The "Base" routing instance is the fallback if no route is found. No fallback mechanism is supported for "Base" and "VPRN".

Defaultmanagement
Introduced16.0.R1

Platforms

All

template-set keyword
Synopsis Templates sent to the collector
Context configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number template-set keyword
Treetemplate-set

Description

This command specifies the set of templates sent to the collector when using cflowd Version 9 or Version 10.

Optionsnot-applicable, basic, mpls-ip, l2-ip, mpls-transport, compact, fastpath
Introduced16.0.R1

Platforms

All

version number
WARNING:

Modifying this element recreates the parent element automatically for the new value to take effect.

SynopsisFlow data collector version
Contextconfigure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number version number
Treeversion
Range5 | 8 to 10

Notes

This element is mandatory.

Introduced16.0.R1

Platforms

All

enhanced-distribution boolean

Synopsis Include ingress port ID in hashing algorithm for cflowd
Contextconfigure cflowd enhanced-distribution boolean
Treeenhanced-distribution
Defaultfalse
Introduced16.0.R1

Platforms

7750 SR-2se, 7750 SR-7s, 7750 SR-14s, 7950 XRS

export-mode keyword

Synopsis Export mode for flow data
Context configure cflowd export-mode keyword
Treeexport-mode
Optionsautomatic, manual
Default automatic
Introduced16.0.R1

Platforms

All

inactive-flow-timeout number

Synopsis Time without matching packet before flow is inactive
Contextconfigure cflowd inactive-flow-timeout number
Treeinactive-flow-timeout

Description

This command configures the time interval that must elapse without a packet matching a flow before the flow is considered inactive.

This value is set for a flow when the flow is initially created in the active cache table and does not change dynamically.

Range10 to 600
Unitsseconds
Default 15
Introduced20.2.R1

Platforms

All

overflow number

Synopsis Percentage of entries to remove from Cflowd cache when the maximum number of entries is exceeded
Contextconfigure cflowd overflow number
Treeoverflow
Range1 to 50
Unitspercent
Default 1
Introduced16.0.R1

Platforms

All

sample-profile [profile-id] number

Synopsis Enter the sample-profile list instance
Contextconfigure cflowd sample-profile number
Treesample-profile
Max. Instances5
Introduced19.5.R1

Platforms

All

[profile-id] number
Synopsis The unique specifier of this sample-profile
Contextconfigure cflowd sample-profile number
Treesample-profile
Range1 to 5

Notes

This element is part of a list key.

Introduced19.5.R1

Platforms

All

metering-process keyword
Synopsis Metering process for samples taken
Context configure cflowd sample-profile number metering-process keyword
Treemetering-process

Description

This command specifies the type of metering process to use for the samples taken from the associated interfaces. 

Optionsstandard, fp-accelerated
Defaultstandard
Introduced 21.10.R1

Platforms

7750 SR-7s, 7750 SR-14s, 7950 XRS-20e

sample-rate number
Synopsis Cflowd sampling rate for sample profile ID
Contextconfigure cflowd sample-profile number sample-rate number
Treesample-rate

Description

This command defines the cflowd sampling rate for the sample profile ID.

The sample rate indicates that the associated interface samples 1 in N packets for cflowd analysis. You can only associate one rate profile below 1:256 with a specific IOM, IMM, or XMA.

Range1 to 60000
Default1000
Introduced 19.5.R1

Platforms

All

use-vrtr-if-index boolean

Synopsis Export flow data using virtual router interface indexes
Contextconfigure cflowd use-vrtr-if-index boolean
Treeuse-vrtr-if-index
Defaultfalse
Introduced16.0.R1

Platforms

All