一、配置telnet:
使用真机远程连接ENSP交换机(真机IP地址配置到VirtualBox Host-Only Ethernet Adapter网卡)
在自己的电脑上打开网络连接,然后你可以看到VirtualBoxHost-Only Network,右击打开属性,最后按下面的图走:
拓扑图以及Cloud配置:
<Huawei>sys<Huawei>system-view Enter system view, return user view with Ctrl+Z.[Huawei]vlan batch 10Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei]int Vlanif 10[Huawei-Vlanif10]ip add 192.168.56.254 24[Huawei-Vlanif10]quit[Huawei]telnet server enable Info: The Telnet server has been enabled.[Huawei]aaa[Huawei-aaa]local-user admin password cipher Huawei12#$[Huawei-aaa]local-user admin service-type telnet [Huawei-aaa]local-user admin privilege level 15[Huawei-aaa]quit[Huawei]user-interface vty 0 4[Huawei-ui-vty0-4]authentication-mode aaa[Huawei-ui-vty0-4]qu[Huawei]ip route-static 192.168.56.0 0.0.0.0 192.168.56.1 [Huawei]int GigabitEthernet 0/0/1[Huawei-GigabitEthernet0/0/1]port link-type access [Huawei-GigabitEthernet0/0/1]port default vlan 10
最后测试连通性以及telnet测试
SSH的配置
[Huawei]stelnet server en
[Huawei]stelnet server enable
Info: Succeeded in starting the Stelnet server.
[
[Huawei]ssh authentication-type default password
[Huawei]aaa
[Huawei-aaa]local-user ssher password cipher Huawei12#$
Info: Add a new user.
[Huawei-aaa]local-user ssher service-type ssh
[Huawei-aaa]local-user ssher privilege level 15
[Huawei-aaa]quit
[Huawei]rsa local-key-pair create
The key name will be: Huawei_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
it will take a few minutes.
Input the bits in the modulus[default = 512]:1024
Generating keys...
...........................................++++++
.....++++++
..++++++++
........++++++++
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]protocol inbound ssh
[Huawei-ui-vty0-4]quit