16-9
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 16 Configuring NDE
Configuring NDE on the Switch
Specifying an NDE Collector
Before enabling NDE for the first time, you must specify an NDE collector and UDP port to receive the
exported statistics. The collector address and UDP port number are saved in NVRAM and are preserved
if NDE is disabled and reenabled or if the switch is power cycled.
Note
If you are using the NetFlow FlowCollector application for data collection, verify that the UDP port
number that you specify is the same port number that is shown in the FlowCollector’s nfconfig.file. This
file is located at /opt/csconfc/config/nfconfig.file in the FlowCollector application.
With software release 8.3(1) and later releases, the dual destination feature allows NetFlow export data
to be sent to two destinations simultaneously. With this enhancement, you can set up two unique
collectors. The same NetFlow data is exported to both destinations. However, the count of the packets
to the two collectors may differ depending on the time that the two destinations were created. The count
of the packets sent to the individual collectors is maintained separately. The other NetFlow parameters
for both the destinations are the same.
NDE cannot be enabled unless a collector is set up. You should set up both the primary and secondary
destinations before enabling NDE.
The secondary destination IP address and port number cannot be identical to the primary destination IP
address and port number.
To specify an NDE collector, perform this task in privileged mode:
This example shows how to specify an NDE collector when no other collectors have been configured:
Console> (enable)
set mls nde 10.6.1.10 7772
Number of collectors configured is 1
Netflow export configured for port 7772 on host 10.6.1.10
Netflow export is not enabled. Please enable it now.
Console> (enable)
This example shows how to specify an NDE collector when one collector has already been configured:
Console> (enable)
set mls nde 10.6.1.10 7775
Number of collectors configured is 2
Netflow export configured for port 7775 on host 10.6.1.10
Netflow export is not enabled. Please enable it now.
Console> (enable)
Task
Command
Specify an NDE collector and UDP port for
data export of hardware-switched packets.
set mls nde
{
collector_ip | collector_name
}
{
udp_port_number
}