
Configuring NetFlow on the Enterasys Matrix DFE
February 26, 2008 Page 8 of 19
systemmustbedetermined,sincethedefaultsettingsofa20‐packetrefreshrateanda30‐minute
timeoutmaynotbeoptimalforyourenvironment.SeeConfiguringNetFlowExportVersion
Refresh.
NetFlowVersion9recordsgeneratedbyDFEmodulesusetrueMIB‐2ifIndexvaluessincethe
templatemechanismpermitstransmissionof4‐byteifIndexes.Version9alsouses8‐bytepacket
andbytecounters,sotheyarelesslikelytorollover.Checkwithyourcollectorproviderto
determineiftheyprovidethenecessarysupport.
ThecurrentVersion9implementation:
•Doesnotsupportaggregationcaches.
•Providesfourpredefinedtemplates.Theappropriatetemplateisselectedforeachflow
dependingonwhethertheflowisroutedorswitched,andwhetheritisaTCP/UDPpacketor
not.SeeTable 5onpage 15foracompletelistingofthefieldsforeachoftheNetFlowVersion
9supportedtemplates.
Usethesetnetflowexport‐version{5|9}commandtosettheNetFlowexportversion.
Usetheclearnetflowexport‐versioncommandtoresettheexportversiontothedefaultvalue.
Configuring NetFlow Export Version Refresh
Version9templaterecordshavealimitedlifetimeandmustbeperiodicallyrefreshed.Templates
areretransmittedwheneither
•thepacketrefreshrateisreached,or
•thetemplatetimeoutisreached.
Templaterefreshbasedonthetimeoutperiodisperformedoneverymodule.SinceeachDFE
modulehandlesitsownpackettransmissions,templaterefreshbasedonnumberofexport
packetssentismanagedbyeachmoduleindependently.
TherefreshratedefinesthemaximumdelayaneworrestartedNetFlowcollectorwould
experience,beforeitlearnstheformatofthedatarecordsbeingforwarded(fromthetemplate
referencedbythedatarecords).RefreshratesaffectNetFlowcollectorsduringtheirstartup.
Collectorsmustignoreincomingdataflowreportsuntiltherequiredtemplateisreceived.
Thedefaultbehaviorisforthetemplatetobesentafter20exportdatapacketsaresent.Sincedata
recordpacketsaresentoutperflow,alongFTPflowmaycausethetemplatetimeouttimerto
expirebeforethemaximumnumberofpacketsaresent.Inanycasearefreshofthetemplateis
sentattimeoutexpirationaswell.
SettingtheappropriaterefreshrateforyourEnterasysMatrixsystemmustbedetermined,
becausethedefaultsettingsofa20‐packetrefreshrateanda30‐minutetimeoutmaynotbe
optimalforyourenvironment.Forexample,aswitchprocessinganextremelyslowflowrateof,
say,20‐packetsperhalfhour,wouldrefreshthetemplatesonlyeveryhalfhourusingthedefault
settings,whileaswitchsending300flowreportpacketspersecondwouldrefreshthetemplates
15timespersecond.
EnterasysrecommendsthatyouconfigureyourEnterasysMatrixsystemsoitdoesnotrefresh
templatesmoreoftenthanoncepersecond.
Usethesetnetflowtemplate{[refresh‐rate#ofPackets][timeoutminutes]}tosettheNetFlow
exporttemplaterefreshrateandtimeoutforthissystem.
Usetheclearnetflowtemplate{[refresh‐rate][timeout]}toresettheNetFlowexporttemplate
refreshrateandtimeouttothedefaultvalues.