目录
设置密码
设置console密码
[SW1]user-interface console 0 #设置console 密码
[SW1-ui-console0]authentication-mode password #设置密码格式为 password,还有其他模式
[SW1-ui-console0]set authentication password cipher consolepass #设置加密密码为 consolepass
[SW1]telnet server enable #启动telnet服务
设置telnet密码
[SW1]user-interface maximum-vty 14 #设置最大连接数(应该是,我也不确定)
[SW1]user-interface vty 0 13 #设置客户端0 - 13 的
[SW1-ui-vty0-13]user privilege level 3 #设置用户等级为3 ,(1:监控 2:系统 3:管理)
[SW1-ui-vty0-13]authentication-mode password #设置密码格式为 password
[SW1-ui-vty0-13]set authentication password cipher telnetpass #设置telnet远程密码为 telnetpass
扩:
用户等级级别
LEVEL 0(访问级):可以执行用于网络诊断等功能的命令。包括ping、tracert、telnet等命令,执行该级别命令的结果不能被保存到配置文件