Packet-Offset (Netflow-Lite Sampler Submode) - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

packet-offset (netflow-lite sampler submode)

NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
Note
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.
Syntax Description
offset
Defaults
starts at byte 0 of L2 header
Command Modes
netflow-lite exporter submode
Command History
Release
15.0(2)SG
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 :
Packet Sampling rate:
Packet Section Size:
Packet offset:
You can verify your settings with the show netflow-lite sampler privileged EXEC command.
OL-25342 -01
packet-offset offset
no packet-offset offset
Specifies the starting packet offset in bytes (maximum of 48).
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
1
1 out of 32
64
16
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
bytes
bytes
packet-offset (netflow-lite sampler submode)
2-475

Advertisement

Table of Contents
loading

Table of Contents