Cisco 6500 Series Software Configuration Manual page 486

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring NDE
Configuring Sampled NetFlow Globally
To configure sampled NetFlow globally, perform this task:
Command
Step 1
Router(config)# mls sampling {time-based rate |
packet-based rate [interval]}
Router(config)# no mls sampling
Step 2
Router(config)# end
When you configure sampled NetFlow globally, note the following:
See the
Configuring Sampled NetFlow on a Layer 3 Interface
Note
To configure sampled NetFlow on a Layer 3 interface, perform this task:
Command
Step 1
Router(config)# interface {vlan vlan_ID |
1
type
slot/port}
Step 2
Router(config-if)# mls netflow sampling
Router(config-if)# no mls netflow sampling
Step 3
Router(config)# end
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to enable sampled NetFlow on Fast Ethernet port 5/12:
Router# configure terminal
Router(config)# interface fastethernet 5/12
Router(config-if)# mls netflow sampling
Router(config)# end
Router#
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
33-12
The valid values for rate are 64, 128, 256, 512, 1024, 2048, 4096, and 8192.
The valid values for the packet-based export interval are from 4000 through 16,000.
"Sampled NetFlow" section on page 33-6
With the full-interface or destination-source-interface flow masks, you can enable or disable
sampled NetFlow on individual Layer 3 interfaces. With all other flow masks, sampled NetFlow is
enabled or disabled globally.
The Layer 3 interface must be configured with an IP address.
Purpose
Enables sampled NetFlow and configures the rate. For
packet-based sampling, optionally configures the export
interval.
Clears the sampled NetFlow configuration.
Exits configuration mode.
for more information.
Purpose
Selects an interface to configure.
Enables sampled NetFlow on the interface.
Disables sampled NetFlow on the interface.
Exits configuration mode.
Chapter 33
Configuring NDE
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents