版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Understanding
NetFlowTopicsNetflowOverviewNetflowDatagramDeployNetflowNetflowOverviewFlow1.SourceAddress2.DestinationAddress3.SourcePort4.DestinationPort5.Layer3Protocol6.TOSByte(DSCP)7.InputInterfaceSevenKeys
DefineaFlow:NetFlowDataExportedNetflowEmpowersuserswiththeabilitytocharacterizetheirIPdataflowsThewho,what,where,when,andhowmuchIPtrafficquestionsareansweredUsageInformationTrafficAnalysis
andMonitoringforNetworkPlanningRouterFeatureAccelerationNetFlowUsingUDPtosendmultipleflowrecordsinonepacketFormatsVersion1(V1)Version5(V5)Version7(V7)Version8(V8)Version9(V9)Versions2,3,4,and6werenotreleasedFlowRecordFlowRecordFlowRecordFlowRecordHeaderSequenceNumberRecordCountVersionNumberNetFlowSequence
RouterCreateandupdateflowsinNetFlowCacheInactivetimerexpired(15secisdefault)
Activetimerexpired(30min(1800sec)isdefault)NetFlowcacheisfull(oldestflowsareexpired)RSTorFINTCPFlagHeaderExportPacketPayload(flows)ExpirationAggregation?e.g.Protocol-PortAggregationSchemebecomesExportVersionYesNoAggregatedFlows–exportVersion8or9Non-AggregatedFlows–exportVersion5or9TransportProtocolNetflowDatagramNetflowVersionsNetflowV1theoriginalformatsupportedintheinitialNetFlowreleases.NetflowV5AddsBorderGatewayProtocol(BGP)autonomoussysteminformationandflowsequencenumbers.NetflowV7exclusivelysupportsCiscoCatalyst5000seriesswitcheswithaNetFlowfeaturecard(NFFC).NotcompatiblewithCiscorouters.NetflowV8Addsrouter-basedaggregationschemes.NetflowV9Flexible,extensiblefileexportformattoenableeasiersupportofadditionalfields&technologies;comingoutnowMPLS,Multicast,&BGPNextHopNetflowHeadersVersionCount(No.ofRecords)SysUptimeUnix_secsUnix_nsecsFlow_sequesceEngine_typeEngine_idAggregationAgg_version(=2)Version1Version5Version8Version:NetflowVersionNumberCount:ThenumberofrecordsinPDUFlow_sequence:Sequencenumber totalflowsseenAggregation:Aggregationmethod beingused Sampling_intervalSampling_interval:thesampling type(2bits)andintervalVersion7Count(No.ofFlowSet)SourceIDVersion9NetflowV1FlowRecordSourceIPAddressDestinationIPAddressInputInterfacePortOutputInterfacePortTypeofServiceTCPFlags(CumulativeOR)ProtocolPacketCountByteCountStartTimestampEndTimestampSourceTCP/UDPPortDestinationTCP/UDPPortUsageQoSTimeofDayApplicationRouting
andPeeringPortUtilizationFrom/ToNextHopAddressNetflowV5FlowRecordSourceIPAddressDestinationIPAddressInputInterfacePortOutputInterfacePortTypeofServiceTCPFlags(CumulativeOR)ProtocolPacketCountByteCountStartTimestampEndTimestampSourceTCP/UDPPortDestinationTCP/UDPPortUsageQoSTimeofDayApplicationRouting
andPeeringPortUtilizationFrom/ToNextHopAddressSourceASNumberDest.ASNumberSourcePrefixMaskDest.PrefixMaskNetflowV7FlowRecordSourceIPAddressDestinationIPAddressInputInterfacePort(0)OutputInterfacePortTypeofService(1stpkt)TCPFlags(0)ProtocolPacketCountByteCountStartTimestampEndTimestampSourceTCP/UDPPortDestinationTCP/UDPPortUsageQoSTimeofDayApplicationPortUtilizationFrom/ToRouter_scShort-cutRouterRouting
andPeeringNextHopAddress(0)SourceASNumber(0)Dest.ASNumber(0)SourcePrefixMask(0)Dest.PrefixMask(0)NetflowSamplingSampled–GSRonlyForspeedshigherthanOC-3stronglyrecommendedOnlyusedinV5andV9Rangefrom10to16382(packets)Defaultintervalis4billion(toprotecttherouterfrombeingchokedbyamisconfiguration)NetflowV9A
exportformatFlexibleandextensibleStillapushmodelSentthetemplateregularly(configurable)Independentoftheunderlyingprotocol,itisreadyforanyreliableprotocol(ie:TCP,SCTP)NetFlowv9
ExportPacketHeaderDataFlowSetTemplateFlowSetOptionTemplateFlowSetFlowSetID#1DataFlowSetFlowSetID#2TemplateID(specificFieldtypesandlengths)(version,#packets,sequence#,SourceID)MatchingID#sisthewaytoassociateTemplatetotheDataRecordsTheHeaderfollowsthesameformataspriorNetFlowversionssoCollectorswillbebackwardcompatibleEachDataRecordrepresentsoneflowIfexportedflowshavethesamefieldsthentheycanbecontainedinthesameTemplateRecorde.g.unicasttrafficcanbecombinedwithmulticastrecordsIfexportedflowshavedifferentfieldsthentheycan’tbecontainedinthesameTemplateRecorde.g.BGPnext-hopcan’tbecombinedwithMPLSAwareNetFlowrecordsFlowsfromInterfaceAFlowsfromInterfaceBTosupporttechnologiessuchasMPLSorMulticast,thisexportformatcanbeleveragedtoeasilyinsertnewfieldsOptionDataFlowSetFlowSetIDOptionDataRecord(Fieldvalues)OptionDataRecord(Fieldvalues)TemplateRecordTemplateID#2(specificFieldtypesandlengths)TemplateRecordTemplateID#1(specificFieldtypesandlengths)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)NetFlowv9
FlexibleFormatHeaderTemplateFlowSetDataFlowSetFlowSetIDDataFlowSetFlowSetIDExampleofExportPacketrightafterrouterbootorNetFlowconfigurationExampleofExportPacketscontainingmostlyflowinformationOptionDataFlowSetFlowSetIDHeaderOptionDataRecord(Fieldvalues)OptionDataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)DataRecord(Fieldvalues)(version,#packets,sequence#,SourceID)(version,#packets,sequence#,SourceID)TemplateRecordTemplateID(specificFieldtypesandlengths)TemplateRecordTemplateID(specificFieldtypesandlengths)TemplateRecordTemplateID(specificFieldtypesandlengths)TemplateRecordTemplateID(specificFieldtypesandlengths)OptionTemplateFlowSetTemplateID(specificFieldtypesandlengths)NetFlowv9
ExportPacketIETFSpecificationOptionFlowsetssenddataassociatedwith:SystemInterfaceLineCardCacheTemplateExample:ThesamplingrateassociatedwithaparticularinterfaceNetFlowv9
SolutionsbyTechnologyMPLSIPV6MulticastBGPNext-hopNetFlowv9
MPLSAwareNetFlow
IPFieldsSourceanddestinationIPaddressInputandoutputsub-interfacesTransportlayerprotocolSourceanddestinationapplicationportnumbers8bitIPTypeofService(ToS)TCPFlags(accumulationfromallpacketsintheflow)MPLSFieldsUptothreeincomingMPLSlabelswithexperimental(EXP)bitsandend-of-stack(S)bitPositionofeachofthethreelabelsTypeofthetoplabelIPaddressassociatedwiththetoplabelTraditionalNetFlowFieldsNumberofpacketsNumberofbytes(counteitherIPorMPLSheader/payload)Time-stampsoffirstandlastpacketsintheflowMPLSTraditionalNetFlow
forIPtoMPLStrafficPEPPEEgressMPLSNetFlowAccountingIPinformationonlyIdealforbillingCurrentavailability:CiscoIOSSoftwareReleases12.0(10)STand12.1(5)T
MPLSAwareNetFlow(version9)ExportsuptothreeMPLSlabels,andIPpacketinformationIdealforTrafficEngineeringWillbeavailableinCiscoIOSSoftwareReleases12.0(24)S,12.2S,and12.3TrafficFlowIPIPEgressMPLSNetFlowAccountingforMPLStoIPtrafficMPLSAwareNetFlow
(version9)NetFlowv9
MPLSAwareNetFlowNetFlowv9
Multicast
TraditionalNetFlowMulticastNetFlowIngressMulticastNetFlowEgressNetFlowv9
Multicast-TraditionalNetFlowEth0Eth3Eth1Eth2InterfaceEthernet0 iproute-cacheflowipflow-exportversion9ipflow-exportdestination9995NetFlowCollectorserverTraditionalNetFlowconfiguration(S,G)-(,00)FlowRecordCreatedinNetFlowCacheThereisonlyoneflowperNetFlowconfiguredinputinterfaceThe7KeyfieldsthatdefineauniqueflowaremarkedinredDestinationinterfaceismarkedas“Null”BytesandPacketsaretheincomingvaluesNetFlowv9
Multicast-NetFlowIngressInterfaceEthernet0 ipmulticastnetflowingressipflow-exportversion9ipflow-exportdestination9995MulticastNetFlowIngressconfigurationFlowRecordCreatedinNetFlowCacheThereisonlyoneflowperNetFlowconfiguredinputinterfaceThe7KeyfieldsthatdefineauniqueflowaremarkedinredDestinationinterfaceismarkedas“Null”BytesandPacketsaretheoutgoingvaluesEth0Eth3Eth1Eth2NetFlowCollectorserver(S,G)-(,00)NetFlowv9
Multicast-NetFlowEgressInterfaceEthernet1 ipmulticastnetflowegressInterfaceEthernet2 ipmulticastnetflowegressInterfaceEthernet3 ipmulticastnetflowegressipflow-exportversion9ipflow-exportdestination9995MulticastNetFlowEgressconfigurationFlowRecordsCreatedinNetFlowCacheThereisoneflowperMulticastNetFlowEgressconfiguredoutputinterfaceOneofthe7KeyfieldsthatdefineauniqueflowhaschangedfromSourceInterfacetoDestinationInterfaceBytesandPacketsaretheoutgoingvaluesEth0Eth3Eth1Eth2NetFlowCollectorserver(S,G)-(,00)NetFlowv9
BGPNextHopSupportedonlyinversion9exportFortrafficengineering/analysisandpossiblebillingapplicationsFieldsthatareexportedincludeallthosefoundinversion5exportWillbesupportedinCiscoIOSSoftwareReleases12.0(26)S,12.2S,and12.3NetFlowv9
IPv6IPv6SourceAddressIPv6SourceMaskIPv6DestinationAddressIPv6DestinationMaskIPv6NextHopIPv6OptionHeadersBit15Bit14Bit13Bit12Bit11Bit10Bit9Bit8ReservedReservedReservedReservedreservedEncryptedSecurityPayload(50)Authenticationheader(51)PayloadcompressionHeader(108)Bit7Bit6Bit5Bit4Bit3Bit2Bit1Bit0DestinationoptionHeader(60)Hop-by-hopoptionHeade(0)reservedCannotreachlayer4header(compressed,encrypted,Notsupported)Fragmentationheader(44)–firstfragmentRoutingheaderFragmentationheader(44)–notFirstfragmentreservedDeployNetflow
ConfiguringNetflowV1,V5
(partialcommandlist)SetupNetflowV1,V5ExportonCiscoRouterConfigureNetflowExportRouter(config)#ipflow-exportversion{1|5}{origin-as|peer-as}Router(config)#ipflow-exportdestination[NTGIPaddr][portnumber]Router(config)#ipflow-cachetimeoutactive[timeoutseconds]Router(config)#ipflow-exportsource<interface>Router(config)#ipflow-cachefeature-accelerateEnableaninterfaceforNetflowRouter(config)#interface<interfacename>Router(config-if)#iproute-cacheflowSetupNetflowV5ExportonFoundryBigIronwithVM1CardorJetCoreConfigureNetflowBigIron(config)#ipflow-exportenableBigIron(config)#ipflow-exportversion5BigIron(config)#ipflow-exportdestination[NTGIPaddr][portnumber]BigIron(config)#ipflow-exportoriginal-asEnableaninterfaceforNetflowRouter(config)#interface<interfacename>Router(config-if)#iproute-cacheflowCheckNetflowSettingRouter#showipflowexport
OPTIONALNetflowPlatformSupport
(Cisco)
*SupportforNetFlowExportv1,v5,andv8on1600and2500platformsistargetedforCiscoIOSsoftwarerelease12.0(5)T.NetFlowsupportfortheseplatformswillnotbeavailableintheCiscoIOS12.0mainlinerelease.CiscoIOS™SoftwareReleaseVersionSupportedNetFlowExportVersion(s)SupportedCiscoHardwarePlatforms11.1CA,11.1CC11.2,11.2P11.2P11.3,11.3T12.0
12.0T
12.0S12.0(3)Tandlater
12.0(3)Sandlater
12.04XEN/A
12.0(6)Sv1,v5v1v1v1v1,v5
v1,v5
v1,v5,v8
v1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《电工基础与技能训练》课件-第四章 交流电路的分析-刘鑫尚
- 图书转库服务合同
- 《第九章9.1-9》课件.2-9.2新一代人工智能发展趋势
- 2025年榆林货运从业资格证考试试题及答案
- 2025年西双版纳怎么考货运从业资格证
- 2025年西宁货运从业资格证考试答案
- 2025年吕梁货运资格证安检考试题
- 环保工程合伙施工协议合同
- 客户反馈处理办法
- 合同部技术创新计划
- 2022年北京市高校教师岗前培训考试闭卷真题及答案整理
- 接地装置试验作业指导书
- 手术通知单模板
- 网络拓扑图常用图标新版
- 《互联网金融》试题A及参考答案
- artcam2008软件及使用artcam的安装和破解
- 企业微信的使用培训
- 普外科专科护理规范及标准
- UML学生成绩管理系统
- CA6132普通车床使用说明书
- 工程交工验收会议监理发言
评论
0/150
提交评论