![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644483.webp)
Flow Sampling Commands
4-105
4
This command configures the packet sampling rate. Use the
no
form to restore the
default rate.
Syntax
sflow sample
rate
no sflow sample
rate
- The packet sampling rate, or the number of packets out of which one
sample will be taken. (Range: 0-10000000, where 0 disables sampling)
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Example
This example sets the sample rate to 1 out of every 100 packets.
This command configures the interval at which counters are added to the sample
datagram. Use the
no
form to restore the default polling interval.
Syntax
sflow polling-interval
seconds
no sflow polling-interval
seconds
- The interval at which the sFlow process adds counter values to
the sample datagram. (Range: 0-10000000 seconds, where 0 disables this
feature)
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Example
This example sets the polling interval to 10 seconds.
Console(config)#interface ethernet 1/9
Console(config-if)#sflow sample 100
Console(config-if)#
Console(config)#interface ethernet 1/9
Console(config-if)#sflow polling-interval 10
Console(config-if)#
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: ......