2013年6月6日 星期四

Security Basic Password Authentication

Security Basic Password Authentication


0.setting enable secret password

1.setting console password:ciscoconsole

2.setting vty(virtual type terminal) password for telnet or ssh :ciscovty


-----------------------------------------------------------------------------
1.
Router>
Router>en
Router#config
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
Router(config)#enable secret cisco
Router(config)#
Router(config)#line console 0
Router(config-line)#password ciscocon
Router(config-line)#login
Router(config-line)#end

%SYS-5-CONFIG_I: Configured from console by console
Router#
Router#
Router#exit


User Access Verification

Password:

Router>
-----------------------------------------------------------------------------

2.
R1#
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#ip add 10.1.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#line vty 0 4
R1(config-line)#password ciscovty
R1(config-line)#login
R1(config-line)#exit
R1(config)#end
R1#


//------------------------------------
PC: ip address 10.1.1.10/24
//------------------------------------


PC>telnet 10.1.1.1
Trying 10.1.1.1 ...Open


User Access Verification

Password:
Router>en
Password:
Router#
Router#
-----------------------------------------------------------------------------





沒有留言:

張貼留言