请确保设备配置如下:
forwarding-options {
sampling {
input {
family inet {
rate 1000;
run-length 9;
max-packets-per-second 7000;
}
}
output {
cflowd <destination address>{
port
source-address <source address>;
version <version number>;
no-local-dump;
autonomous-system-type origin;
}
}
}
}
firewall
- filter Sample-FILTER {
- term ALLOW-ANY {
- then {
- sample;
- accept;
要启用特定接口上的数据包采样来进行Flow包分析,请遵循以下示例配置:
interfaces {
ge-1/3/0 {
vlan-tagging;
unit 101 {
vlan-id 101;
family inet {
sampling {
input Sample-FILTER;
output Sample-FILTER;
}
address 206.80.253.26/25
}
}
}
}
要管理非托管接口和新接口来监控流量,请遵循以下路径:
点击设置-->NetFlow-->许可管理-->Netflow接口-->选择juniper设备的接口-->点击“管理”。