Example For Configuring Vty User Interface - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration

4.5.2 Example for Configuring VTY User Interface

This part provides an example describing how to configure the VTY user interface. In this
configuration example, to allow a user in password authentication mode to log in to the router
by using Telnet, multiple attributes of the VTY user interface are set, including the maximum
number of VTY user interfaces, call-in and call-out limit, terminal attributes, authentication
mode, and password.
Networking Requirements
A user logs in to the router through a VTY channel by using Telnet or SSH. To allow the user
login, an operator can set attributes of the VTY user interface as needed (for security reasons,
for example).
In the VTY user interface, the user priority is set to 15, the authentication mode is set to password,
with the password of "huawei", and the user with the IP address of 10.1.1.1 is prohibitted from
logging in to the router.
After logging in, if the user takes no action on the router for more than 30 minutes, the connection
between the user and the router is torn down.
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
l
l
Procedure
Step 1 Set the maximum number of VTY user interfaces.
<Huawei> system-view
[Huawei] user-interface maximum-vty 15
Step 2 Set the limit on call-in and call-out in the VTY user interface.
[Huawei] acl 2000
Issue 02 (2011-10-15)
Enter the interface view and set the maximum number of VTY user interfaces to 15.
Set the call-in and call-out limit of the VTY user interface, limiting the access of an IP
address or an IP address segment to the router.
Set terminal attributes of the VTY user interface.
Set the user priority in the VTY user interface.
Set the authentication mode and password in the VTY user interface.
Maximum number of VTY user interfaces: 15
ACL applied to limit call-in in the VTY user interface: 2000
Timeout period for disconnecting from the VTY user interface: 30 minutes
Number of lines that a terminal screen displays: 30
Size of the history command buffer: 20
User priority: 15
User authentication mode: password, password: huawei
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 Configuring User Interface
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents