环境:通过云桥接本地回环网卡
.png)
.png)
模拟器中模拟Console口登录操作
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.0.0.1 24
Dec 16 2019 19:53:55-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R1-GigabitEthernet0/0/0]quit
[R1]stelnet server enable
Info: Succeeded in starting the STELNET server.
[R1]ssh server port 12138
After the command is executed, logging in to the port through SSH fails, all th
e SSH users exit, and a new port is created. If you need to set the port through
SSH again, wait for at least two minutes and then set the port again. Are you s
ure to continue?(y/n)[n]:y
Info: Succeeded in changing SSH listening port.
[R1]aaa
[R1-aaa]local-user admin password cipher 123456
[R1-aaa]local-user admin privilege level 15
[R1-aaa]local-user admin service-type all
[R1-aaa]local-user admin service-type ssh
[R1-aaa]quit
[R1]user-interface vty 0 4
[R1-ui-vty0-4]authentication-mode aaa
[R1-ui-vty0-4]user privilege level 15
[R1-ui-vty0-4]protocol inbound all
[R1-ui-vty0-4]quit
验证
通过 SecureCRT 连接模拟器中桥接到本地的R1路由
.png)
.png)
.png)
.png)
.png)
.png)