10 Netflow Cust XR37 v2
10 Netflow Cust XR37 v2
10 Netflow Cust XR37 v2
Netflow
XR 3.7
Netflow Overview:
Introduction
Cisco Netflow is a set of features that allows monitor traffic on
per flow basis
A NetFlow feature defines flow as a sequence of packets in a
router that have the same values of a particular (specific to this
NetFlow feature) set of key fields. The set may include some
Layer 2, 3, 4 header fields from the packets as well as some
routing attributes for the packets
NetFlow features can be partitioned into two categories:
Sampled NetFlow
Aggregate NetFlow
Netflow Overview:
Processing
NetFlow maintains per flow data in a flow record:
Key fields (fields used to distinguish flow)
Non key fields
Byte/Packet counters
Timestamps for the first and last packet in the flow
NetFlow stores flow records in on-router cache
How long records will stay in cache depends on the configuration
When flow records are removed from cache they can be exported to the
NetFlow Collector for post processing and storage, subject to
configuration
Netflow Overview:
Sampled NetFlow
One out of N packets is sampled
Flow Byte/Packet counters are extrapolated by multiplying N
times number of sampled packets/bytes
Only pseudo random sampling algorithm is supported in IOS
XR
Support of Netflow export in v9 format over UDP
Can be configured on ingress and egress
Support interface, subinterface, and bundled interface
Netflow overview:
Aggregate Netflow
Uses hardware support to count bytes/packets for every
packet
Only one aggregation scheme Destination Based Netflow
Accounting (DBNA) is currently supported in 3.7 on XR12K
DBNA can be configured only in ingress direction.
10
11
Key fields:
Up to 6 labels of the MPLS stack including EXP bits.
Source and Destination IP addresses
Layer 4 Protocol
Traffic Class
Source and destination layer-4 ports
Direction
Forwarding status
Ingress interface
Flow label
Header options mask
12
13
14
sampler-map nf1-1000
random 1 out-of 1000
!
Flow monitor configuration:
15
16
17
18
19