ESR service routers. ESR-Series. Functionality description. Version 1.12.0
381
•
Assign IP address to ports.
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
11.2 sFlow configuration
sFlow is a computer network, wireless network and network device monitoring standard designed for traffic
accounting and analysis.
11.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