The screen-width command sets the maximum number of characters in each line displayed on a terminal screen.
The undo screen-width command restores the default setting.
| Parameter | Description | Value |
|---|---|---|
| screen-width | Specifies the maximum number of characters in each line displayed on a terminal screen. |
The value is an integer ranging from 60 to 512. |
By default, each line displayed on a terminal screen has a maximum of 80 characters.
In most cases, changing or setting the maximum number of characters in each line displayed on the terminal screen is not recommended.
This command takes effect only for the current connection. The configuration will not be saved after the user logs out. For example, if a user logs in to the FW using a console interface, the command does not take effect for users logging in to the FW using the VTY interface. If the user logs out and logs in to the FW again using the console interface, the default number of characters will be displayed in each line.