16-14
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 16 Configuring NDE
Configuring NDE on the Switch
This example shows how to specify a destination TCP/UDP port filter so that only the expired flows to
destination port 23 are exported (the flow mask is set to full):
Console> (enable)
set mls nde flow dst-port 23
Netflow Data Export successfully set
Destination port filter is 23
Filter type: include
Console> (enable)
Specifying a Source Host and Destination TCP/UDP Port Filter
To specify a source host and destination TCP/UDP port filter, perform this task in privileged mode:
This example shows how to specify a source host and destination TCP/UDP port filter so that only the
expired flows from host 171.69.194.140 to destination port 23 are exported (the flow mask is set to full):
Console> (enable)
set mls nde flow source 171.69.194.140 dst-port 23
Netflow Data Export successfully set
Source filter is 171.69.194.140/255.255.255.255
Destination port filter is 23
Filter type: include
Console> (enable)
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 the 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 the other protocol families. The
port
argument specifies the protocol port.
Task
Command
Specify a source host and destination
TCP/UDP port filter for an NDE flow.
set mls nde flow source
[
ip_addr_spec
]
dst-prt
[
port_number
]
Task
Command
Specify a protocol filter for an NDE
flow.
set mls nde flow protocol
protocol