2-417
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls nde
set mls nde
To configure the NetFlow Data Export (NDE) feature in the Catalyst6500 series switches to allow
command-exporting statistics to be sent to the preconfigured collector, use the set mls nde command.
set mls nde {enable | disable}
set mls nde {collector_ip | collector_name} {udp_port_num}
set mls nde version {1 | 5 | 7 | 8}
set mls nde flow [exclude | include] [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol] [src-port src_port] [dst-port dst_port]
set mls nde {destination-ifindex | source-ifindex} {enable | disable}
Syntax Description enable Enables NDE.
disable Disables NDE.
collector_ip IP address of the collec to r if D N S i s en ab led.
collector_name Name of the collector if DNS is enabled.
udp_port_num Number of the UDP port to receive the exported statistics.
version Specifies the version of the NDE; valid versions are 1, 5, 7, and 8.
1 | 5 | 7 | 8Version of the NDE feature.
flow Adds filtering to NDE.
exclude (Optional) Allows exporting of all flows except the flows matching the given
filter.
include (Optional) Allows exporting of all flows matching the given filter.
destination (Optional) Specifies the destination IP address.
ip_addr_spec (Optional) Full IP address or a subnet address in thes e for mat s: ip_ addr,
ip_addr/netmask, or ip_addr/maskbit.
source (Optional) Specifies the source IP address.
protocol (Optional) Specifies the protocol type.
protocol (Optional) Protocol type; valid values can be a number from 0 to 255 or ip,
ipinip, icmp, igmp, tcp, or udp. 0 indicates “do not care.”
src-port src_port (Optional) Specifies the number of the TCP/UDP source port (decimal). Used
with dst-port to specify the port pair if the protocol is tcp or udp. 0 indicates
“do not care.”
dst-port dst_port (Optional) Specifies the number of the TCP/UDP destination port (decimal).
Used with src-port to specify the port pair if the protocol is tcp or udp. 0
indicates “do not care.”
destination-ifindex Specifies destination ifIndex support.
source-ifindex Specifies source ifIndex support.
enable Enables ifIndex support.
disable Disables ifIndex support.