华为ensp常用简单命令(一)
华为ensp
一、ensp是什么?
eNSP(Enterprise Network Simulation Platform)是一款由华为提供的免费的、可扩展的、图形化操作的网络仿真工具平台,主要对企业网络路由器、交换机进行软件仿真,完美呈现真实设备实景,支持大型网络模拟,让广大用户有机会在没有真实设备的情况下能够模拟演练,学习网络技术。
二、ensp界面
三、常用简单命令
-
历史命令查询 [Huawei]display history-command 配置主机名 <Huawei>system-view修改主机名必须进入系统视图 [Huawei]sysname 交换机名 状态信息查询 [Huawei]display version 查看VRP版本信息 <Huawei>display users 查看用户终端信息 进入当前接口 [Huawei]interface Ethernet 0/0/1 配置文件管理命令 [Huawei]display saved-configuration查看设备保存的信息 [Huawei]display current-configuration 查看设备当前配置信息 [Huawei]reset saved-configuration 擦除存储设备中的配置文件 <Huawei>compare configuration 比较当前配置信息与存储设备中的保存信息是否一致 关闭华为的信息提示中心 <Huawei>undo terminal monitor 或者 [Huawei]undo info-center enable 永不超时 [Huawei]user-interface console 0 [Huawei-ui-console0]idle-timeout 0 0 配置双工即速率命令 [Huawei]interface Ethernet 0/0/1进入接口0/0/1 [Huawei-Ethernet0/0/1]undo negotiation auto关闭自动协商 [Huawei-Ethernet0/0/1]speed 100速率调至100 [Huawei-Ethernet0/0/1]duplex full调至双工模式(半双工为half) 保存配置 <Huawei>save 设置远程登录密码及命令等级 [Huawei]user-interface vty 0 4表示可同时打开0-4共5个会话进入交换机去配置命令 [Huawei-ui-vty0-4]authentication-mode password [Huawei-ui-vty0-4]set authentication password simple 222设置密码222 [Huawei-ui-vty0-4]user privilege level 3调至命令等级至3级管理级 [Huawei-ui-vty0-4]display this 保存设置 设置三大接口模式 [Huawei-Ethernet0/0/1]port link-type access进入access模式 [Huawei-Ethernet0/0/1]port link-type trunk进入trunk模式 [Huawei-Ethernet0/0/1]port link-type hybrid进入hybrid模式 查看MAC地址表 [Huawei]display mac-address 查看放行vlan表 [Huawei]display port-vlan 查看路由表 [Huawei]display ip routing-table
总结
这些都是些比较常用的命令。