datalink flow monitor
To apply a Flexible NetFlow flow monitor to an interface, use the datalink flow monitor command in interface
configuration mode. To disable a Flexible NetFlow flow monitor, use the no form of this command.
datalink flow monitor monitor-name {input| output| sampler sampler-name}
no datalink flow monitor monitor-name {input| output| sampler sampler-name}
Syntax Description
Name of the flow monitor to apply to the interface.
monitor-name
Enables the specified flow sampler for the flow monitor.
sampler sampler-name
Monitors traffic that the switch receives on the interface.input
Monitors traffic that the switch sends on the interface.output
Command Default
A flow monitor is not enabled.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE
Usage Guidelines
Before you apply a flow monitor to an interface with the datalink flow monitor command, you must have
already created the flow monitor using the flow monitor global configuration command and the flow sampler
using the sampler global configuration command.
To enable a flow sampler for the flow monitor, you must have already created the sampler.
The datalink flow monitor command only monitors non-IPv4 and non-IPv6 traffic. To monitor IPv4
traffic, use the ip flow monitor command. To monitor IPv6 traffic, use the ipv6 flow monitor command.
Note
Examples
This example shows how to enable Flexible NetFlow datalink monitoring on an interface:
Device(config)# interface gigabitethernet1/0/1
Device(config-if)# datalink flow monitor FLOW-MONITOR-1 sampler FLOW-SAMPLER-1 input
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
419
datalink flow monitor