当前位置:   article > 正文

eNSP安装教程、常用命令

eNSP安装教程、常用命令

一、下载

1.virtualbox下载(安装到英文目录)

eNSP一般只支持VirtualBox5.0.x~5.2.x 版本

https://www.virtualbox.org/

 

遇到问题 

解决办法: 

搜索:Microsoft Visual C++ 可再发行程序包最新支持的下载  

https://learn.microsoft.com/ZH-cn/cpp/windows/latest-supported-vc-redist?view=msvc-160

2.下载 wireshark

https://www.wireshark.org/

3.下载WinPcap

https://www.winpcap.org/

4.下载eNSP

链接: https://pan.baidu.com/s/1O4zyYK3XDdtPwXjQmwviSg?pwd=wmee 提取码: wmee 复制这段内容后打开百度网盘手机App,操作更方便哦

二、网络介绍

三、常用命令

1.进入用户视图(双击路由器,进入黑窗口)

用户视图

2.查看路由器的配置

display cu

3.进入系统视图

<Huawei>sys    + Tab键(不加Tab键补全也可以,使用简写也可以)
<Huawei>system-view

4.进入接口视图

[Huawei]int       
[Huawei]interface e0/0/0
[Huawei-Ethernet0/0/0]

5.返回命令

返回上一层命令

[Huawei-Ethernet0/0/0]q    
[Huawei-Ethernet0/0/0]quit

返回最开始的视图

 [Huawei-Ethernet0/0/0]r    
[Huawei-Ethernet0/0/0]return
<Huawei>

 6.撤销命令,查看命令

7.查看当前视图所有命名

 注意:参考window或linux 路径操作和文件操作的类似命令。(此黑窗口类似linux黑窗口)

每个视图都有相关的命令

 <Huawei>?

  1. User view commands:
  2. arp-ping ARP-ping
  3. autosave <Group> autosave command group
  4. backup Backup information
  5. cd Change current directory
  6. clear <Group> clear command group
  7. clock Specify the system clock
  8. cls Clear screen
  9. compare Compare configuration file
  10. copy Copy from one file to another
  11. debugging <Group> debugging command group
  12. delete Delete a file
  13. dialer Dialer
  14. dir List files on a filesystem
  15. display Display information
  16. factory-configuration Factory configuration
  17. fixdisk Try to restory disk
  18. format Format file system
  19. free Release a user terminal interface
  20. ftp Establish an FTP connection
  21. help Description of the interactive help system
  22. hwtacacs-user HWTACACS user
  23. license <Group> license command group
  24. lldp Link Layer Discovery Protocol
  25. local-user Add/Delete/Set user(s)
  26. lock Lock the current user terminal interface
  27. mkdir Create a new directory
  28. more Display the contents of a file
  29. move Move from one file to another
  30. mpls MPLS parameters
  31. mtrace Trace route to multicast source
  32. pad Establish one PAD connection
  33. patch Patch operation
  34. ping <Group> ping command group
  35. power Power on or off operate
  36. pwd Display current working directory
  37. quit Exit from current mode and enter prior mode
  38. reboot Reboot system
  39. refresh Do soft reset
  40. rename Rename a file or directory
  41. reset <Group> reset command group
  42. resource System resources(mem,message,cpu)
  43. return Enter the privileged mode
  44. rmdir Remove an existing directory
  45. rollback Active/standby mainboard rollback command
  46. save <Group> save command group
  47. schedule Schedule system task
  48. screen-length Set the number of lines displayed on a screen
  49. send Send information to other user terminal interfaces
  50. set <Group> set command group
  51. sslvpn Sslvpn
  52. startup Config parameter for system to startup
  53. super Modify super password parameters
  54. system-view SystemView from terminal
  55. telnet Open a telnet connection
  56. terminal Set the terminal line characteristics
  57. test-aaa Accounts test
  58. tftp Establish a TFTP connection
  59. tracert <Group> tracert command group
  60. undelete Restore deleted files or directory
  61. undo Negate a command or set its defaults
  62. unzip Unzip files or directory
  63. upgrade Upgrade
  64. xdsl Display board temperature
  65. zip Zip files or directory

四、操作技巧

1.连线

自动连线不能选择接口(双击后,可以连线)

手动连线,可以选择接口,(双击后,可以连线)

五、设备介绍

1.常用路由器

2.常用交换机

六、设置IP地址

1.设置电脑的IP

2.设置路由器的IP

<Huawei>sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.0.1 24

路由器每个接口的IP网段不能一样

3.设置交换机的IP(三层)

注意:需要先设置一个vlan,退出,进入vlan(路由器是进入接口,交换机进入vlan),在vlan里设置ip 

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int vlan 10
[Huawei-Vlanif10]ip address 192.168.5.254 24

[Huawei-vlan10]q

[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type access
[Huawei-GigabitEthernet0/0/1]port default vlan 10

查看vlan 

[Huawei]display vlan

七、路由 

1.静态路由

注意:如果讲过两个路由器,两个都需要配置,一个是去,一个是返回。

路由器就相当于路牌,指明数据包该去哪个方向,数据到达此路由器后,要设置目标网络IP和下一跳IP。

ip route-static 192.168.1.0 24 10.0.0.2
                目标网络IP              下一跳IP

注意:配置完需要保存。回到最初的视图

<Huawei>save 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/293818
推荐阅读
相关标签
  

闽ICP备14008679号