2 Main configuration step:
Specify collector IP address:
esr(config)# netflow collector 10.10.0.2
Enable netflow statistics export collection for gi1/0/1 network interface:
esr(config)# interface gigabitethernet 1/0/1
esr(config-if-gi)# ip netflow export
Enable netflow on the router:
еsr(config)# netflow enable
To view the Netflow statistics, use the following command:
esr# show netflow statistics
Netflow configuration for traffic accounting between zones is performed by analogy to sFlow configuration;
for description, see Section sFlow configuration.
17.2 sFlow configuration
Sflow is a computer network, wireless network and network device monitoring standard designed for traffic
accounting and analysis.
17.2.1 Configuration algorithm
Step Description Command Keys
1 Set the rate of sending the
unchanged user traffic packets to
sFlow collector.
esr(config)# sflow sampling-rate
<RATE>
<RATE> – rate of sending the
user traffic packets to the
collector, takes the value of
[1..10000000]. If the rate value
is 10, one of ten packets will be
sent to the collector.
Default value: 1000.
2 Set the interval after which the
information on the network interface
counters is obtained
esr(config)# sflow poll-interval
<TIMEOUT>
<TIMEOUT> – interval after
which the information on the
network interface counters is
obtained, takes values of
[1..10000].
Default value: 10 seconds.
3 Enable sFlow on the router. esr(config)# sflow enable