华为ensp使用Cloud 配置telnet、ssh远程连接

一、配置telnet:

使用真机远程连接ENSP交换机(真机IP地址配置到VirtualBox Host-Only Ethernet Adapter网卡)

在自己的电脑上打开网络连接,然后你可以看到VirtualBox Host-Only Network,右击打开属性,最后按下面的图走:

拓扑图以及Cloud配置:

<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan batch 10
Info: 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

  • 2
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值