cisco設置enable密碼
cisco設置enable密碼
cisco設置enable密碼?怎么設置?最近有網友這樣問小編。學習啦小編去網上搜索了相關資料,給大家奉上,希望大家喜歡。
思科路由器配置enable password
A:enable password 沒加密
B:service password-encryption 對明文密碼進行加密
C:enable secret 用MD5算法對特權模式進行加密
D:enable password 7 后面要加密文
1.使用A的話,在show run的時候password會以明文的方式顯示。例如enable password tangxuquan
Router#show run
Building configuration...
Current configuration : 354 bytes
!
version 12.2
no service password-encryption 沒有過加密的
!
hostname Router
!
!
enable password tangxuquan 密碼以明文顯示,你設置的是什么這里就顯示什么
2.再輸入B命令后 service password-encryption
Router#show run
Building configuration...
Current configuration : 354 bytes
!
version 12.2
service password-encryption
!
hostname Router
!
!
enable password 7 08354D400E011006070A02 對明文密碼進行了加密,顯示的是經過思科算法加密后的密文
3.輸入c命令 enable password cicso
在B命令的基礎上運行 enable secret cisco
Router#show run
Building configuration...
Current configuration : 401 bytes
!
version 12.2
service password-encryption
!
hostname Router
!
!
enable secret 5 class="main">
cisco設置enable密碼
enable password 7 08354D400E011006070A02 用service password-encryption的加密顯示。
即使secret后面的數字是0,show run的時候,也不會以明文顯示,而是MD5加密算法后的值。
使用命令enable secret cisco 后特權模式的登錄密碼將改為“cisco”
4.enable password常見的一個誤解enable password 7后面應該加入加密后的密碼,而不應該輸入“bdcom”之類的明碼。
3660_config#ena pass 7 bdcom //后面加入明碼,則顯示錯誤
Invalid encrypted password
以上內容來源互聯(lián)網,希望對大家有所幫助。