1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 02 华为交换机配置telnet远程登录

02 华为交换机配置telnet远程登录

时间:2023-10-10 23:30:48

相关推荐

02 华为交换机配置telnet远程登录

配置sw1名称及逻辑(虚拟)IP地址

<Huawei>sys

[Huawei]sys sw1 \\改名为sw1

[sw1]int vlanif1 \\进入逻辑接口

[sw1-Vlanif1]ip add 192.168.12.1 24 \\添加IP

[sw1-Vlanif1]qu

[sw1]qu

<sw1>

配置sw2名称及逻辑(虚拟)IP地址

<Huawei>sys

[Huawei]sys sw2

[sw2]int vlanif1

[sw2-Vlanif1]ip add 192.168.12.2 24

[sw2-Vlanif1]qu

[sw2]

配置sw2远程登录

[sw2]user-interface vty 0 4 \\设置同时登录用户数量

[sw2-ui-vty0-4]authentication-mode password \\使用密码登录

[sw2-ui-vty0-4]set authentication password simple 123 \\设置密码为123

[sw2-ui-vty0-4]user privilege level 15 \\设置登录用户的操作权限15为最高

[sw2-ui-vty0-4]idle-timeout 3 \\用户3分钟无操作退出登录

在sw1登录sw2

<sw1>telnet 192.168.12.2 \\注意在用户视图下敲命令<sw1>

Trying 192.168.12.2 ...

Press CTRL+K to abort

Connected to 192.168.12.2 ...

Login authentication

Password: \\敲入密码123

Info: The max number of VTY users is 5, and the number

of current VTY users on line is 1.

The current login time is -10-11 13:37:16.

<sw2> \\已经成功登录到sw2

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。