Configuring a Bridged NetFlow on a VLAN
You can apply a flow monitor and an optional sampler to a VLAN.
SUMMARY STEPS
1.
configure terminal
2.
vlan
[
configuration
]
vlan-id
3.
interface
{
vlan
}
vlan-id
4.
ip flow monitor monitor name
[
sampler sampler name
] {
input
|
output
}
5.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Enters VLAN or VLAN configuration mode.
vlan
[
configuration
]
vlan-id
Step 2
Example:
Switch(config)#
vlan configuration 30
Switch(config-vlan-config)#
Specifies the SVI for the configuration.
interface
{
vlan
}
vlan-id
Step 3
Example:
Switch(config)#
interface vlan 30
Associates a flow monitor and an optional sampler
to the VLAN for input or output packets.
ip flow monitor monitor name
[
sampler sampler name
] {
input
|
output
}
Step 4
Example:
Switch(config-vlan-config)#
ip flow monitor
MonitorTest input
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 5
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
531
How to Configure NetFlow Lite
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......