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