4月 092015
Switch>en Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#enable ? last-resort Define enable action if no TACACS servers respond password Assign the privileged level password (MAX of 25 characters) secret Assign the privileged level secret (MAX of 25 characters) use-tacacs Use TACACS to check enable passwords Switch(config)#enable
配置enable密码
Switch(config)#enable password cisco
使用show run查看enable密码的配置
! enable password cisco ! ! !
保存并查看启动配置
Switch#show startup-config startup-config is not present Switch#wri Building configuration... [OK] Switch#show startup-config
再次登录提示输入enable密码
Switch> Switch>en Password: Switch#
已设置password再设置secret加密密码,提示建议更换密码
Switch(config)#enable secret cisco The enable secret you have chosen is the same as your enable password. This is not recommended. Re-enter the enable secret. Switch(config)#
查看show run配置
! enable secret 5 $1$p3Nf$H1f9qXJ4OjS4p6fu447Dd/ enable password cisco ! ! !
取消enable密码设置仅保留enable加密密码设置
Switch(config)#no enable password Switch(config)#exit Switch#sh run
再次查看show run配置
! enable secret 5 $1$p3Nf$H1f9qXJ4OjS4p6fu447Dd/ ! ! !