Configure the IPFIX Collector

About this task

Use the following procedure to configure a collector for IPFIX. Use the ExtremeAnalytics™ solution as the collector.

You can configure IPFIX on Segmented Management Instance interfaces VLAN and CLIP. You can also use routing VLANs or loopback IPs as the exporter IP address. Configure the exporter IP address to match the Management Instance interface IP address.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure values for the collector ID, the IP address of the collector, and the IP address of the exporter. Optionally, you can configure values for the source port sending flow information and the destination port receiving flow information:

    ip ipfix collector <1–1> {A.B.C.D} exporter-ip {A.B.C.D} [dest-port <1-65535>] [src-port <1-65535>]

    Note

    Note

    You cannot configure collector or exporter IP addresses in the following formats:

    • 255.255.255.255

    • 127. x.x.x

    • 0.x.x.x

    • 224.0.0.0 to 239.255.255.255

    If you configure a collector or exporter IP address in any of these formats, the following error message is displayed:
    Error: Invalid IP address
  3. Optional: Configure a value for the export interval:

    ip ipfix collector 1 export-interval <1-120>

  4. Optional: Configure a value for the initial burst of template packets:

    ip ipfix collector 1 initial-burst <1-10>

Example

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#ip ipfix collector 1 192.0.2.15 exporter-ip 192.0.2.16
dest-port 2 src-port 4
Switch:1(config)#ip ipfix collector 1 export-interval 40
Switch:1(config)#ip ipfix collector 1 initial-burst 4

Variable Definitions

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

Variable

Value

<1–1>

Specifies the IPFIX collector ID.

{A.B.C.D}

Specifies the IP address of the collector.

exporter-ip {A.B.C.D}

Specifies the IP address of the exporter.

Note:

For Segmented Management Instance interfaces, the exporter-IP address is the IP address of the Segmented Management Instance interface on which datagrams egress.

dest-port <1-65535>

Specifies the destination port receiving flow information.

src-port <1-65535>

Specifies the source port sending flow information.

export-interval

Specifies, in seconds, the frequency of template packet exports to the collector. The default value is 60 seconds.

initial-burst

Specifies the number of template packets sent when the collector becomes reachable. The default value is 5.