set netflow export-data

Use this command to enable NetFlow Version 9 optional MAC and VLAN export data.

Syntax

set netflow export-data {enable | disable} {mac | vlan}

Parameters

enable | disable Enables or disables the export of optional Version 9 export data.
mac Specifies that the incoming source (IN_SRC_MAC) and outgoing destination (OUT_DST_MAC) MAC addresses are included in the export data sent to the collector.
vlan Specifies that the VLANs associated with the ingress (SRC_VLAN) and egress (DST_VLAN) interfaces are included in the export data sent to the collector.

Defaults

None.

Mode

All command modes.

Usage

The export of optional MAC and VLAN data is disabled by default. Including these export data options in the flow record makes the record larger and results in fewer records and exported packets. The optional NetFlow export data records are only supported for NetFlow Version 9.

If the mac option is enabled, both incoming source and destination MAC addresses are included in the export data for the collector.

If the vlan option is enabled, VLANs associated with both the ingress and egress interfaces are included in the export data for the collector.

Use the enable parameter to enable the exporting of either the MAC or VLAN export data option.

Use the disable parameter to disable the exporting of either the MAC or VLAN export data option.

Use the clear netflow export-data command to disable both the MAC and VLAN export data options.

Example

This example shows how to enable the VLAN export data option for the NetFlow collector:

System(rw)->set netflow export-data enable vlan
System(rw)->