2-497
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
packet-offset (netflow-lite sampler submode)
packet-offset (netflow-lite sampler submode)
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To specify a starting packet offset in netflow-lite submode, use the packet-offset command. To reset to
the default, use the no form of this command.
packet-offset offset
no packet-offset offset
Syntax Description
Defaults starts at byte 0 of L2 header
Command Modes netflow-lite exporter submode
Command History
Usage Guidelines Default packet section offset value is 0. The packet section extracted from the sampled packet start at
offset 0 of the packet.
Examples This example shows how to specify a starting packet offset:
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# show netflow-lite sampler sampler1
Netflow-lite Sampler sampler1:
Id : 1
Packet Sampling rate: 1 out of 32
Packet Section Size: 64 bytes
Packet offset: 16 bytes
You can verify your settings with the show netflow-lite sampler privileged EXEC command.
offset Specifies the starting packet offset in bytes (maximum of 48).
Release Modification
15.0(2)SG Support for this command was introduced on the Catalyst 4500 series switch.