Chapter 51
Configuring NDE
Configuring NetFlow Flow Sampling on a Layer 3 Interface
Note
•
•
To configure NetFlow flow sampling on a Layer 3 interface, perform this task:
Command
Step 1
Router(config)# interface {vlan vlan_ID |
type slot/port }
Step 2
Router(config-if)# mls netflow sampling
Router(config-if)# no mls netflow sampling
Step 3
Router(config)# end
This example shows how to enable NetFlow flow sampling 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#
Configuring NDE on the MSFC
These sections describe how to configure NDE on the MSFC:
•
•
•
Configuring the MSFC NDE Source Layer 3 Interface
To configure the Layer 3 interface used as the source of the NDE packets containing statistics from the
MSFC, perform this task:
Command
Router(config)# ip flow-export source {{vlan vlan_ID }
| { type slot/port } | {port-channel number } |
{loopback number }}
Router(config)# no ip flow-export source
When configuring the MSFC NDE source Layer 3 interface, note the following information:
•
OL-4266-08
With the full-interface or destination-source-interface flow masks, you can enable or disable
NetFlow flow sampling on individual Layer 3 interfaces. With all other flow masks, NetFlow flow
sampling is enabled or disabled globally.
The Layer 3 interface must be configured with an IP address.
Configuring the MSFC NDE Source Layer 3 Interface, page 51-13
Configuring the NDE Destination, page 51-14
Configuring Netflow Flow Sampling, page 51-14
You must select an interface configured with an IP address.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Purpose
Selects a Layer 3 interface to configure.
Enables NetFlow flow sampling on the Layer 3 interface.
Disables NetFlow flow sampling on the Layer 3 interface.
Exits configuration mode.
Purpose
Configures the interface used as the source of the NDE
packets containing statistics from the MSFC.
Clears the NDE source interface configuration.
Configuring NDE
51-13