- A+
所属分类:网络运维
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | Route命名: Route>enable Route(config)#hostname R1 ----重命名为R1 R1(config)#exit Route配置密码: 1、用户模式进入特权模式: Route>enable Route#config terminal Route(config)#enable secret CISCO ----设置加密密码为"CISCO"(若把"secret"改为"password"则为文明显示,在show running-config中可以清楚的看出两者的区别) Route(config)#exit 取消密码时 前面加no 即可 Route>enable Route#config terminal Route(config)#no enable secret CISCO Route(config)#exit 2、Console口:(这个是设置进入路由器的密码) Route>enable Route#config terminal Route(config)#line console 0 ----进入console口模式 Route(config-line)#password CISCO ----设置密码为"CISCO"(若要加密密码可在之前:service pass-encryption启用路由器密码保护-但是在Boson Netsim环境下没有找到这个命令大家知道的可以讨论下) Route(config-line)#login ---- 登入时加密 Route(config-line)#exit 取消密码: Route>enable Route#config terminal Route(config)#line console 0 ----进入console口模式 Route(config-line)#no password CISCO Route(config-line)#exit 3、aux口: Route>enable Route#config terminal Route(config)#line aux 0 ----进入aux口模式 Route(config-line)#password CISCO ----设置密码为"CISCO"(若要加密密码可在之前:service pass-encryption启用路由器密码保护) Route(config-line)#login ---- 登入时加密 Route(config-line)#exit 4、vty(telnet远程登陆口): Route>enable Route#config terminal Route(config)#line vty 0 4 ----进入telnet远程登陆口模式 (0 4 允许5个用户) Route(config-line)#password CISCO ----设置密码为"CISCO"(若要加密密码可在之前:service pass-encryption启用路由器密码保护) Route(config-line)#login ---- 登入时加密 Route(config-line)#exit |
好了,我要下班了呵呵,有问题记得留
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-