16-15
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 16 Configuring NDE
Configuring NDE on the Switch
To specify the protocols for statistics collection, perform this task in privileged mode:
This example shows how to specify a protocol for statistics collection:
Console> (enable) set mls statistics protocol 17 1934
Protocol 17 port 1934 is added to protocol statistics list.
Console> (enable)
Removing Protocols for Statistics Collection
You can enter the clear mls statistics protocol {protocol port | all} command to specify up to
64 different protocols for which to collect statistics to be exported using NDE. The protocol argument
can be tcp, udp, icmp, or a decimal number for the other protocol families. The port argument specifies
the protocol port. Use the all keyword to remove all the protocols for statistics collection.
To remove the protocols for statistics collection, perform this task in privileged mode:
This example shows how to remove a protocol for statistics collection:
Console> (enable) clear mls statistics protocol 17 1934
Protocol 17 port 1934 cleared from protocol statistics list.
Console> (enable)
Clearing the NDE Flow Filter
To clear the NDE flow filter and reset the filter to the default (all flows exported), perform this task in
privileged mode:
Task Command
Specify the protocols for statistics
collection.
set mls statistics protocol protocol port
Task Command
Remove the protocols for statistics
collection.
clear mls statistics protocol {protocol port | all}
Task Command
Clear the NDE flow filter. clear mls nde flow