5 Managing Cisco IOS
5 Managing Cisco IOS
5 Managing Cisco IOS
Accessing tftp://192.168.1.3/backup.dat...
Loading backup.dat from 192.168.1.3: !
[OK - 762 bytes]
R1#
IOS Recovery
rommon 1 > IP_ADDRESS=192.168.1.5
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.1.5
rommon 4 > TFTP_SERVER=192.168.1.3
rommon 5 > TFTP_FILE= c2600-advipservicesk9-mz.124-15.T1.bin
rommon 6 > tftpdnld
Cisco#reload
Proceed with reload? [confirm] [ENTER]
Password Encryption
• By default, enable password, console password and username
password will not encrypts.
• The command service password-encryption will encrypt the
password using Level-7 Algorithm.
• Level 7 Algorithm = Very weak encryption system
Password Encryption
Router>en
Router#conf t
Router(config)#service password-encryption
– Encrypts current and future passwords using Level 7 Algorithm
– Does not encrypt secret password
Router(config)#no service password-encryption
– Does not encrypts future passwords.
• Router(config)#end
Router#
Verify
Router#show run
«output omitted»
enable secret 5 $1$mERr$y/Ce7lzaUL0HOujQUgwuB/
enable password 7 08701E1D5D4C
«output omitted»
line con 0
password 7 08204E4D0D1C03
login
«output omitted»
end
Level-7 Password Decryption
Name Resolutions
• Translating Name to IP Address
• Types
– IP Host Entry (Manual)
– DNS Lookup (Automatic)
• Verify
– Router#show hosts
Name Resolutions
1. IP Host Entry
Router>en
Router#conf t
Router(config)#no ip domain-lookup
Router(config)#ip host Device_Name IP_Address
Router(config)#end
Router#
IP Host Entry
R1>en
R1#conf t
R1(config)#no ip domain-lookup
R1(config)#ip host c1 10.0.0.1
R1(config)#ip host c2 10.0.0.2
R1(config)#ip host c3 10.0.0.3
R1(config)#ip host s1 10.0.0.4
R1(config)#ip host r1 10.0.0.5
R1(config)#end
R1#
Verify
R1#show hosts
Default Domain is not set
Name/address lookup uses domain service
Name servers are 255.255.255.255
Host Port Flags Age Type Address(es)
R1#disconnect 1
Closing connection to 11.0.0.2 [confirm]
R1#