Sampling Traffic Flows
3-69
3
Web
– Click sFlow, Port Configuration. Set the parameters for flow Collector, the
reset timeout, the payload, and flow interval. Then click Apply.
Figure 3-39 sFlow Port Configuration
CLI
– This example enables sFlow globally, and then enables sampling and sets the
sampling rate for Port 1 (which effectively configures the same sFlow settings for all
port members in Group 1).
Console(config)#interface ethernet 1/1
4-221
Console(config-if)#sflow owner Bobby
4-106
Console(config-if)#sflow destination ipv4 192.168.0.4
4-107
Console(config-if)#sflow timeout 1000
4-106
Console(config-if)#sflow max-header-size 128
4-107
Console(config-if)#sflow max-datagram-size 1400
4-108
Console(config-if)#sflow polling interval 10
4-105
Console(config-if)#end
Console#show flow
4-108
Console#show sflow interface ethernet 1/1
Interface of Ethernet 1/1 :
Interface status : Enabled
Owner name : Bobby
Owner destination : 192.168.0.4
Owner socket port : 6343
Time out : 986
Maximum header size : 128
Maximum datagram size : 1400
Sample rate : 1/10
Polling interval : 10
Console#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......