PORT SECURITY
1. Password
Console
Router(config)#username
admin password cisco
Router(config)#line
console 0
Router(config-line)#login
local
Router(config-line)#exit
Router(config)#exit
Router#exit
User Access
Verification
Username: admin
Password:
Router>
2. Password
Privilege
Contoh
Router>enable
Router#configure
terminal
Router(config)#enable
password cisco
Router(config)#enable
secret class
Router(config)#exit
Router#
Router#disable
Router>
Router>enable
Password:
Router#
TELNET
Contoh
Router(config)#hostname
Router1
Router1(config)#line
vty 0 4
Router1(config-line)#password
aman
Router1(config-line)#login
Mencoba login
telnet
PC>telnet
10.10.2.1
Trying 10.10.2.1
…Open
User Access
Verification
Password:
R1>
SSH
Contoh
Router1(config)#username
cisco password ccna
Router1(config)#ip
domain name cisco.com
Router1(config)#crypto
key generate rsa
The name for the
keys will be: s1.cisco.com
How many bits in
the modulus [512]: 1024
% Generating 1024
bit RSA keys, keys will be non-exportable...[OK]
Router1(config)#line
vty 0 15
Router1(config-line)#transport
input ssh
Router1(config-line)#login
local
Router1(config-line)#ip
ssh version 2
Router1(config)#exit
Pengujian
PC>ssh –l cisco 10.10.2.1
Tidak ada komentar:
Posting Komentar