各社設定情報
E300-1#sh ru sflow
!
sflow collector 192.168.11.203 agent-addr 192.168.11.229 sflow enable
E300-1#sh ru int
!
interface GigabitEthernet 1/1
ip address 172.16.1.1/24
sflow enable
no shutdown
!
interface GigabitEthernet 1/2
ip address 172.16.2.1/24
sflow enable
no shutdown
!
....
interface GigabitEthernet 1/9
ip address 192.168.11.229/24
no shutdown
E300-1#sh sflow
sFlow services are enabled
Global default sampling rate: 32768
Global default counter polling interval: 20
1 collectors configured
Collector IP addr: 192.168.11.203, Agent IP addr: 192.168.11.229, UDP port: 6343 \
1540 UDP packets exported 0 UDP packets dropped
1762 sFlow samples collected
0 sFlow samples dropped due to sub-sampling
Linecard 1 Port set 0 H/W sampling rate 32768
Gi 1/1: configured rate 32768, actual rate 32768, sub-sampling rate 1
Gi 1/2: configured rate 32768, actual rate 32768, sub-sampling rate 1
Gi 1/3: configured rate 32768, actual rate 32768, sub-sampling rate 1
[edit firewall]
family inet {
filter sample-all {
term 1 {
then {
sample;
accept;
}
}
}
}
[edit interfaces]
ge-0/0/0 {
unit 0 {
family inet {
filter {
input sample-all;
}
}
}
}
[edit forwarding-options]
sampling {
input {
family inet {
rate 1000;
}
}
output {
cflowd 10.0.0.100 {
autonomous-system-type origin;
port 2055;
source-address 192.168.1.1;
version 5;
}
flow-active-timeout 60;
}
}
[edit firewall]
family inet {
filter sample-all {
term 1 {
then {
sample;
accept;
}
}
}
}
[edit interfaces]
ge-0/0/0 {
unit 0 {
family inet {
filter {
input sample-all;
}
}
}
}
[edit forwarding-options]
sampling {
input {
family inet {
rate 1000;
}
}
output {
cflowd 10.0.0.100 {
autonomous-system-type origin;
port 2055;
version 5;
}
interface sp-1/2/0 {
source-address 192.168.1.1;
}
flow-active-timeout 60;
}
}