Enabling IPFIX Globally

About this task

Use the following procedure to enable IPFIX globally. IPFIX provides the ability to monitor IPv4 traffic flows.

The default global state is disabled.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable IPFIX:

    ip ipfix enable

  3. Optional: Configure the flow aging interval:

    ip ipfix aging-interval <1-60>

  4. Optional: Configure a value for observation domain:

    ip ipfix observation-domain <0-4294967295>

Example

Enable IPFIX globally:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#ip ipfix enable
Switch:1(config)#ip ipfix aging-interval 30
Switch:1(config)#ip ipfix observation-domain 1

Disable IPFIX globally:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#no ip ipfix enable 

By disabling IPFIX globally, all the processes and traffic
sent to collector(s) will be stopped.Do you agree (y/n) ? y

Variable Definitions

Use the data in the following table to use the ip ipfix command.

Variable

Value

aging-interval <1-60>

Specifies (in seconds) the flow record aging interval. The aging-interval determines how long a traffic flow that is no longer being received is retained as a flow. The default value is 40 seconds.

enable

Enables IPFIX globally.

observation-domain <0-4294967295>

Specifies a value for the observation domain used to send IPFIX messages. The default is 0 (no observation domain). If the value is 0, data that is sent is not applied to a single observation domain.