2-66
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear mls statistics
clear mls statisticsTo 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 MAC-VLAN pairs on the router.
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 removed immedi ate ly from t he
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)
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.