Command
Length
Use
Sets the amount of lines outputted at once in a vty session. Setting the line to 0 will mean that commands will print all of the output at once in the vitual terminal screen.
Syntax
Router(config-line)#length <number>
<number> 0-512
Example
In this example the line of vty 0 4 is set to 1.
R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line vty 0 4 R2(config-line)#length 1
The running configuration for the vty is shown. Notice that the output is cut short and a “–More–” sign is shown.
R2(config-line)#do show run | sec vty Building configuration… Current configuration : 1434 bytes control-plane –More–
To continue viewing output, hit enter or space until it is complete.
R2(config-line)#do show run | sec vty Building configuration… Current configuration : 1434 bytes control-plane line con 0 exec-timeout 15 50 privilege level 15 logging synchronous length 1