![Huawei AR2200 Series Configuration Manual Download Page 66](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296066.webp)
1.
Enter the interface view and set physical attributes of the TTY user interface.
2.
Set terminal attributes of the TTY user interface.
3.
Set the user priority of the TTY user interface.
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
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
4 Configuring User Interface
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
55