Cisco Catalyst 3560-X Software Configuration Manual page 1230

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Configuring Flexible NetFlow
Command
Step 3
{ip | ipv6} flow monitor monitor -name
[layer2-switched | multicast | sampler |
unicast] {input | output}
Step 4
exit
Step 5
Repeat steps 2 and 3 to configure
additional cache parameters for the flow
monitor.
Step 6
end
Step 7
show flow interface interface-id
Step 8
show flow monitor name monitor -name
cache
Step 9
copy running-config startup-config
This example shows how to apply a flow monitor to an interface:
Switch(config)# interface gigabitethernet 1/1/2
Switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
Switch(config-if)# ip flow monitor FLOW-MONITOR-2 output
Switch(config-if)# end
This is an example of output from the show flow interface command:
Switch# show flow interface gigabitethernet 1/1/2
Interface Gigabit Ethernet1/1/2
FNF:
FNF:
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-8
Purpose
Activates a previously created flow monitor by assigning it to the
interface to analyze incoming or outgoing traffic.
ip—Enter in records matching IPv4 IP addresses.
ipv6—Enter in records matching IPv6 IP addresses.
Note
layer2-switched—(Optional) Apply the flow monitor on Layer 2
switched traffic.
multicast—(Optional) Apply the flow monitor on multicast traffic.
sampler—(Optional) Apply the flow monitor sampler.
unicast—(Optional) Apply the flow monitor on unicast traffic.
input—Apply the flow monitor on input traffic.
output—Apply the flow monitor on output traffic.
Returns to global configuration mode.
Returns to privileged EXEC mode.
(Optional) Verifies that the Flexible NetFlow is configured on the
interface.
(Optional) Displays data in the flow monitor cache.
(Optional) Saves your entries in the configuration file.
monitor:
FLOW-MONITOR-1
direction:
Input
traffic(ip):
on
monitor:
FLOW-MONITOR-2
direction:
Input
traffic(ipv6):
on
This keyword is visible only when the dual IPv4 and IPv6 Switch
Database Management (SDM) template is configured on the
switch.
Chapter 1
Configuring Flexible NetFlow
OL-25303-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents