Specifications

Configuring NetFlow on the Enterasys S-Series, N-Series, and K-Series Modules
May 18, 2011 Page 10 of 21
Ifthevlanoptionisenabled,VLANsassociatedwithboththeingressandegressinterfacesare
includedintheexportdataforthecollector.
Usethesetnetflowexportdataenable{mac|vlan}commandtoenableeithertheMACorVLAN
exportdata.
Usethesetnetflowexportdatadisable
{mac|vlan}commandtodisableeitherthe MACor
VLANexportdata.
UsetheclearnetflowexportdatacommandtoresetbothMACandVLANoptionalexportdata
configurationtothedefaultvalueofdisabled.
Displaying NetFlow Configuration and Statistics
Usetheshownetflowcommandtodisplaythecurrentconfigurationandexportstatisticsforthis
system.
UsetheshownetflowconfigportstringcommandtodisplaytheNetFlowconfigurationfora
singleorsetofports.
Usetheshownetflowstatisticsexportcommandtodisplayexportstatisticsforthissystem.
Procedure 1provides
aCLIexampleofaNetFlowsetup.Steps13arerequired.Steps47are
optionaldependingupontheneedsofyourconfiguration.
Procedure 1 Configuring NetFlow on S-Series, N-Series, and K-Series Systems
Step Task Command(s)
1. Enable NetFlow collection on the specified port. System(rw)->set netflow port port_string
enable
2. Configure up to four NetFlow collector
destination servers for this system. One server
is configured per command.
System(rw)->set netflow export-destination
ip-address [udp-port]
3. Globally enable the NetFlow cache for this
system. Verify the required NetFlow
configuration.
System(rw)->set netflow cache enable
System(rw)->show netflow
4. Optionally, modify the active flow timer value for
this system.
System(rw)->set netflow export-interval
interval
5. Optionally, change NetFlow record format
between version 5 and version 9 for this system.
System(rw)->set netflow export-version
version
6. If using version 9, optionally modify the number
of export packets sent that cause a template to
be retransmitted by an individual module and/or
the length of the timeout period, in minutes, after
which a template is retransmitted by all modules
in the system.
System(rw)->set netflow template
{[refresh-rate packets] [timeout minutes]
7. Optionally, enable NetFlow Version 9 optional
MAC and VLAN export data.
System(rw)->set netflow export-data {enable |
disable} {mac | vlan}
8. Verify any configuration changes made. System(rw)->show netflow config