2-59
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls statistics
clear mls statistics
To clear hardware-installed MLS statistics entries, use the clear mls statistics command.
clear mls statistics
clear mls statistics protocol {protocol port} | all
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines To use a router as an MLS, you must meet these conditions:
The router must be included (either explicitly or automatically) in the MLS-SE.
The MLS feature must be enabled in the Catalyst6500 series switches.
Catalyst 6500 series switches must know the router’s MAC-VLAN pairs.
If you enter any of the clear mls statistics commands on a Catalyst 6500 series switch without MLS,
this warning message displays:
Feature not supported in hardware.
When you remove an MSM from the Catalyst 6500 series switch, it is rem oved immedi atel y from th e
inclusion list and all the MLS entries for the MSM are removed.
Examples This example shows how to clear IP MLS statistics, including total packets switched and total packets
exported (for NDE):
Console> (enable) clear mls statistics
Netflow data export statistics cleared.
Console> (enable)
This example shows how to clear protocol 17, port 19344 from the statistics collection:
Console> (enable) clear mls statistics protocol 17 19344
Protocol 17 port 1934 cleared from protocol statistics list.
Console> (enable)
statistics Clears total packets switched and total packets exported (for NDE).
statistics protocol Clears protocols for statistics collection.
protocol Number of the protocol in the protocol statistics list.
port Number of the port.
all Clears all entries from the statistics protocol list.