1、设置允许同时登陆vty的最大用户数(默认为0-4,5个)
[Huawei]user-interface maximum-vty ? 6
INTEGER<0-15> The maximum number of VTY users, the default value is 5
2、设置vty用户界面基于acl的登陆限制
[Huawei-ui-vty0-4]acl ?
INTEGER<2000-3999> Apply basic or advanced ACL
ipv6 Filter IPv6 addresses
[Huawei-ui-vty0-4]acl 2002 ?
inbound Filter login connections from the current user interface
outbound Filter logout connections from the current user interface
3、设置VTY支持的呼入协议
[Huawei-ui-vty0-4]protocol inbound ?
all All protocols
ssh SSH protocol
telnet telnet protocol
4、开启终端服务(默认开启)
[Huawei-ui-vty0-4]shell
5、用户连接超时时间/终端屏幕显示行数/列数/登陆方式/账号级别/只以密码方式登陆 同console
-------------telnet服务器相关设置--------------
[Huawei]telnet server ?
enable Enable the Telnet server #打开telnet功能(默认开启)
port Set the port attribute #修改telnet服务器端口
6、登陆账号相关设置同console登陆账号密码设置类似。
==================================================================
1、显示telnet显示状态
<Huawei>display telnet server status
TELNET IPv4 server :Enable
TELNET IPv6 server :Enable
TELNET server port :23
TELNET server source address :0.0.0.0
2、显示vty用户界面信息
<Huawei>display user-interface vty 0
Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int
34 VTY 0 - 0 15 A -
: Current UI is active.
F : Current UI is active and work in async mode.
Idx : Absolute index of UIs.
Type : Type and relative index of UIs.
Privi: The privilege of UIs.
ActualPrivi: The actual privilege of user-interface.
Auth : The authentication mode of UIs.
A: Authenticate use AAA.
N: Current UI need not authentication.
P: Authenticate use current UI's password.
Int : The physical location of UIs.
,