Professional Documents
Culture Documents
Password Cisco
Password Cisco
1. Mật khẩu Console: Đặt mật khẩu truy cập cho cổng consol trên router
Router#configure terminal
Router(config)#line console 0
Router(config-line)#password songvugia
Router(config-line)#login
Router(config-line)#end
Router>
Password: songvugia
Router#
2. Mật khẩu telnet: Dùng để bảo mật cho đăng nhập từ xa vào Router.
Router#configure terminal
Router(config)#
Router(config)#line vty 0 4 ← cho phép 5 máy truy cập cùng lúc
Router(config-line)#password songvugiatelnet
Router(config-line)#login
Router(config-line)#end
Router#exit
3. Mật khẩu enable: Dùng để bảo mật cho đăng nhập vào “global configuration mode”,Có hai loại,
mật khấu không mã hóa và mật khẩu mã hóa, nếu đặt hai loại mật khẩu cùng lúc thì loại mật khẩu
không mã hóa sẽ không còn hiệu lực thay vào đó mật khẩu dạng “enable secret”sẽ được hỏi để
được quyền đăng nhập
Router#
Router#configure terminal
Router(config)#end
Router#exit
————————————————————–
1.Ta có thể sử dụng enable password hoặc enable secret để đặt Password mode privileged:
Router>enable
Router#conf terminal
2. Đặt mật khẩu ngăn chặn đăng nhập không hợp lệ ngay từ cổng console:
Router(config)#line console 0 (số 0 không phải ký tự ở)
Router(config-line)#password matkhau
Router(config-line)#login
Password: “nếu đặt cùng lúc password ở trên thì password songvugiasecret sẽ đăng nhập được
vào hệ thống”
4. Câu lệnh để mã hóa toàn bộ password được đặt
Router#
Router#configure terminal