Undo terminal trapping -关闭日志
System-view 从用户视图进入到系统视图
Sysname xx 修改设备名称
退出指令
quit 一层一层的退
return 从其他视图直接退出到用户视图
查看指令:
Display
查看时间-display clock
修改时间-clock datetime 正确的时间
帮助系统 TAB ?
查看当前视图下的配置 display this
查看运行配置文档—display current-configuration
查看最近的十条指令—display history-commad
保存指令 save
擦除指令 reset saved-configuration
重启指令 reboot
设置密码登录
user-interface con 0
authentication-mode password //使用密码登陆
set authentication password simple/cipher huawei //在当前配置文件中存储的明文/密文密码
模拟器上console口下的用户权限默认为15
设置用户名+密码登录
user-interface con 0
authentication-mode aaa
aaa
local-user huawei password cipher huawei
local-user huawei service-type terminal //用于console口
local-user huawei privilege level 15 //模拟器上权限默认为15,权限较低则无法进入系统试图,但可使用super命令进入
查看接口信息
display interface brief
display ip interface brie
华为基础指令
最新推荐文章于 2024-05-24 15:48:50 发布