Beruflich Dokumente
Kultur Dokumente
Page 1 of 5
Network Monitoring
http://www.ciscopress.com/articles/printerfriendly/1730890
12/16/2015
Flexible Netflow Concepts and Configuration | Flexible Netflow Concepts and Configurat... Page 2 of 5
Network Planning
Security Analysis
Netflow Components
The basic concept with Flexible Netflow (and the Original Netflow) is to categorize
and track different traffic flows.
Records
These flows are defined by a number of different pieces of traffic information; the
information used when using Flexible Netflow can be defined by user records or
within standard records. With the original Netflow, a flow was defined by seven
different pieces of information that is used to categorize traffic; this information
includes the following fields:
Source IP address
Destination IP address
Source port number
Destination port number
Layer 3 protocol type
Type of service (ToS)
http://www.ciscopress.com/articles/printerfriendly/1730890
12/16/2015
Flexible Netflow Concepts and Configuration | Flexible Netflow Concepts and Configurat... Page 3 of 5
Step
1
Step
2
Step
3
Enter global
configuration mode.
Create and configure
a flow exporter.
Configure the
exporter destination.
router#configure terminal
router(config)#flow exporter
exporter-name
router(config-flow-exporter)
#destination {hostname | ipaddress}
http://www.ciscopress.com/articles/printerfriendly/1730890
12/16/2015
Flexible Netflow Concepts and Configuration | Flexible Netflow Concepts and Configurat... Page 4 of 5
router(config-flow-exporter)
#transport udp udp-port
router(config-flow-exporter)#flow
monitor flow-monitor-name
router(config-flow-monitor)
#exporter exporter-name
router(config-flow-monitor)#end
The steps required to setup a basic Flexible Netflow sampler configuration are shown
in Table 3 below (for application, see the flow monitor configuration):
Table 3Flow Sampler Configuration
Step
1
Step
2
Step
3
Enter global
configuration mode.
Create and configure
a flow sampler.
Configure the
sampler mode.
router#configure terminal
router(config)#sampler samplername
router(config-sampler)#mode
{deterministic | random} 1 outof window-size
router(config-sampler)#end
The steps required to setup a basic Flexible Netflow monitor configuration are shown
in Table 4 below:
Table 4Flow Monitor Configuration
Step
1
Step
2
Step
3
Enter global
configuration mode.
Create and configure
a flow monitor.
Define the record
format that will be
used by the flow
monitor.
Step Enter interface
4
configuration mode.
Step Apply the flow
5
monitor (during
application of a flow
monitor, the flow
router#configure terminal
router(config)#flow monitor
monitor-name
router(config-flow-monitor)
#record {record-name | netfloworiginal | netflow {ipv4 | ipv6}}
router(config-flow-monitor)
#interface interface-type
interface-number
IPv4 Flow Monitor:
router(config-if)#ip flow monitor
monitor-name [[sampler]
sampler-name] input
http://www.ciscopress.com/articles/printerfriendly/1730890
12/16/2015
Flexible Netflow Concepts and Configuration | Flexible Netflow Concepts and Configurat... Page 5 of 5
sampler is also
applied).
or
IPv6 Flow Monitor:
router(config-if)#ipv6 flow
monitor monitor-name
[[sampler] sampler-name] input
router(config-if)#end
Summary
The Flexible Netflow feature provides a solution for a number of different needs within
an organization. With little investment in time and resources, the Flexible Netflow
feature can save an organization money, provide better accounting of organizational
traffic, and provide a solution that can help solve a number of different problems
within an organizational network. Hopefully, the information in this article can be used
to become familiar with the Flexible Netflow feature as well as help with initial feature
configuration.
2015 Pearson Education, Cisco Press. All rights reserved.
800 East 96th Street, Indianapolis, Indiana 46240
http://www.ciscopress.com/articles/printerfriendly/1730890
12/16/2015