Commands to configure J-Flow versions 9.
About this task
Commands |
Description |
user@host# set services flow-monitoring version9
template v4
flow-active-timeout 30
user@host# set services flow-monitoring version9
template v4 flow-inactive-timeout 30
user@host# set services flow-monitoring version9
template v4 <ipv4-template>
|
Configures the J-Flow v9 template. Note: Currently, the IPv4 template is
supported.
|
user@host# set forwarding-options sampling
input rate 100
user@host# set forwarding-options sampling
input run-length 0
|
Specifies the sampling rate and run length. |
user@host# set forwarding-options sampling
family inet output flow-server
<IP_add> port 2222
user@host# set forwarding-options sampling
family inet output flow-server <IP_address>
version9 template <template_name>
|
Configures the external flow collector and its port number. Note: The J-Flow v9
template is associated with the external flow collector. Up to eight flow collectors can be
simultaneously configured.
|
user@host# set forwarding-options sampling
user@host# set forwarding-options sampling input
user@host# set forwarding-options sampling output
family inet output inline-jflow source-address
<IP_address>
|
Configure the inline-jflow, so that the sampling and the J-Flow service thread
are implemented in the forwarding engine. |
user@host# set interfaces ge-0/0/14 unit 0 family
inet sampling input
user@host# set interfaces ge-1/0/0 unit 0 family
inet sampling output
user@host# set interfaces ge-0/0/14 unit 0 family
inet address <IP_address>/24
|
Configure the sampling filter on an interface (or interfaces) in the
direction, on which the J-Flow service is required. |
user@host# show interfaces descriptions
|
Displays all the configured interfaces. |