8.3.2 Configuring the Redirection Function
After configuring the redirection function on a router, you can use an operation terminal to
manage remote serial interface devices.
Prerequisite
The 8AS board on the router has registered successfully and the asynchronous serial interfaces
are in Up state.
Context
Do as follows on the router.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
async
interface-number
The asynchronous serial interface view is displayed.
Step 3
Run:
async mode
flow
The asynchronous serial interface is configured to work in flow mode.
By default, an asynchronous serial interface works in protocol mode.
Step 4
Run:
quit
Exit from the asynchronous serial interface view.
Step 5
Run:
user-interface
tty
tty-number
The TTY user interface view is displayed.
After the 8AS board registers successfully, the router generates random numbers for TTY user
interfaces. Run the
display user-interface
command to view the TTY number mapping an
asynchronous serial interface.
Step 6
Run:
redirect enable
The redirection function is enabled.
Step 7
Run:
undo shell
The terminal service is disabled.
Step 8
(Optional) Run:
redirect binding vpn-instance
vpn-instance-name
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
8 Accessing Another Device
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
132