ESR-Series. User manual
516
•
•
Step
Description
Command
Keys
4
Set the rate of the statistics sending to
a Netflow collector.
esr(config)# netflow refresh-rate
<RATE>
<RATE> – rate of the statistics
sending, set in packets/flow,
takes the value of [1..10000].
Default value: 10.
5
Enable Netflow on the router.
esr(config)# netflow enable
6
Create the Netflow collector and switch
to its configuration mode.
esr(config)# netflow collector
<ADDR>
<ADDR> – collector IP address,
defined as AAA.BBB.CCC.DDD
where each part takes values of
[0..255].
7
Set the Netflow service port on the
statistics collection server.
esr(config-netflow-host)# port
<PORT>
<PORT> – UDP port number in
the range of [1..65535].
Default value: 2055.
8
Enable statistics sending to the Netflow
server in the interface/tunnel/network
bridge configuration mode.
esr(config-if-gi)# ip netflow export
17.1.2 Configuration example
Objective:
Establish accounting for traffic from gi1/0/1 interface to be sent to the server via gi1/0/8 interface for
processing purposes.
Solution:
1 First, do the following:
For gi1/0/1, gi1/0/8 interfaces disable firewall with 'ip firewall disable' command.
Assign IP address to ports.