2-609
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
sampler (netflow-lite monitor submode)
sampler (netflow-lite monitor submode)
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To activate sampling on an interface in netflow-lite monitor submode, use the sampler command. To
delete a sampler, use the no form of this command.
sampler sampler-name
no sampler sampler-name
Syntax Description
Defaults None
Command Modes netflow-lite exporter submode
Command History
Usage Guidelines You can enter this command under the physical port interface mode, port channel interface, or config
VLAN mode.
Examples The following example shows how to configure a monitor on a port interface Gigabit 1/3:
Switch# config terminal
Switch(config)# int GigabitEthernet1/3
Switch(config-if)# netflow-lite monitor 1
Switch(config-netflow-lite-monitor)# sampler sampler1
Switch(config-netflow-lite-monitor)# average-packet-size 128
Switch(config-netflow-lite-monitor)# exporter exporter1
Switch(config-netflow-lite-monitor)# exit
Switch(config-if)# exit
Switch(config)# exit
Switch# show netflow-lite monitor 1 interface gi1/3
Interface GigabitEthernet1/3:
Netflow-lite Monitor-1:
Sampler: sampler1
Exporter: exporter1
Average Packet Size: 128
Statistics:
Packets exported: 0
Packets observed: 0
Packets dropped: 0
sampler-name Specifies a sampler.
Release Modification
15.0(2)SG Support for this command was introduced on the Catalyst 4500 series switch.