MyRouter con0 is now available
Press RETURN to
get started.
MyRouter>en --Enable Mode
MyRouter#config t --Global Configuration Mode
Enter configuration
commands, one per line. End with CNTL/Z.
MyRouter(config)#line vty 0
4 --Interface Configuration
mode.
MyRouter(config-line)#login --Enable Authentication
% Login disabled on
line 66, until 'password' is set
% Login disabled on line 67, until
'password' is set
% Login disabled on line 68, until 'password' is set
%
Login disabled on line 69, until 'password' is set
% Login disabled on line
70, until 'password' is set
MyRouter(config-line)#password cisco --Set Telnet Password
MyRouter(config-line)#logging synchronous --Avoid interruption made by system
messages
MyRouter(config-line)#exit --Exit Interface Configuration Mode
MyRouter(config)#exit --Exit Global Configuration Mode
%SYS-5-CONFIG_I: Configured from console by console
MyRouter#
If you want to use SSH as access protocol instead of telnet, issue "transport input ssh" into Interface Configuration Mode. only this command will not enable ssh. you need to assign a hostname, domain name to the router. you also need to create a cryptographic key for SSH.
No comments:
Post a Comment