Configure password for Cisco device (privilege, line consol, line vty)
To encrypt all plain text configuration:
Router>enable
Router#configure terminal
Router(config)#service password-encryption
Configure privilege mode password:
Router>enable
Router#configure terminal
Router(config)#enable password cisco >> non encrypted password OR
Router(config)#enable secret cisco >> Encrypted password
Configure Line Console password:
Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login >> Enable password checking
Router(config-line)#logging synchronous >> Synchronized message output (Optional)
Configure Telnet or line vty password:
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login >> Enable password checking
Configure Telnet or line vty with security :
Telnet configure with line Vty security (Cisco device):
Please configure as your network policy
Step 1:
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#password cisco >> Create password
Router(config-line)#login >> for Enable password checking
Step 2: (Create ACL)
Router#configure terminal
Router(config)#access-list 2 permit 192.168.110.10 >> Create Standard ACL
Step 3: (Apply)
Router(config)#line vty 0 4
Router(config-line)#access-class 2 in >> use in/out as your network policy
Thoughtful blog thanks for posting.
ReplyDelete