sampler-map
1
sampler-map FNF_SAMPLER_MAP
2
random 1 out-of 4999
exporter-map
1
flow exporter-map FNF_EXPORT_MAP
2
version v9
3
options sampler-table timeout 60
4
template timeout 60
5
!
6
transport udp 20013
7
source Loopback0
8
destination 10.1.1.1
monitor-map
1
flow monitor-map FNF_MONITOR_MAP_IPV6
2
record ipv6
3
exporter FNF_EXPORT_MAP
4
exporter FNF_EXPORT_MAP1
5
cache entries 500000
6
cache timeout active 60
7
cache timeout inactive 15
1
flow monitor-map FNF_MONITOR_MAP
2
record ipv4
3
exporter FNF_EXPORT_MAP
4
exporter FNF_EXPORT_MAP1
5
cache entries 500000
6
cache timeout active 60
7
cache timeout inactive 15
Interface configuration
1
interface Bundle-Ether1
2
flow ipv4 monitor FNF_MONITOR_MAP sampler FNF_SAMPLER_MAP ingress
3
flow ipv6 monitor FNF_MONITOR_MAP_IPV6 sampler FNF_SAMPLER_MAP ingress
Note
- Max 8 exporters per monitor-map.
Use Netflow TS
1
sampler-map sam-map
2
random 1 out-of 1
3
4
flow monitor-map mon-map-ip
5
record ipv4
6
cache entries 65535
7
cache timeout inactive 1800
8
9
flow monitor-map mon-map
10
record mpls ipv4-fields labels 4
11
cache entries 65535
12
cache timeout inactive 1800
13
14
interface TenGigE0/0/1/0.1
15
ipv4 address 9.9.5.1 255.255.255.252
16
flow ipv4 monitor mon-map-ip sampler sam-map ingress
17
flow ipv4 monitor mon-map-ip sampler sam-map egress
18
flow mpls monitor mon-map sampler sam-map ingress
19
flow mpls monitor mon-map sampler sam-map egress
20
21
show flow monitor mon-map cache location 0/0/cpu0(根据板卡修改)
Tags: Configure
The Blog from Xuxing's Blog.