15-6
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 15 Configuring NDE
Configuring NDE
Enabling NDE
To enable NDE, perform this task in privileged mode:
This example shows how to enable NDE on the switch:
Console> (enable)
set mls nde enable
Netflow data export enabled.
Netflow data export to port 9996 on 172.20.15.1 (Stargate)
Console> (enable)
If you attempt to enable NDE without first specifying a collector, you see this display:
Console> (enable)
set mls nde enable
Please set host name and UDP port number with ‘set mls nde <collector_ip>
<udp_port_number>’.
Console> (enable)
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 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:
Task
Command
Enable NDE on the switch.
set mls nde enable
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
]