This section provides information to configure Cflowd using the command line interface.
Topics in this section include:
In order for Cflowd to be operational and sampling traffic:
The following example shows a Cflowd configuration:
This section provides a brief overview of the following common configuration tasks that must be performed to configure Cflowd:
Cflowd is disabled by default. Use the following CLI syntax to enable Cflowd:
The following example shows the default values when Cflowd is initially enabled. No collectors or collector options are configured.
Use the following CLI syntax to enable Cflowd on a VPLS or Epipe SAP:
When Cflowd is configured on a SAP, all packets received are subject to analysis according to the global Cflowd configuration and exported according to the collector configurations.
The following example shows the default values when Cflowd is initially enabled on a VPLS SAP. The same defaults apply to Cflowd configured on an Epipe SAP.
The following common attributes apply to all instances of Cflowd:
Use the following CLI commands to configure Cflowd parameters:
The following example shows a global Cflowd configuration:
To configure Cflowd collector parameters, enter the following commands:
If a specific collector UDP port is not identified, flows are sent to port 2055 by default.
The following example shows a basic configuration for Cflowd collectors:
When Cflowd is enabled on an interface, all packets received or transmitted are subject to analysis according to the global Cflowd configuration and exported according to the collector configurations.
The following must be configured to enable traffic sampling on the interface or SAP:
The interface option must be selected to enable traffic sampling on an interface. If Cflowd is not enabled, traffic sampling will not occur on the interface.
When enabled on a router interface, Cflowd extracts traffic flow samples from the interface for analysis. Sampling is supported in the ingress and/or egress direction.
When enabled on a service interface, Cflowd collects routed traffic flow samples through the router for analysis. Cflowd is supported on IES and VPRN service interfaces. Sampling is supported in the ingress and/or egress direction.
The following command is used to configure Cflowd parameters on an IES interface and the same syntax is used for the VPRN context.
This section provides a brief overview of the following Cflowd configuration management tasks:
Cflowd parameter modifications apply to all instances where Cflowd is enabled. Changes are applied immediately. Use the following commands to modify global Cflowd parameters:
The following example shows the Cflowd command syntax to modify configuration parameters:
The following example shows the modified Cflowd configuration:
Use the following commands to modify Cflowd collector parameters:
The following example displays Cflowd modifications: