发布时间 : 星期一 文章华为设备基本操作命令更新完毕开始阅读3f1c282104a1b0717ed5ddd5
华为设备基本操作命令
查看IP接口信息
[r1]display interface brief 查看接口信息
TEL: 010-59610060 1
恢复之前删除掉的文件
[r1-GigabitEthernet0/0/0]ip add 1.1.1.1 24 接口配置IP地址 [r1-GigabitEthernet0/0/0]undo shut 激活接口 Undo +命令 删除该命令
查看当前运行的配置
[r1]display saved-configuration
TEL: 010-59610060 2
查看已保存配置
[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)
TEL: 010-59610060 3
[r1]super password lev 3 cipher 234567
用户权限提升为3级授权密码为234567
实验效果:在与R1相连的R2路由器上输入
[r1] 成功远程进入r1设备的系统视图模式
[Huawei]dis default-parameter X 查看默认参数
[Huawei]dis history-command
[Huawei]user-interface console 0
[Huawei-ui-console0]history-command max-size ?
INTEGER<0-256> The size of a history buffer, the default value is 10
dis startup 查看系统启动配置参数
TEL: 010-59610060 4