[Huawei] user-interface vty 0 14
[Huawei-ui-vty0-14] acl 2000 inbound
Step 3 Set terminal attributes of the VTY user interface.
[Huawei-ui-vty0-14] shell
[Huawei-ui-vty0-14] idle-timeout 30
[Huawei-ui-vty0-14] screen-length 30
[Huawei-ui-vty0-14] history-command max-size 20
Step 4 Set the user priority of the VTY user interface.
[Huawei-ui-vty0-14] user privilege level 15
Step 5 Set the authentication mode and password of the VTY user interface.
[Huawei-ui-vty0-14] authentication-mode password
[Huawei-ui-vty0-14] set authentication password simple huawei
[Huawei-ui-vty0-14] quit
----End
Configuration Files
#
sysname Huawei
#
acl number 2000
rule 5 deny source 10.1.1.1 0
rule permit source any
#
user-interface maximum-vty 15
user-interface vty 0 14
acl 2000 inbound
user privilege level 15
authentication-mode password
set authentication password simple huawei
history-command max-size 20
idle-timeout 30 0
screen-length 30
#
return
4.5.3 Example for Configuring a TTY User Interface
This document describes the configurations of the TTY user interface, including physical
attributes, terminal attributes, and user priorities.
Networking Requirements
A user can log in through a TTY user interface to initialize router configurations or maintain the
router locally. You can set TTY user interface attributes to allow users to log in.
If there is no user activity and the connection between the user and the router remains idle for
more than 30 minutes, the connection is terminated.
Configuration Roadmap
The configuration roadmap is as follows:
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.
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.
67