Line Configuration Mode Commands


Line Configuration Mode Commands
 
 
The Line Configuration Mode is used to manage the terminal line characteristics for output formatting.
 
Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
 
default
Restores the default length or width for the output to the display terminal.
Product
All
Privilege
Security Administrator, Administrator
Syntax
default { length | width }
length | width
length: restores the default value for the number of rows (length) of the output for display.
width: restores the default value for the number of columns (width) of the output for display as the number of characters.
Usage
Reset the output display properties if they had been changed during a session.
Example
default length
default width
 
end
Exits the line configuration mode and returns to the Exec mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the line configuration mode and returns to the global configuration mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Return to the global configuration mode.
 
length
Configures the output for the displays length (number of rows).
Privilege
Security Administrator, Administrator
Syntax
length number
number
Specifies the number of rows (lines) of output that can be displayed at one time for the display (output) terminal. number must have a value of 0 or be in the range from 5 through 512 where the special value 0 implies an infinite number of rows.
Usage
Set the current session’s display terminal has different display characteristics than the defaults. The special infinite value (0) is typically used when logging the output of a session from a remote machine since this will result in no pagination of output.
Example
The following commands set the length of the display to infinite and 33, respectively.
length 0
length 33
 
width
Configures the output for the displays width (number of columns/characters wide).
Privilege
Security Administrator, Administrator
Syntax
width number
number
Specifies the number of columns (characters) of output that can be displayed at one time for the display (output) terminal. number must have a value in the range from 5 through 512.
Usage
Set the current session’s display terminal has different display characteristics than the defaults.
Example
width 160
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883