PurposeCommand or Action
When a flow monitor has the collect interface output
as the collect field in the flow record, then the output
interface is detected based on the destination address
in the switch. Hence, for the different flow monitors,
the following are required to be configured:
Note
•
For ipv4 flow monitor, configure "match ip
destination address"
•
For ipv6 flow monitor, configure "match ipv6
destination address"
•
For datalink flow monitor, configure "match
datalink mac output"
The collect interface output field will return a value
of NULL when a flow gets created for any of the
following addresses:
•
L3 broadcast
•
L2 broadcast
•
L3 Multicast
•
L2 Multicast
•
L2 unknown destination.
bytes layer2 long
Switch(config-flow-record)# collect counter
bytes long
Switch(config-flow-record)# collect timestamp
absolute first
Switch(config-flow-record)# collect transport
tcp flags
Switch(config-flow-record)# collect interface output
Returns to privileged EXEC mode.end
Example:
Switch(config-flow-record)# end
Step 6
(Optional) Displays information about NetFlow flow records.
show flow record [name record-name]
Step 7
Example:
Switch show flow record test
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 8
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
522
How to Configure NetFlow Lite