15. cflowd Commands

configure
cflowd
admin-state keyword
analyze-gre-payload 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
as-matrix boolean
destination-prefix boolean
protocol-port boolean
raw boolean
source-prefix boolean
— apply-groups reference
— apply-groups-exclude reference
description string
family
ipv4 boolean
ipv6 boolean
l2-ip boolean
mcast-ipv4 boolean
mcast-ipv6 boolean
mpls boolean
router reference interface-name reference
service
ies-interface service-name reference interface-name reference
vprn-interface service-name reference interface-name reference
router string
router-instance string
template-set keyword
version number
export-mode keyword
overflow number
sample-profile number
— apply-groups reference
— apply-groups-exclude reference
sample-rate number
use-vrtr-if-index boolean

15.1. cflowd Command Descriptions

cflowd

Synopsis

Enable the cflowd context

Context
Tree
Introduced

16.0.R1

Platforms

All

active-flow-timeout number

Synopsis

Maximum time before an active flow is exported

Range

30 to 36000

Default

1800

Units

seconds

Introduced

20.2.R1

Platforms

All

admin-state keyword

Synopsis

Administrative state of Cflowd sampling

Context
Default

enable

Options

enable, disable

Introduced

16.0.R1

Platforms

All

analyze-gre-payload boolean

Synopsis

Perform Cflowd analysis on the inner IP packet within a GRE packet

Default

false

Introduced

16.0.R1

Platforms

All

analyze-l2tp-traffic boolean

Synopsis

Analyze the inner IP header of an L2TP packet

Default

false

Introduced

19.10.R1

Platforms

All

analyze-v4overv6-traffic boolean

Synopsis

Analyze the inner IPv4 packet within an IPv6 packet

Default

false

Introduced

19.10.R1

Platforms

All

cache-size number

Synopsis

Maximum number of active flows in the flow cache table

Context
Range

1000 to 2000000

Units

flows

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

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number

Tree
Max. Elements

8

Introduced

16.0.R1

Platforms

All

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

Synopsis

IP address of the remote Cflowd collector host

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

port number

Synopsis

UDP port number on the remote Cflowd collector host to receive the exported Cflowd data

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number

Range

1 to 65535

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

admin-state keyword

Synopsis

Administrative state of the cflowd collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number admin-state keyword

Default

enable

Options

enable, disable

Introduced

16.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

Introduced

16.0.R1

Platforms

All

as-matrix boolean

Synopsis

Base aggregation data on autonomous system (AS) information

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation as-matrix boolean

Tree
Default

false

Introduced

16.0.R1

Platforms

All

destination-prefix boolean

Synopsis

Aggregate data based on the destination prefix information

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation destination-prefix boolean

Default

false

Introduced

16.0.R1

Platforms

All

protocol-port boolean

Synopsis

Aggregate flows based on the IP protocol, source port number, and destination port number

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation protocol-port boolean

Default

false

Introduced

16.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

Tree
Default

false

Introduced

16.0.R1

Platforms

All

source-destination-prefix boolean

Synopsis

Aggregate data based on the source and destination prefix information

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation source-destination-prefix boolean

Default

false

Introduced

16.0.R1

Platforms

All

source-prefix boolean

Synopsis

Aggregate flows based on the source prefix information

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number aggregation source-prefix boolean

Default

false

Introduced

16.0.R1

Platforms

All

autonomous-system-type keyword

Synopsis

Basis of the AS information included in flow data

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number autonomous-system-type keyword

Default

origin

Options

origin, peer

Introduced

16.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

String Length

1 to 80

Introduced

16.0.R1

Platforms

All

export-filter

Synopsis

Enter the export-filter context

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter

Introduced

16.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

Tree
Introduced

16.0.R1

Platforms

All

ipv4 boolean

Synopsis

Filter IPv4 flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family ipv4 boolean

Tree
Default

false

Introduced

16.0.R1

Platforms

All

ipv6 boolean

Synopsis

Filter IPv6 flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family ipv6 boolean

Tree
Default

false

Introduced

16.0.R1

Platforms

All

l2-ip boolean

Synopsis

Filter Layer 2 IP flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family l2-ip boolean

Tree
Default

false

Introduced

16.0.R1

Platforms

All

mcast-ipv4 boolean

Synopsis

Filter multicast IPv4 flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family mcast-ipv4 boolean

Default

false

Introduced

16.0.R1

Platforms

All

mcast-ipv6 boolean

Synopsis

Filter multicast IPv6 flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family mcast-ipv6 boolean

Default

false

Introduced

16.0.R1

Platforms

All

mpls boolean

Synopsis

Filter MPLS flow data from being sent to the associated collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter family mpls boolean

Tree
Default

false

Introduced

16.0.R1

Platforms

All

interface-list

Synopsis

Enter the interface-list context

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list

Introduced

16.0.R4

Platforms

All

router [router-name] reference interface-name reference

Synopsis

Add a list entry for router

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list router reference interface-name reference

Tree
Introduced

16.0.R4

Platforms

All

[router-name] reference

Synopsis

Administrative router name

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list router reference interface-name reference

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

interface-name reference

Synopsis

Interface name

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter interface-list router reference interface-name reference

Reference

configure router string interface string

Notes

This element is part of a list key.

Introduced

16.0.R4

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

Tree
Introduced

16.0.R4

Platforms

All

ies-group-interface service-name reference subscriber-interface-name reference group-interface-name reference

Synopsis

Add a list entry for ies-group-interface

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

Introduced

16.0.R4

Platforms

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

service-name reference

Synopsis

Administrative service 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

subscriber-interface-name reference

Synopsis

IES 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

group-interface-name reference

Synopsis

IES 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

ies-interface service-name reference interface-name reference

Synopsis

Add a list entry for ies-interface

Context

configure 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

Introduced

16.0.R4

Platforms

All

service-name reference

Synopsis

Administrative service name

Context

configure 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

interface-name reference

Synopsis

ies interface name

Context

configure 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

vprn-group-interface service-name reference subscriber-interface-name reference group-interface-name reference

Synopsis

Add a list entry for vprn-group-interface

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

Introduced

16.0.R4

Platforms

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

service-name reference

Synopsis

Administrative service 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

subscriber-interface-name reference

Synopsis

VPRN 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

group-interface-name reference

Synopsis

vprn 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

Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

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

vprn-interface service-name reference interface-name reference

Synopsis

Add a list entry for vprn-interface

Context

configure 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

Introduced

16.0.R4

Platforms

All

service-name reference

Synopsis

Administrative service name

Context

configure 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

interface-name reference

Synopsis

vprn interface name

Context

configure 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

vprn-network-interface service-name reference network-interface-name reference

Synopsis

Add a list entry for vprn-network-interface

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

Introduced

16.0.R4

Platforms

All

service-name reference

Synopsis

Administrative service 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

Platforms

All

network-interface-name reference

Synopsis

VPRN 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

Reference
Notes

This element is part of a list key.

Introduced

16.0.R4

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

Tree
Introduced

16.0.R1

Platforms

All

[router-instance] string

Synopsis

Router instance ID

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number export-filter router string

Notes

This element is part of a list key.

Introduced

16.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

Description

This command specifies the routing instance to be 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".

Default

management

Introduced

16.0.R1

Platforms

All

template-set keyword

Synopsis

Template set for this Cflowd collector

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number template-set keyword

Options

not-applicable, basic, mpls-ip, l2-ip, mpls-transport

Introduced

16.0.R1

Platforms

All

version number

Warning:

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

Synopsis

Flow data collector version

Context

configure cflowd collector (ipv4-address-no-zone | ipv6-address-no-zone) port number version number

Tree
Range

5 | 8 to 10

Notes

This element is mandatory.

Introduced

16.0.R1

Platforms

All

enhanced-distribution boolean

Synopsis

Include ingress port ID in the hashing algorithm used to distribute Cflowd sample traffic

Default

false

Introduced

16.0.R1

Platforms

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

export-mode keyword

Synopsis

Export mode for flow data

Context
Default

automatic

Options

automatic, manual

Introduced

16.0.R1

Platforms

All

inactive-flow-timeout number

Synopsis

Time without matching packet before flow is inactive

Range

10 to 600

Default

15

Units

seconds

Introduced

20.2.R1

Platforms

All

inband-collector-export-only boolean

Synopsis

Export the traffic to all collectors only via in-band interfaces

Default

false

Introduced

16.0.R1

Platforms

All

overflow number

Synopsis

Percentage of entries to remove from Cflowd cache when the maximum number of entries is exceeded

Context
Tree
Range

1 to 50

Default

1

Units

percent

Introduced

16.0.R1

Platforms

All

sample-profile [profile-id] number

Synopsis

Enter the sample-profile list instance

Max. Elements

5

Introduced

19.5.R1

Platforms

All

[profile-id] number

Synopsis

The unique specifier of this sample-profile

Range

1 to 5

Notes

This element is part of a list key.

Introduced

19.5.R1

Platforms

All

sample-rate number

Synopsis

The cflowd sampling rate for this profile

Range

1 to 10000

Default

1000

Introduced

19.5.R1

Platforms

All

template-retransmit number

Synopsis

Time to resend template information

Range

10 to 600

Default

600

Units

seconds

Introduced

16.0.R1

Platforms

All

use-vrtr-if-index boolean

Synopsis

Export flow data using virtual router interface indexes

Default

false

Introduced

16.0.R1

Platforms

All