2-491
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
netflow-lite sampler
netflow-lite sampler
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To configure packet sampling parameters as a reusable named entity and to enter netflow-lite sampler
submode, use the netflow-lite sampler command. To delete the sampler, use the no form of this
command.
netflow-lite sampler name
no netflow-lite sampler name
Syntax Description
Defaults None
Command Modes global configuration mode
Command History
Usage Guidelines The sampler CLI construct allows the user to configure the rate at which input packets are to be sampled.
Packet sampling rate can range from 32 to 2^15 in powers of 2. A sampling rate of 1 is allowed for
troubleshooting for up to two 1 Gigabit ports only and is essentially equivalent to rx span. It cannot be
configured on 10GE ports because the bandwidth demand on the fpga for export is too high.
Mandatory parameters are packet rate.
You can update a sampler in use at a target interface, but you cannot remove or unconfigure mandatory
parameters.
All mandatory parameters must be present to validate a sampler. Any unspecified non-mandatory
parameters take on default values.
Examples This example shows how to configure packet sampling parameters as a reusable named entity and to
display the sampler:
Switch# config terminal
Switch(config)# netflow-lite sampler sampler1
Switch(config-netflow-lite-sampler)# packet-rate 32
Switch(config-netflow-lite-sampler)# packet-section size 128
Switch(config-netflow-lite-sampler)# packet-offset 16
Switch(config-netflow-lite-sampler)# exit
Switch(config)# exit
Switch#
name Specifies a sampler.
Release Modification
15.0(2)SG Support for this command was introduced on the Catalyst 4500 series switch.