telnet 密码访问华为路由器
模拟被访问路由
sy
[Huawei]int g0/0/0 //选中 g0/0/0端口
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24 //设置端口ip
[Huawei]user-interface vty 0 4 //配置vty
[Huawei-ui-vty0-4]set authentication password cipher huawei@123 //设置vty 明文密码 huawei@123
[Huawei-ui-vty0-4]user privilege level 15 //设置vty用户级别15
模拟pc
sy
[Huawei]int g0/0/0 //选中g0/0/0端口
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.2 24 //设置端口ip
[Huawei-GigabitEthernet0/0/0]q
[Huawei]q
telnet 192.168.1.1 //用户模式下访问192.168.1.1
Press CTRL_] to quit telnet mode
Trying 192.168.1.1 …
Connected to 192.168.1.1 …
Login authentication
Password: