
AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
259
RouterOS v3 Configuration and User Guide
Property Description
active-flow-timeout
(
time
; default:
30m
) - maximum life-time of a flow
cache-entries
(1k | 2k | 4k | 8k | 16k | 32k | 64k | 128k | 256k | 512k; default:
1k
) - number of flows
which can reside in the router's memory simultaneously
enabled
(yes | no) - whether to enable traffic-flow service or not
inactive-flow-timeout
(
time
; default:
15s
) - how long to keep the flow active, if it is idle
interfaces (name) - names of those interfaces which will be used to gather statistics for traffi
c-flow.
To
specify more than one interface, separate them with a comma (",")
12.3.4
Traffic-Flow Target
Submenu level:
/ip traffic-flow target
Description
With Traffic-Flow targets we specify those hosts which will gather the Traffic-Flow information from
router.
Property Description
address
(
IP address
:
port
) - IP address and port (UDP) of the host which receives Traffic-Flow statistic
packets from the router
v9-template-refresh
(
integer
; default:
20
) - number of packets after which the template is sent to the
receiving host (only for NetFlow version 9)
v9-template-timeout
- after how long to send the template, if it has not been sent
version
(1 | 5 | 9) - which version format of NetFlow to use
12.3.5
Application Examples
Traffic-Flow Example
This example shows how to configure Traffic-Flow on a router
Enable Traffic-Flow on the router:
[admin@AT-WR4562] ip traffic-flow> set enabled=yes
[admin@AT-WR4562] ip traffic-flow> print
enabled: yes
interfaces: all
cache-entries: 1k
active-flow-timeout: 30m
inactive-flow-timeout: 15s
[admin@AT-WR4562] ip traffic-flow>
Specify IP address and port of the host, which will receive Traffic-Flow packets:
[admin@AT-WR4562] ip traffic-flow target> add address=192.168.0.2:2055 \
\... version=9
[admin@AT-WR4562] ip traffic-flow target> print
Flags: X - disabled
# ADDRESS VERSION
0 192.168.0.2:2055 9
[admin@AT-WR4562] ip traffic-flow target>
Now the router starts to send packets with Traffic-Flow information.