
width
Sets the width of lines displayed on the screen.
Syntax: [no | terminal] width num-chars
terminal
The number of characters per line displayed on the screen for this session only. The setting is not saved in the running-configuration file.
num-chars
The number of characters per line displayed on the screen Valid values are 1 - 512.
Description: Use the width num-chars command to define the number of characters per line displayed on your video terminal.
Output that is wider than the specified number of lines "wraps" to the next line. Use the command in Privileged command mode to set the terminal width for this session only. Use the command in Line configuration command mode to set the terminal width for this and future sessions.
In Privileged command mode: use the terminal keyword to configure the displays for only this session. The setting is not saved when the session ends.
Use the terminal width num-chars command to configure the number of characters per line displayed on the screen for only the current session.
Use the terminal no width or the terminal width 0 command to set the number of characters per line displayed on your video terminal to the default value of 80 for only the current session.
In Line configuration command mode: omit the terminal keyword. The setting is saved for future sessions.
Use the width num-chars command to configure the number of characters per line displayed on the screen.
Use the no width or the width 0 command to set the number of characters per line displayed on your video terminal to the default value of 80 characters.
Factory Default: 80 characters per line.
Command Mode: Line configuration and privileged.
Example 1: In the following example,
- The line vty 0 4 command specifies the VTY lines and changes the command mode to Line configuration.
- The width command configures the console to display 90 characters per line.
- The show line displays the setting:
NOTE The setting will be saved for future VTY sessions.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line vty 0 4
router(config-line)#width 90
router(config-line)#end
router#show line
.
.
.
Line vty 3 (*)
Length: 30 lines, Width: 90 columns
History is ENABLED, history size is 10.
Example 2: In the following example:
- The terminal no width command configures the current session to display the default number of characters per line on the screen:
- .The show terminal command displays the setting:
NOTE The setting is NOT saved for future sessions.
router#terminal no width
router#show terminal
Length: 24 lines, Width: 80 columns
History is ENABLED, history size is 10.
Related Commands: length
line
show line
show terminal
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: navigation.fm
HTML File Name: navigation28.html
Last Updated: 02/25/05 at 14:25:22