因为工作上某各项目使用到了华为AR28-31路由器。可恶的是这款路由器竟然不支持WEB配置,只能采用配置线缆连接,通过超级终端命令方式进行配置。将路由器自带配置线缆一端插入路由器con口,一段插到操作路由器的PC,即可开始采取超级终端进行配置。
1.基本命令
system //进入配置界面
dis cu //查看路由器当前配置参数
undo //删除某条配置记录
2.配置路由器telnet的用户名和密码
方法一:
system-viewuser-interface vty 0 4 // 进入VTY接口
undo authentication-mode password //取消设置口令模式
undo set authentication-mode password simple 555//取消设置口令
user privilege level 3 //权限级别为3级
idle-timeout 0 0 //会话朝时为0
配置的话把UNDO取消就行,其他一样:
authentication-mode password /设置明文口令模式
set authentication-mode password simple 3332 //设置口令
方法二:system-viewlocal-user ABC //创建本地用户
password cipher asre3@~# //设置用户加密密码
service-type telnet terminal //服务类型为TELENET
level 3user-interface vty 0 4
authentication-mode scheme //调用之前设置的帐号和密码,取消就在前面加UNDO
idle-timeout 0 0