Command:

show line

Mode:

Router>


Syntax:

show line [line-number | aux number | console number | tty number | vty number]


Syntax Description:
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal
line-number The line number to be shown

Command Description:

To display the parameters of a terminal line, use the show line EXEC command.


Example:

The following sample output from the show line command shows that line 17 is a virtual terminal line with a transmit and receive rate of 9600 bps. Also shown is the modem state, terminal screen width and length, and so on.

Router#show line 17

Tty Typ     Tx/Rx     A Modem  Roty AccO AccI  Uses    Noise   Overruns
A 17 VTY   9600/9600   -    -      -    -    -     1        0        0/0

Line 17, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600
Status: Ready, Connected, Active, No Exit Banner, Async interface active
Capabilities: Line usable as async interface
Modem state: Ready
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
                never         never                        none     not set
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
Full user help is disabled
Allowed transports are lat telnet rlogin mop.  Preferred is lat.
No output characters are padded
No special data dispatching characters

Line is running SLIP routing for address 1.0.0.2.
0 output packets queued, 0 input packets.
Group codes:    0

The table describes the fields in the show line output. 

 

Table: Show Line Field Descriptions

Field Description

Tty

Line number. In this case, 17.

Typ

Type of line. In this case, a virtual terminal line (VTY), which is active, in asynchronous mode denoted by the preceding `A.' Other possible values are:

  •  

  • CTY---console
  • AUX---auxiliary port
  • TTY---asynchronous terminal port
  • lpt---parallel printer

     

Tx/Rx

Transmit rate/receive rate of the line.

A

Indicates whether autobaud has been configured for the line. A value of F indicates that autobaud has been configured; a hyphen indicates that it has not been configured.

Modem

Types of modem signals that have been configured for the line. Possible values include

  •  

  • callin
  • callout
  • cts-req
  • DTR-Act
  • inout
  • RIisCD

     

Roty

Rotary group configured for the line.

AccO, AccI

Output or Input access list number configured for the line.

Uses

Number of connections established to or from the line since the system was restarted.

Noise

Number of times noise has been detected on the line since the system restarted.

Overruns

Hardware (UART) overruns and/or software buffer overflows, both defined as the number of overruns or overflows that have occurred on the specified line since the system was restarted. Hardware overruns are buffer overruns; the UART chip has received bits from the software faster than it can process them. A software overflow occurs when the software has received bits from the hardware faster than it can process them.

Line

Current line.

Location

Location of the current line.

Type

Type of line, as specified by the line global configuration command.

Length

Length of the terminal or screen display.

Width

Width of the terminal or screen display.

Baud rate (TX/RX)

Transmit rate/receive rate of the line.

Status

State of the line: Ready or not, connected or disconnected, active or inactive, exit banner or no exit banner, async interface active or inactive.

Capabilities

Current terminal capabilities. In this case, the line is usable as an asynchronous interface.

Modem state

Modem control state. This field should always read READY.

Special Chars

Current settings of special characters that were input by the user (or taken by default) from the following global configuration commands:

  •  

  • escape-character
  • hold-character
  • stop-character
  • start-character
  • disconnect-character
  • activation-character

     

Timeouts

Current settings that were input by the user (or taken by default) from the following global configuration commands:

  •  

  • exec-timeout
  • session-timeout
  • dispatch-timeout
  • modem answer-timeout

     

Session limit

Maximum number of sessions.

Time since activation

Last time start_process was run.

Editing

Whether or not command line editing is enabled.

History

Current history length, set by the user (or taken by default) from the history configuration command.

Full user help

Whether or not full user help has been set by the user with the terminal full-help command or by the administrator with the full-help line configuration command.

Allowed transports are...

Current set transport method, set by the user (or taken by default) from the transport preferred line configuration command.

characters are padded

Current set padding, set by the user (or taken by default) from the padding line configuration command.

data dispatching characters

Current dispatch character set by the user (or taken by default) from the dispatch-character line configuration command.

Line

Definition of the specified line's protocol and address.

output, input packets

Number of output and input packets queued on this line.

Group codes

AT group codes.

 

Misconceptions:
None

Related commands:
clear line

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)