2-346
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set mls nde
Defaults The defaults are Netflow Data Export version 7, and all expired flows are exported until the filter is
specified explicitly. Destination ifIndex support and source ifIndex support are enabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you enter any set mls nde commands on a Catalyst6500 series switch without ML S, t his war ni ng
message is displayed:
mls not supported on feature card.
When you try to enable NDE and there are previously configured filtered flows on the switch, this
warning message is displayed:
Console> (enable) set mls nde enable
Netflow export configured for port 80 on host 172.20.25.101
Netflow export enabled.
Warning!! There is a potential statistics mismatch due to existing excluded
protocols.
When you try to add a filter to exclude some protocol packets an d NDE is currently enabled, this warning
message is displayed:
Console> (enable) set mls exclude protocol tcp 80
Netflow tables will not create entries for TCP packets with protocol port
80.
Warning!! There's a potential statistics mismatch due to enabled NDE.
Before you use the set mls nde command for the first time, you must configure the host to collect MLS
statistics. The host name and UDP port number are saved in NVRAM, so you do no t nee d to spec ify
them. If you specify a host name and UDP port, values in NVRAM overwrite the old values. Collector
values in NVRAM do not clear when NDE is disabled because this command configures the collector
but does not enable NDE automatically.
The set mls nde enable command enables NDE, exporting statistics to the preconfigured collector.
If the protocol is not tcp or udp, set the dst-port dst_port and src-port src_port values to 0; otherwise,
no flows are displayed.
If you try to enable NDE without first specifying a collector, you see this displ ay:
Console> (enable) set mls nde enable
Please set host name and UDP port number with ‘set mls nde <collector_name | collector_ip>
<udp_port_number>’.
Console> (enable)
The set mls nde flow command adds filtering to the NDE. Expired flows matching the specified criteria
are exported. These values are stored in NVRAM and do not clear when NDE is disabled. If any option
is not specified in this command, it is treated as a wildcard. The NDE filter in NVRAM does not clear
when NDE is disabled.
Only one filter can be active at a time. If you do not enter the exclude or include keyword, the filter is
assumed to be an inclusion filter.