Configuring NetFlow set netflow template
15-10 NetFlow Configuration
Parameters
Defaults
Atleastoneoftherefreshrateortimeoutparametersmustbespecified,althoughbothcanbe
specifiedononecommandline.
Mode
Switchcommand,ReadWrite.
Usage
Version9templaterecordshavealimitedlifetimeandmustbeperiodicallyrefreshed.Templates
areretransmittedwheneither:
•Thepacketrefreshrateisreached,or
•Thetemplatetimeoutisreached.
Templaterefreshbasedonthetimeoutperiodisperformedoneveryblade.SinceeachDFEblade
handlesitsownpackettransmissions,templaterefreshbasedonnumberofexportpacketssentis
managedbyeachbladeindependently.
TherefreshratedefinesthemaximumdelayaneworrestartedNetFlowcollectorwould
experienceuntilitlearnstheformatofthedatarecordsbeingforwarded(fromthetemplate
referencedbythedatarecords).RefreshratesaffectNetFlowcollectorsduringtheirstartupwhen
theymustignoreincomingdataflowreportsuntiltherequiredtemplateisreceived.
SettingtheappropriaterefreshrateforyourEnterasysMatrixsystemmustbedetermined,since
thedefaultsettingsofa20packetrefreshrateanda30minutetimeoutmaynotbeoptimalfor
yourenvironment.Forexample,aswitchprocessinganextremelyslowflowrateof,say,20
packetsperhalfhour,wouldrefreshthetemplatesonlyeveryhalfhourusingthedefaultsettings,
whileaswitchsending300flowreportpacketspersecondwouldrefreshthetemplates15times
persecond.
EnterasysrecommendsthatyouconfigureyourEnterasysMatrixsystemsoitdoesnotrefresh
templatesmoreoftenthanoncepersecond.
Usetheshownetflowconfigcommand(“shownetflowonpage 153)todisplaythecurrently
configuredvalues.
Example
ThisexampleshowshowtosettheVersion9templatepacketrefreshrateto50packetsandthe
timeoutvalueto45minutes:
Matrix(rw)->set netflow template refresh-rate 50 timeout 45
refreshratepackets Thenumberofexportpacketssentthatcausesatemplatetobe
retransmittedbyanindividualDFEblade.

The value of packets can range from 1 to 600. The default value is 20

packets.

timeoutminutes Thelengthofthetimeoutperiod,inminutes,afterwhichatemplateis
retransmittedbyallbladesinthesystem.

The value of minutes can range from 1 to 3600. The default value is 30

minutes.