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 brief
配置IP地址
Interface g0/0/0
Ip address 192.168.1.1 24
测试连通性指令
Ping
设置远程登录
user-interface vty 0 4
authentication-mode aaa
aaa
local-user huawei password cipher huawei
local-user huawei service-type telnet //用于远程登录
local-user huawei privilege level 15 //模拟器上权限默认为15,权限较低则无法进入系统