To clear line counters, use the clear counters line EXEC command.
clear counters line {type | number}
type  Type of line you want to clear. Replace the type argument with one of the following: aux , console , tty , or vty .
number  Specifies the first line number to clear, which can be between 0 and 54.
Disabled
EXEC
Release | Modification | 11.2 P | This command was introduced. |
---|
This command clears the line counters shown by the show linecommand.
The following example shows the available options under the clear counters line command. When you issue this command, the counters (for example, Uses and Noise) displayed by the show line command are cleared.
router# clear counters line ? <0-54> First Line number aux Auxiliary line console Primary terminal line tty Terminal controller vty Virtual terminal router# exit router> show line Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns * 0 CTY - - - - - 0 4 0/0 A 1 TTY 115200/115200 - inout - - - 1 0 0/0 A 2 TTY 115200/115200 - inout - - - 1 0 0/0 A 3 TTY 115200/115200 - inout - - - 1 0 0/0 * 4 TTY 115200/115200 - inout - - - 0 0 0/0 * 5 TTY 115200/115200 - inout - - - 0 0 0/0 * 6 TTY 115200/115200 - inout - - - 0 0 0/0 * 7 TTY 115200/115200 - inout - - - 0 0 0/0 * 8 TTY 115200/115200 - inout - - - 0 0 0/0 * 9 TTY 115200/115200 - inout - - - 0 0 0/0 * 10 TTY 115200/115200 - inout - - - 0 0 0/0 * 11 TTY 115200/115200 - inout - - - 0 0 0/0 * 12 TTY 115200/115200 - inout - - - 0 0 0/0 * 13 TTY 115200/115200 - inout - - - 0 0 0/0 * 14 TTY 115200/115200 - inout - - - 0 0 0/0 * 15 TTY 115200/115200 - inout - - - 0 0 0/0 A 16 TTY 115200/115200 - inout - - - 1 0 0/0 A 17 TTY 115200/115200 - inout - - - 1 0 0/0 A 18 TTY 115200/115200 - inout - - - 1 0 0/0 A 19 TTY 115200/115200 - inout - - - 1 0 0/0 A 20 TTY 115200/115200 - inout - - - 1 0 0/0 A 21 TTY 115200/115200 - inout - - - 1 0 0/0
Command | Description |
---|---|
show line | Displays the parameters of a terminal line. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.