2-501
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-section size (netflow-lite sampler submode)
packet-section size (netflow-lite sampler submode)
Note NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
To specify a sampled header size in netflow-lite submode, use the packet-section size command. To
store the default, use the no form of this command.
packet-section size bytes
no packet-section size bytes
Syntax Description
Defaults 64 bytes
Command Modes netflow-lite exporter submode
Command History
Usage Guidelines Default packet section size is 64 bytes which normally would cover Layer 2, Layer 3, and Layer 4
headers for an input IPv4 packet.
Examples This example shows how to specify a sampled header size:
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#
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.
bytes Specifies the sampled header size. Size ranges from 16 to 252 bytes in
increments of 4 bytes.
Release Modification
15.0(2)SG Support for this command was introduced on the Catalyst 4500 series switch.