华为s5720配置telnet命令详解

华为s5720配置telnet命令详解

[HUAWEI]system-view

[HUAWEI]sysname Telnet_Server

[Telnet_Server] telnet server enable

A. 配置VTY用户界面的最大个数(按需求配置连接数,默认可以不配置)

[Telnet_Server] user-interface maximum-vty 15

B. 配置VTY用户界面的终端属性

[Telnet_Server] user-interface vty 0 14

[Telnet_Server-ui-vty0-14] protocol inbound telnet

[Telnet_Server-ui-vty0-14] shell

[Telnet_Server-ui-vty0-14] idle-timeout 20

[Telnet_Server-ui-vty0-14] screen-length 0

[Telnet_Server-ui-vty0-14] history-command max-size 20

C. 配置VTY用户界面的用户验证方式

[Telnet_Server-ui-vty0-14] authentication-mode aaa 

[Telnet_Server-ui-vty0-14] quit

D. 配置登录用户的相关信息

[Telnet_Server] aaa

[Telnet_Server-aaa] local-user ukihk password irreversible-cipher ukihk@123

[Telnet_Server-aaa] local-user ukihk service-type telnet

[Telnet_Server-aaa] local-user ukihk privilege level 3

[Telnet_Server-aaa] quit


评论