Configuring NDE
Configuring a Host and Port Filter
To configure a host and TCP/UDP port flow filter, perform this task:
Command
Router(config)# mls nde flow {exclude | include}
{destination ip_address mask | source ip_address mask
{dest-port number | src-port number}}
Router(config)# no mls nde flow {exclude | include}
This example shows how to configure a source host and destination TCP/UDP port flow 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):
Router(config)# mls nde flow exclude destination 2.2.2.2 255.255.255.0 dest-port 23
Configuring a Host Flow Filter
To configure a destination or source host flow filter, perform this task:
Command
Router(config)# mls nde flow {exclude | include}
{destination ip_address mask | source ip_address mask
| protocol {tcp {dest-port number | src-port number}
| udp {dest-port number | src-port number}}
Router(config)# no mls nde flow {exclude | include}
This example shows how to configure a host flow filter to include and export only destinations to host
172.20.52.37:
Router(config)# mls nde flow include destination 172.20.52.37 255.255.255.224
Router(config)#
Configuring a Protocol Flow Filter
To configure a protocol flow filter, perform this task:
Command
Router(config)# mls nde flow {exclude | include}
protocol {tcp {dest-port number | src-port number} |
udp {dest-port number | src-port number}}
Router(config)# no mls nde flow {exclude | include}
This example shows how to configure a TCP protocol flow filter so that only expired flows from
destination port 35 are exported:
Router(config)# mls nde flow include protocol tcp dest-port 35
Router(config)#
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
33-16
Purpose
Configures a host and port flow filter for an NDE flow.
Clears the port flow filter configuration.
Purpose
Configures a host flow filter for an NDE flow.
Clears port filter configuration.
Purpose
Configures a protocol flow filter for an NDE flow.
Clears port filter configuration.
Chapter 33
Configuring NDE
78-14064-04