eNSP使用

安装好eNSP后,点击菜单,工具,注册设备,勾选前三个,点击注册。

打开防火墙,允许应用通过windows防火墙,点击更改设置,把开头为eNSP的都勾上,右边的专用,公用也勾,确定。

路由器操作

操作命令
从用户视图进入系统视图system-view
从系统视图返回用户视图quit
从任意非用户视图返回用户视图return
从系统视图进入接口试图int 接口
命令在线帮助?或 关键字 ?
功能键盘功能
普通按键字符输入
退格键 Backspace删除光标位置的前一个字符
左光标键或Ctrl+B组合键光标向左移动一个字符位置
右光标键或Ctrl+F组合键光标向右移动一个字符位置
删除键 Delete删除光标位置字符
上下光标键显示历史命令
Tab键输入不完整的关键字后按Tab键,系统自动执行部分帮助
display history-command显示历史命令
设置路由器主机名sysname

状态信息查询命令

操作命令
显示系统版本display version
显示已连接的终端用户display users
显示当前视图的运行配置display this
显示设备所有状态信息display diagnostic-information

配置文件管理命令

操作命令
查看已保存的路由器配置display saved-configuration
查看当前的路由器配置display current-configuration
保存当前配置save
擦除存储设备中路由器配置文件reset saved-configuration
比较配置文件compare configuration

更改ip

<Huawei>sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.100 255.255.255.0

打开接口

[Huawei-GigabitEthernet0/0/0]undo shutdown

关闭接口

[Huawei-GigabitEthernet0/0/0]shutdown

通过Telnet进行本地或远程配置

路由器配置

[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode password 
Please configure the login password (maximum length 16):123.com			#明文密码
[Huawei-ui-vty0-4]set authentication password cipher 456.com			#密文密码
[Huawei-ui-vty0-4]user privilege level 3

pc机
在这里插入图片描述

Connecting to 192.168.1.100:23...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.


Login authentication


Password:456.com		密文密码
<Huawei>

练习

在这里插入图片描述

配置ip

pc1

在这里插入图片描述

AR1

[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.100 255.255.255.0
Jul 15 2020 11:12:00-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. int 

Clound1

直接找一台192.168.1.20的虚拟机打开,并把网关设置为192.168.1.100

ping测试

pc1

PC>ping 192.168.1.20

Ping 192.168.1.20: 32 data bytes, Press Ctrl_C to break
From 192.168.1.20: bytes=32 seq=1 ttl=64 time=63 ms
From 192.168.1.20: bytes=32 seq=2 ttl=64 time=31 ms
From 192.168.1.20: bytes=32 seq=3 ttl=64 time=16 ms
From 192.168.1.20: bytes=32 seq=4 ttl=64 time=31 ms
From 192.168.1.20: bytes=32 seq=5 ttl=64 time=31 ms

Clound1

[root@localhost ~]# ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=128 time=65.4 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=128 time=29.8 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=128 time=37.3 ms
64 bytes from 192.168.1.10: icmp_seq=4 ttl=128 time=24.6 ms

路由器配置远程vty

AR1

<Huawei>sys
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode password 
Please configure the login password (maximum length 16):123.com
[Huawei-ui-vty0-4]set authentication password cipher 123.com
[Huawei-ui-vty0-4]user privilege level 3

测试远程vty是否成功

打开xshell

在这里插入图片描述在这里插入图片描述

练习成功

  • 3
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值