![Huawei AR2200 Series Configuration Manual Download Page 52](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296052.webp)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
user-interface
vty
first-ui-number
[
last-ui-number
]
The VTY user interface view is displayed.
Step 3
Run:
acl
acl-number
{
inbound
|
outbound
}
The limits to calling in/out of VTY are configured.
l
When you need to prevent a user of certain address or segment address from logging in to
the router, use the
inbound
command.
l
When you need to prevent a user who logs in to a router from accessing other routers, use
the
outbound
command.
----End
4.3.4 Setting Terminal Attributes of the VTY User Interface
This section describes how to configure terminal attributes of the VTY user interface, including
user idle timeout, number of lines displayed in a terminal screen, and size of the history command
buffer.
Context
Terminal attributes of the VTY user interface have default values on the router and you can set
them as needed.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
user-interface
vty
first-ui-number
[
last-ui-number
]
The VTY user interface view is displayed.
Step 3
Run:
shell
VTY terminal service is enabled.
Step 4
Run:
idle-timeout
minutes
[
seconds
]
User idle timeout is enabled.
If the connection keeps idle within the timeout period, the system automatically terminates the
connection.
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.
41