Average-Packet-Size (Netflow-Lite Monitor 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

average-packet-size (netflow-lite monitor submode)

NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
Note
To specify the average packet size at the observation point in netflow-lite monitor submode, use the
average-packet-size command. To delete a sampler, use the no form of this command.
Syntax Description
average-packer-size
Defaults
0 bytes
Command Modes
netflow-lite exporter submode
Command History
Release
15.0(2)SG
Usage Guidelines
You can enter this command in physical port interface mode, port channel interface, or config VLAN
mode.
The packet sampling mechanism attempts random 1-in-N sampling. Internally, 2 levels of sampling are
performed. The accuracy of the first sampling level depends on the size of the packets arriving at a given
interface. Use the average-packet-size parameter to tune the accuracy of the algorithm.
The system automatically determines the average packet size at an interface based on observation of
input traffic and uses that value in its first level of sampling.
The algorithm requires a range of packet sizes from 64 to 9216 bytes. A value of 0 means that you want
an automatic determination of average packet size.
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)# exporter exporter1
Switch(config-netflow-lite-monitor)# average-packet-size 128
Switch(config-netflow-lite-monitor)# exit
Switch(config-if)# exit
Switch(config)# exit
Switch(config)#
OL-25342 -01
average-packet-size average-packet-size
no average-packet-size average-packet-size
Specifies the average packet size in bytes expected at the observation point.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
average-packet-size (netflow-lite monitor submode)
2-73

Advertisement

Table of Contents
loading

Table of Contents