Connect to our router with a special CISCO cabel and a windows program HyperTerminal(Start-> Programs-> Accessories->Communications->HyperTerminal). On the desktop we can see a command line.
Then following the commands below we will configure a password for terminal and virtual lines (for console port and for telnet):
Then following the commands below we will configure a password for terminal and virtual lines (for console port and for telnet):
Router>enable
Router#configure terminal
Router(config)#service password-encryption
Router(config)#line con 0
Router(config-line)#password alexs
Router(config-line)#login
Router(config-line)#exit
Router(config)#line vty 0 4
Router(config-line)#password planet
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable secret alexsplanet
Router#configure terminal
Router(config)#service password-encryption
Router(config)#line con 0
Router(config-line)#password alexs
Router(config-line)#login
Router(config-line)#exit
Router(config)#line vty 0 4
Router(config-line)#password planet
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable secret alexsplanet
Notifications:
-password "alexs" is for console port
-password "planet" is for telnet connection
-password "alexsplanet" is for priveliage mode
-password "alexs" is for console port
-password "planet" is for telnet connection
-password "alexsplanet" is for priveliage mode
Комментариев нет:
Отправить комментарий