terminal width

To set the number of character columns on the terminal screen for the current line for a session, use the terminal width command. To revert to the default, use the no form of this command.

terminal width columns

terminal no width

Syntax Description


Number of columns. The range is from 24 to 511.

Command Default

For a virtual terminal, the width is set during negotiation with the client software. Otherwise, 80 columns is the default.

Command Modes

EXEC mode

Command History



This command was introduced.

Usage Guidelines

The terminal width setting applies only to the current session.


This example shows how to set the number of columns to display on the terminal:

switch# terminal width 70  

This example shows how to revert to the default number of columns:

switch# terminal no width  

Related Commands


show terminal

Displays the terminal session configuration.