< Home

user-interface vty screen-length

Function

The user-interface vty screen-length command sets the number of lines on each terminal screen after you run a command.

The undo user-interface vty screen-length command restores the default configuration.

By default, the number of lines to be displayed on a terminal screen is 24.

Format

user-interface vty ui-number screen-length screen-length

undo user-interface vty ui-number screen-length

Parameters

Parameter Description Value
ui-number Specifies the VTY user interface number. The value is an integer that ranges from 0 to 4.
screen-length Specifies the number of lines displayed on a terminal screen. The value is an integer that ranges from 0 to 512. The value 0 indicates that all command output is displayed on one screen.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

If you run a command and its output is displayed in more lines than you can see on one screen, you can set a small number of lines displayed on each screen.

In most cases, you do not need to change the number of lines displayed on each screen. Setting the number of lines to 0 is not recommended. The configuration takes effect after you log in to the system again.

Example

# Set the number of lines on each screen of the terminal to 30.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-system-profile name huawei 
[HUAWEI-wlan-ap-system-prof-huawei] user-interface vty 0 screen-length 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >