NOTE
By default, the terminal service is enabled on all user interfaces. If the terminal service is disabled, run the
shell command to enable the terminal service.
Data Preparation
To complete the configuration, you need the following data:
l Transmission rate of the TTY user interface: 4800 bit/s
l Flow control mode of the TTY user interface: None
l Parity of the TTY user interface: even
l Stop bit of the TTY user interface: 2
l Data bit of the TTY user interface: 6
l Timeout period for disconnecting from the TTY user interface: 30 minutes
l Number of lines that a terminal screen displays: 30
l Size of the history command buffer: 20
Procedure
Step 1 Set physical attributes of the TTY user interface.
<Huawei> system-view
[Huawei] user-interface tty 0
[Huawei-ui-tty1] speed 4800
[Huawei-ui-tty1] flow-control none
[Huawei-ui-tty1] parity even
[Huawei-ui-tty1] stopbits 2
[Huawei-ui-tty1] databits 6
Step 2 Set terminal attributes of the TTY user interface.
[Huawei-ui-tty1] shell
[Huawei-ui-tty1] idle-timeout 30
[Huawei-ui-tty1] screen-length 30
[Huawei-ui-tty1] history-command max-size 20
Step 3 Set the user priority of the TTY user interface.
[Huawei-ui-tty1] user privilege level 15
----End
Configuration Files
#
sysname Huawei
#
user-interface TTY 1
user privilege level 15
history-command max-size 20
idle-timeout 30 0
screen-length 30
databits 6
parity even
stopbits 2
speed 4800
screen-length 30
#
return
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 4 Configuring User Interfaces
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
68