Switch Management Commands 2081Exampleconsole(config-if-Gi1/0/2)#sflow 1 polling 6055sflow samplingUse the sflow sampling command to enable a new sflow sampler instance forthis data source if rcvr_idx is valid. An sflow sampler collects flow samples tosend to the receiver. Use the “no” form of this command to reset samplerparameters to the default.Syntaxsflow rcvr-index sampling {gigabitethernet | tengigabitethernet |fortygigabitethernet} interface-list sampling-rate [size]no sflow rcvr-index sampling {gigabitethernet | tengigabitethernet |fortygigabitethernet} interface-list• rcvr-index — The sFlow Receiver for this sFlow sampler to which flowsamples are to be sent. If no receiver is configured, then no packets willbe sampled. Only active receivers can be set. If a receiver times out, thenall samplers associated with the receiver will also expire. (Range: 1–8).• interface-list — The list of interfaces to poll in unit/slot/port format.• sampling-rate — The statistical sampling rate for packet sampling fromthis source. A value of n means that out of n incoming packets, 1 packetwill be sampled. (Range: 1024–65536).• size — The maximum number of bytes that should be copied from thesampler packet (Range: 20–256 bytes).Default ConfigurationThere are no samplers configured by default.The default is no default sampling rate.The default size is 128.Command ModeGlobal Configuration mode.