Specifying A Source Host And Destination Tcp/Udp Port Filter; Specifying A Protocol Filter; Specifying Protocols For Statistics Collection - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

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:
Task
Specify a source host and destination
TCP/UDP port filter for an NDE flow.
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:
Task
Specify a protocol filter for an NDE
flow.
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.
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
16-14
Command
set mls nde flow source [ip_addr_spec] dst-prt
[port_number]
Command
set mls nde flow protocol protocol
Chapter 16
Configuring NDE
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents