Cisco Systems EA6500 Manual De Usuario

Descargar
Página de 570
 
33-12
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 33      Configuring NDE
Configuring NDE
Configuring Sampled NetFlow Globally
To configure sampled NetFlow globally, perform this task:
When you configure sampled NetFlow globally, note the following:
  •
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.
See the 
 for more information.
Configuring Sampled NetFlow on a Layer 3 Interface
Note
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.
To configure sampled NetFlow on a Layer 3 interface, perform this task:
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#
Command
Purpose
Step 1
Router(config)# mls sampling {time-based rate | 
packet-based
 rate [interval]} 
Enables sampled NetFlow and configures the rate. For 
packet-based sampling, optionally configures the export 
interval.
Router(config)# no mls sampling 
Clears the sampled NetFlow configuration.
Step 2
Router(config)# end 
Exits configuration mode.
Command
Purpose
Step 1
Router(config)# interface {vlan vlan_ID | 
type
1
 slot/port}
1.
type = ethernetfastethernetgigabitethernet, or tengigabitethernet
Selects an interface to configure. 
Step 2
Router(config-if)# mls netflow sampling 
Enables sampled NetFlow on the interface.
Disables sampled NetFlow on the interface.
Router(config-if)# no mls netflow sampling 
Step 3
Router(config)# end 
Exits configuration mode.