eNSP基础命令_01

eNSP 是一款由华为提供的、可扩展的、图形化操作的网络仿真工具平台。

主要对企业网络路由器交换机进行软件仿真,完美呈现真实设备实景,支持大型网络模拟,让广大用户有机会在没有真实设备的情况下能够模拟演练,学习网络技术

路由:数据出去旅游

命令不区分大小写

视图区分

1.                <ensp>                                         用户视图

2.                [ensp]                                           系统视图

3.                [ensp-GigabitEthernet0/0/1]        接口视图

<ensp>display version        //查看版本

 <ensp>save                        //保存

<ensp>system-view                //进入系统视图

扫描二维码关注公众号,回复: 14653033 查看本文章

 [ensp] interface Gigbitethernet0/0/1        //进入 g0/0/1的接口视图

[ensp]display current-configuration                //查看当前所有配置

 [ensp-GigabitEthernet0/0/1]shutdown         //禁用接口 g0/0/1

[ensp-GigabitEthernet0/0/1]undo shutdown  //开启接口g0/0/1

quit                //返回上一个视图

return         //返回用户视图        或 ctrl +z 

<ensp>language-mode Chinese                 //更改语言为中文(不推荐)
Change language mode, confirm? [Y/N] y
提示:改变语言模式成功。

<ensp>undo terminal monitor         //关闭终端提示

<ensp>reset saved-configuration         ·//恢复出厂设置

<Huawei>reboot                 //重启
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:n                //是否保存当前配置
Info: If want to reboot with saving diagnostic information, input 'N' and then e
xecute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y        //是否重启

[ensp]   user-interface console 0                        //进入控制台(console 口)  
[ensp-ui-console0]   idle-timeout 1      //将闲置超时设为1分钟         即一分钟后将退出视图

[ensp]user-interface console 0
[ensp-ui-console0]idle-timeout 1
[ensp-ui-console0]authentication-mode password   //开启终端密码登录
[ensp-ui-console0]set authentication password cipher abc         //设置密文密码为abc

注:重启登录后输入的密码不会显示

[ensp-ui-console0]undo set authentication password         //关闭终端登录密码

注:不需要重新开启终端密码登录 

display this         //查看当前视图的配置

[ensp]interface Vlanif 1                                        //进入 vlnaif1 
[ensp-Vlanif1]ip add 192.168.1.100 24                 //给 vlanif 1配置IP地址

猜你喜欢

转载自blog.csdn.net/pitch_dark/article/details/127203853
今日推荐