After a board is registered successfully and a serial port on the board is configured to work in
asynchronous mode, the router generates a random TTY number for the asynchronous serial
port. To view the TTY number, run the display user-interface command.
Step 3 Run:
speed speed-value
The baud rate is set.
By default, the baud rate is 9600 bit/s.
Step 4 Run:
flow-control { hardware | none | software }
The flow control mode is set. By default, the flow-control mode is none.
Step 5 Run:
parity { even | none | odd }
The parity mode is set.
By default, the value is none.
Step 6 Run:
stopbits { 1.5 | 1 | 2 }
The stop bit is set.
By default, the value is 1 bit.
Step 7 Run:
databits { 5 | 6 | 7 | 8 }
The data bit is set.
By default, the data bit is 8.
----End
4.4.3 Setting Terminal Attributes of a TTY User Interface
This section describes how to set terminal attributes of a TTY user interface, including the user
timeout disconnection function, terminal screen length, and size of the history command buffer.
Context
Terminal attributes of a TTY user interface have default values that you may modify as needed.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
user-interface tty interface-number
The TTY user interface view is displayed.
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.
60