文档详情

华为设备基本操作命令.doc

发布:2016-12-17约2.49千字共7页下载文档
文本预览下载声明
华为设备基本操作命令 Huaweisystem-view 进入系统视图模式 [Huawei]sysname r1 配置设备名为r1 [r1]display version 查看系统版本信息 [r1]display cpu-usage 查看设备CPU使用信息 [r1]display memory-usage 查看设备内存使用信息 [r1]display fan 查看风扇信息 [r1]display temperature all 查看设备温度 [r1]display power 查看电源信息 [r1]display health 查看设备健康情况 [r1]display elabel 查看设备模块信息 [r1]display ip interface brief 查看IP接口信息 [r1]display interface brief 查看接口信息 r1dir flash: 查看FLASH内文件 r1delete flash:/文件名 删除FLASH内文件 Huaweiundelete vrpcfg.zip 恢复之前删除掉的文件 Huaweidelete /unreserved vrpcfg.zip 彻底删除文件(不能恢复) [r1]quit 返回上一级模式 [r1]return 快速返回到模式 [r1]display this 查看当前模式下的配置 [r1]interface g0/0/0 进入接口 [r1-GigabitEthernet0/0/0]ip add 24 接口配置IP地址 [r1-GigabitEthernet0/0/0]undo shut 激活接口 Undo +命令 删除该命令 r1save 保存配置 [r1]display current-configuration 查看当前运行的配置 [r1]display saved-configuration 查看已保存配置 r1reset saved-configuration 清空已保存配置 [Huawei]user-interface console 0 [Huawei-ui-console0]idle-timeout 0(分钟) 0(秒) 配置console口永远不超时 配置TELNET(远程登录该设备) [r1]user-interface vty 0 4 进入VTY接口 [r1-ui-vty0-4]authentication-mode pass 开启认证 Please configure the login password (maximum length 16):123 配置远程登录密码为123 [r1-ui-vty0-4]user privilege level 0-15 远程登录用户权限为最低0级(默认为0) [r1]super password lev 3 cipher 234567 用户权限提升为3级授权密码为234567 实验效果:在与R1相连的R2路由器上输入 r2telnet r2远程登录r1设备 Password:123 VTY密码 r1super 提升访问设备权限 Password:234567 super密码 r1system-view [r1] 成功远程进入r1设备的系统视图模式 Huaweiclock datetime 11:11:11 2000-01-01 Huaweiclock timezone bj add 8:00:00 Huaweidis clock [Huawei]dis default-parameter X 查看默认参数 [Huawei]dis history-command [Huawei]user-interface console 0 [Huawei-ui-console0]history-command max-size
显示全部
相似文档