首先配置云接口:
配置路由器IP地址:
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 192.168.56.2 24
用本机去ping路由器,路由器成功与本机互通。
ssh登陆配置:
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]protocol inbound ssh
[Huawei-ui-vty0-4]qu
[Huawei]aaa
[Huawei-aaa]local-user tjl password cipher 123
Info: Add a new user.
[Huawei-aaa]local-user tjl privilege level 5
[Huawei-aaa]local-user tjl service-type ssh
[Huawei-aaa]qu
[Huawei]ssh user tjl authentication-type password
Authentication type setted, and will be in effect next time
[Huawei]stelnet server enable
Info: Succeeded in starting the STELNET server.
用Xshell登陆验证结果: