Resetting system functions

About this task

Reset system functions to reset all statistics counters on the console port. Depending on your hardware platform, the console port displays as console or 10101.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Reset system functions:

    sys action reset {console|counters}

Example

Switch:1> enable

Reset the statistics counters:

Switch:1# sys action reset counters

Are you sure you want to reset system counters (y/n)? y

Variable Definitions

The following table defines parameters for the sys action command.

Variable

Value

reset {console|counters}

Reinitializes the hardware universal asynchronous receiver transmitter (UART) drivers. Use this command only if the console connection does not respond. Resets all the statistics counters in the switch to zero. Resets the console port.