15-8
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 15 Configuring NDE
Configuring NDE
Specifying a Protocol Filter
To specify a protocol filter, perform this task in privileged mode:
This example shows how to specify a protocol filter so that only expired flows from protocol 17 are
exported:
Console> (enable)
set mls nde flow protocol 17
Netflow Data Export filter successfully set.
Protocol filter is 17
Filter type: include
Console> (enable)
Specifying Protocols for Statistics Collection
You can enter the
set mls statistics protocol
protocol port
command to specify up to 64 different
protocols for which to collect statistics to be exported using NDE. The
protocol
argument can be
ip
,
ipinip
,
icmp
,
igmp
,
tcp
, and
udp
, or a decimal number for other protocol families. The
port
argument
specifies the protocol port.
To specify 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 other protocol families. The
port
argument specifies the
protocol port. Use the
all
keyword to remove all protocols for statistics collection.
To remove protocols for statistics collection, perform this task in privileged mode:
Task
Command
Specify a protocol filter for an NDE
flow.
set mls nde flow protocol
protocol
Task
Command
Specify protocols for statistics
collection.
set mls statistics protocol
protocol port
Task
Command
Remove protocols for statistics
collection.
clear mls statistics protocol
{
protocol port
|
all
}