EasyManua.ls Logo

Cisco WS-C6506 - Specifying a Destination Host Filter; Specifying a Destination and Source Subnet Filter; Specifying a Destination TCP;UDP Port Filter

Cisco WS-C6506
1488 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
16-13
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 16 Configuring NDE
Configuring NDE on the Switch
Specifying a Destination Host Filter
To specify a destination host filter, perform this task in privileged mode:
This example shows how to specify a destination host filter so that only the expired flows to host
171.69.194.140 are exported:
Console> (enable) set mls nde flow destination 171.69.194.140
Netflow Data Export successfully set
Destination filter is 171.69.194.140/255.255.255.255
Filter type: include
Console> (enable)
Specifying a Destination and Source Subnet Filter
To specify a destination and source subnet filter, perform this task in privileged mode:
This example shows how to specify a destination and source subnet filter so that only the expired flows
to subnet 171.69.194.0 from subnet 171.69.173.0 are exported (assuming that 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 Command
Specify a destination host filter for an
NDE flow.
set mls nde flow destination [ip_addr_spec]
Task Command
Specify a destination and source subnet
filter for an NDE flow.
set mls nde flow destination [ip_addr_spec] source
[ip_addr_spec]
Task Command
Specify a destination TCP/UDP port filter
for an NDE flow.
set mls nde flow dst-prt [port_number]

Table of Contents

Related product manuals