Length Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

Length

Use

Sets the amount of lines outputted at once in a console session. Setting the line to 0 will mean that commands will print all of the output at once in the console screen.

Syntax

Router(config-line)#length

**0-512

Example

In this example, the lineof the console is set to 1.

Copy

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#line con 0

R2(config-line)#length 1

The running configuration for the console is shown. Notice that the output is cut short and a “–More–” sign is shown.

Copy

R2(config-line)#do show run | sec con

Building configuration…

Current configuration : 1434 bytes

control-plane

–More–

To continue viewing output, hit enter or space until it is complete.

Copy

R2(config-line)#do show run | sec con

Building configuration…

Current configuration : 1434 bytes

control-plane

line con 0

exec-timeout 15 50

privilege level 15

logging synchronous

length 1
← All Other Cisco articles Home