16-12
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 16 Configuring NDE
Configuring NDE on the Switch
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)
Enabling and Disabling Bridged-Flow Statistics on VLANs
Note
This feature is supported on the Supervisor Engine 1 or 1A/PFC, Supervisor Engine 2/PFC2 and no
MSFC/MSFC2 is required. This feature is not supported on the Supervisor Engine 720 or Supervisor
Engine 32.
Use the
set mls bridged-flow-statistics
command to enable or disable the bridged-flow statistics for the
specified VLANs. You can enter one or multiple VLANs.
Note
You can enable NetFlow table entry creation on a per-VLAN basis. However, because the bridged-flow
statistics and per-VLAN entry creation use the same mechanism for collecting the statistics, the VLAN
entries may overlap. See the
“Specifying NetFlow Table Entry Creation on a Per-Interface Basis” section
on page 13-28
.
To enable or disable the bridged-flow statistics for a VLAN or for a range of VLANs, perform this task
in privileged mode:
This example shows how to enable the bridged-flow statistics on the specified VLANs:
Console> (enable)
set mls bridged-flow-statistics enable 1,20-21
Netflow statistics is enabled for bridged packets on vlan(s) 1,20-21.
Console>
show mls nde
Netflow Data Export version: 7
Netflow Data Export enabled
Netflow Data Export configured for port 9991 on host 21.0.0.1
Total packets exported = 0
Bridged flow statistics is enabled on vlan(s) 1,20-21.
Console>
Task
Command
Enable or disable the bridged-flow statistics for
a VLAN or for a range of VLANs.
set mls bridged-flow-statistics
{
enable
|
disable
}
{
vlanlist
}