38-6
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter38 Configuring NetFlow
Configuring NetFlow Statistics Collection
The following example shows the CLI output for a specific VLAN:
cat4k-sup4-2# sh vlan counters or show vlan id 22 count
* Multicast counters include broadcast packets
Vlan Id :22
L2 Unicast Packets :38
L2 Unicast Octets :2432
L3 Input Unicast Packets :14344621
L3 Input Unicast Octets :659852566
L3 Output Unicast Packets :8983050
L3 Output Unicast Octets :413220300
L3 Output Multicast Packets :0
L3 Output Multicast Octets :0
L3 Input Multicast Packets :0
L3 Input Multicast Octets :0
L2 Multicast Packets :340
L2 Multicast Octets :21760
Note NetFlow support has hardware limitations that restrict the platform support to a subset of all NetFlow
fields. Specifically, TCP Flags and the ToS byte (DSCP) are not supported.
Configuring NetFlow Statistics Collection
To configure NetFlow switching, complete the tasks in these sections:
Checking for Required Hardware, page 38-6
Enabling NetFlow Statistics Collection, page 38-7
Configuring Switched/Bridged IP Flows, page 38-8
Exporting NetFlow Statistics, page 38-9
Managing NetFlow Statistics Collection, page 38-9
Configuring an Aggregation Cache, page 38-10
Configuring a NetFlow Minimum Prefix Mask for Router-Based Aggregation, page 38- 11
Configuring NetFlow Aging Parameters, page 38-12

Checking for Required Hardware

To ensure that the necessary hardware is enabled, enter the show module command, as follows:
Switch# show module all
Chassis Type : WS-C4507R
Power consumed by backplane : 40 Watts
Mod Ports Card Type Model
Serial No.
---+-----+--------------------------------------+------------------+-----------
1 2 1000BaseX (GBIC) Supervisor(active) WS-X4515
JAB062604KB
2 2 1000BaseX (GBIC) Supervisor(standby) WS-X4515
JAB062408CB
6 48 10/100BaseTX (RJ45) WS-X4148
JAB032305UH