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

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

packet-rate (netflow-lite sampler submode)

NetFlow-lite is only supported on the Catalyst 4948E and Catalyst 4948E-F Ethernet switches.
Note
To specify a packet sampling rate in netflow-lite sampler submode, use the packet rate command. To
delete a packet sampling rate, use the no form of this command.
Syntax Description
n
Defaults
None
Command Modes
netflow-lite exporter submode
Command History
Release
15.0(2)SG
Usage Guidelines
Packet sampling rate can range from 32 to 2^15 in powers of 2. A rate of 1 is allowed for trouble shooting
(equivalent to rx span) only for two 1Gigabit Ethernet ports. You cannot configure a rate of 1 on 10
Gigabit Ethernet ports because the bandwidth demand for export is too high.
This is a mandatory parameter. Up to 2 x 1 Gigabit Ethernet ports can be configured with 1-in-1
sampling. The best packet sampling rate that can be configured on any 1 Gigabit or 10 Gigabit Ethernet
port is 1-in-32. Packet sampling rates can be configured in powers of 2 (1-in-64, 1-in-128, etc).
Examples
This example shows how to specify a packet sampling rate in netflow-lite sampler submode:
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 :
Packet Sampling rate:
Packet Section Size:
Packet offset:
OL-27596 -01
packet rate n
no packet rate n
Specifies the packet sampling rate.
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.4.0SG and IOS 15.1(2)SG)
bytes
bytes
packet-rate (netflow-lite sampler submode)
2-499

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents