Specifying A Destination Tcp/Udp Port Filter; Specifying A Source Host And Destination Tcp/Udp Port Filter - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 15
Configuring NDE
This example shows how to specify a destination and source subnet filter so that only expired flows to
subnet 171.69.194.0 from subnet 171.69.173.0 are exported (assuming the flow mask is set to
source-destination-ip):
Console> (enable) set mls nde flow destination 171.69.194.140/24 source 171.69.173.5/24
Netflow Data Export successfully set
Source filter is 171.69.173.0/24
Destination filter is 171.69.194.0/24
Filter type: include
Console> (enable)

Specifying a Destination TCP/UDP Port Filter

To specify a destination TCP/UDP port filter, perform this task in privileged mode:
Task
Specify a destination TCP/UDP port filter
for an NDE flow.
This example shows how to specify a destination TCP/UDP port filter so that only expired flows to
destination port 23 are exported (assuming the flow mask is set to ip-flow):
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
expired flows from host 171.69.194.140 to destination port 23 are exported (assuming the flow mask is
set to ip-flow):
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)
78-13315-02
Command
set mls nde flow dst_prt [port_number]
Command
set mls nde flow source [ip_addr_spec] dst_prt
[port_number]
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Configuring NDE
15-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents