Beruflich Dokumente
Kultur Dokumente
OVERVIEW
The
CONFIGURATION
REGISTER
Router(config)#config-register 0x2142
Notice that bit 6 can be used to ignore the NVRAM contents. If it is enabled.
RECOVERING PASSWORDS
Here are the main steps to password recovery:
1. Interrupting the Router Boot Sequence by pressing the Ctrl+Break key
combination when using HyperTerminal and while the router first reboots.
The command prompt will be like that.
rommon 1 >
2. Changing the Configuration Register to ignore NVRAM contents by using
this command
rommon 1 > confreg 0x2142
3. Reloading the Router and Entering Privileged Mode by this
command
rommon 1 > reset
The router will reload and ask if you want to use setup mode answer NO.
4. Copy startup-config to running-config in Privileged Mode by using
this command
Router#copy start run
RECOVERING PASSWORDS
5. Change password by setting new password
Router#conf t
Router(config)#enable secret kkkk
6. Change the value of configuration register to enable NVRAM
contents
Router(config)#config-register 0x2102
7. Save your work
Router#reload
Before you upgrade or restore a Cisco IOS, you really should copy the
existing file to a TFTP or FTP host as a backup just in case the new
image crashes and burns.
To back up the Cisco IOS to a TFTP server, you use this command
Router#copy flash FTP
OR
This command requires only the source filename and the IP address
of the TFTP or FTP server.
The key to success in this backup routine is to make sure that youve got
good, solid connectivity to the TFTP server. Check this by pinging the
device from the router.
Router#ping FTP_server
flash command.
You can download the file from a TFTP or FTP server to flash memory
by this command
This command requires the IP address of the FTP server and the
name of the file you want to download.
You are prompted to make sure that you really want to proceed with
erasing flash memory.
To copy the routers configuration from a router to a FTP server, you can
use these commands.
Router#copy run
FTP
Router#copy start FTP
RESTORING ROUTER
CONFIGURATION
CISCO DISCOVERY
PROTOCOL
CDP is a proprietary protocol designed by Cisco to help administrators
By using CDP, you can gather hardware and protocol information about
neighbor devices, which is useful info for troubleshooting and
documenting the network.
The show cdp command gives you information about two CDP global
parameters that can be configured on Cisco devices:
CDP timer
CDP holdtime the amount of time that the device will hold
packets received from neighbor devices.
Router#sh cdp
Use the global commands cdp holdtime and cdp timer to configure the CDP
holdtime and timer on a router:
Router(config)#cdp timer 90
Router(config)#cdp holdtime 240
Router#sh
cdp nei
Router(config)#int s0
Router(config-if)#no cdp enable