Day3 Ch2 Manag IOS
Day3 Ch2 Manag IOS
Day3 Ch2 Manag IOS
• Router(config)#hostname Todd
• Todd(config)#ip domain-name Lammle.com
• Todd(config)#crypto key generate rsa general-keys modulus ?
• <360-2048> size of the key modulus [360-2048]
• Todd(config)#crypto key generate rsa general-keys modulus 1024
• Todd(config)#ip ssh time-out ?
• <1-120> SSH time-out interval (secs)
• Todd(config)#ip ssh time-out 60
• Todd(config)#ip ssh authentication-retries ?
• <0-5> Number of authentication retries
• Todd(config)#ip ssh authentication-retries 2
• Todd(config)#line vty 0 1180
• Todd(config-line)#transport input ssh telnet
Cisco’s Security Device Manager (SDM)
RouterA#show cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbors entries
traffic CDP statistics
<cr>
RouterA(config)#no cdp run
RouterA(config)#interface serial0/0/0
RouterA(config-if)#no cdp enable
Using Cisco Discovery Protocol
RouterA#show cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
traffic CDP statistics
…
RouterA(config)#no cdp run
! Disable CDP Globally
RouterA(config)#interface serial0/0/0
RouterA(config-if)#no cdp enable
! Disable CDP on just this interface
Using the show cdp neighbors
Command
Version :
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(12), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 17-Nov-06 12:02 by prod_rel_team
Additional Cisco Discovery Protocol
Commands
R1#conf t
R1(config)#ip domain-lookup
R1(config)#ip name-server 50.0.0.5 50.0.0.6 -to assign two DNS Server <ip1>
<ip2)
R1#sh hosts
R1#ping test1
Device Configuration Files
Verifying Memory and Deciphering
Image Filenames
RouterX#sh flash
-#- --length-- -----date/time------ path
1 14951648 Feb 22 2007 21:38:56 +00:00 c2800nm-ipbase-mz.124-5a.bin
2 1823 Dec 14 2006 08:24:54 +00:00 sdmconfig-2811.cfg
3 4734464 Dec 14 2006 08:25:24 +00:00 sdm.tar
4 833024 Dec 14 2006 08:25:38 +00:00 es.tar
5 1052160 Dec 14 2006 08:25:54 +00:00 common.tar
6 1038 Dec 14 2006 08:26:08 +00:00 home.shtml
7 102400 Dec 14 2006 08:26:22 +00:00 home.tar
8 491213 Dec 14 2006 08:26:40 +00:00 128MB.sdf
NVRAM
FLASH
R1#sh flash %Verify IOS file NAME%
R1#copy flash tftp
Source File Name:
TFTP ip:
Dest. File Name:
RESTORE
Provide ip to lan port of router
NVRAM
R1#sh flash %verify space available, if less space delete old IOS%
R1#copy tftp flash
Source file:
Tftp ip:
Dest. File:
R1(config)#boot system flash <new IOS>
R1#wr and reload
PASSWORD Breaking