This command clears the statistics for a specified unit/slot/port, for all the ports, or for an interface on a VLAN based on the argument, including the loop protection counters. The command accepts up to 255 character length ACL names. If a virtual router is specified, the statistics for the ports on the virtual router are cleared. If no router is specified, the information for the default router will be displayed.
Format | clear counters {unit/slot/port | all [vrf vrf-name] | vlan id} |
Mode | Privileged EXEC |