- 配置超时
configure terminal
Active timeout 60
Inactive timeout 15
end
- 配置导出器
configure terminal
flow exporter <EXPORTER_NAME>
destination <PROXY_IP>
transport udp 2055
source <VSM_IP_OR_SUBNET>
end
- 要为每个接口配置流监控器,请执行以下操作:
configure terminal
flow monitor <MONITOR_NAME>
record netflow-original
exporter <EXPORTER_NAME>
end
- 在输入模式和输出模式下或者至少在输入模式下为每个接口配置流监控器
configure terminal
port-profile type vethernet <IF_NAME>
ip flow monitor <MONITOR_NAME> input
ip flow monitor <MONITOR_NAME> output
.
.
end