configure cli

configure cli [{ lines height } {columns width }]

Description

This command configures the number of lines and columns for the current login session only.

Syntax Description

lines Number of lines on the screen.
height Height of the screen.
columns Number of columns on the screen.
width Width of the screen.

Default

N/A.

Usage Guidelines

The screen size specified takes effect over whatever screen size the session may have started with or whatever the current settings may be. If the terminal emulation supports dynamic resizing of the window, this will cause the size set by this command to be overriden. The command accepts either lines or columns or both in either order.

Example

The show management command has been enhanced to display the current screen size:

# show management
CLI idle timeout                 : Enabled (20 minutes)
CLI max number of login attempts : 3
CLI max number of sessions       : 8
CLI paging                       : Enabled (this session only)
CLI space-completion             : Disabled (this session only)
CLI configuration logging        : Disabled
CLI password prompting only      : Disabled
CLI scripting                    : Disabled (this session only)
CLI scripting error mode         : Ignore-Error (this session only)
CLI persistent mode              : Persistent (this session only)
CLI prompting                    : Enabled (this session only)
CLI screen/window size           : 80 Lines 256 Columns (this session only)
CLI refresh                      : Enabled
Telnet access                    : Enabled (tcp port 23 vr all)   
                                 : Access Profile : not set
SSH Access                       : ssh module not loaded.
Web access                       : Enabled (tcp port 80)
                                 : Access Profile : not set
Total Read Only Communities      : 1
Total Read Write Communities     : 1
RMON                             : Disabled
SNMP access                      : Enabled
                                 : Access Profile : not set
SNMP Compatibility Options       :
    GETBULK Reply Too Big Action : Too Big Error
    IP Fragmentation             : Disallow
SNMP Notifications               : Enabled
SNMP Notification Receivers  : None
SNMP stats:    InPkts 0       OutPkts   0       Errors 0       AuthErrors  0               
               Gets   0       GetNexts  0       Sets   0       Drops       0
SNMP traps:     Sent  0       AuthTraps Enabled
SNMP inform:    Sent  0       Retries   0       Failed 0

History

This command was first available in ExtremeXOS 16.1.

Platform Availability

This command is available on all platforms.