SUMMARY STEPS
1.
configure terminal
2.
flow record name
3.
description string
4.
match type
5.
collect type
6.
end
7.
show flow record [name record-name]
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Creates a flow record and enters flow record configuration
mode.
flow record name
Example:
Switch(config)# flow record test
Step 2
Switch(config-flow-record)#
(Optional) Describes this flow record as a maximum
63-character string.
description string
Example:
Switch(config-flow-record)# description
Step 3
Ipv4Flow
Specifies a match key.
match type
Step 4
Example:
Switch(config-flow-record)# match ipv4 source
address
Switch(config-flow-record)# match ipv4
destination address
Switch(config-flow-record)# match flow
direction
Specifies the collection field.
collect type
Step 5
Example:
Switch(config-flow-record)# collect counter
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
521
How to Configure NetFlow Lite