Thursday 23 September 2010

cisco router password reset

Connect your console cable, and using hyperterm at

9600 baud, No parity, 8 data & 1 stop bit with now flow control


Turn on the router, you should see the post start. Keep hitting shift+break ( sometimes shift+fn+break on laptops )

the switch should enter the rommon

rommon>

Type confreg 0x2142 at the rommon 1> To bypass the config on next load.

Type reset to reset the router.

The router will reboot without config, don't run the auto setup.


Type enable to enter priv mode

The router> prompt should change to router#

now that you are in enable mode ( no password needed ) you can load the configuration.

type copy start run
type show run
type conf t to enter config mode

Router(config)#

Type enable secret apassword tto set the password

Type config-register 0x2102 to set the router to load conf on boot

Type copy run start to save the config

type reload to restart the router

Cisco port forward a range.

Not tried this myself, but if you want to port forward a range of ports then try this..

Will giv it a go when I have time.

http://www.iternity.co.uk/phorum/read.php?8,18,18,quote=1

Rob

Friday 10 September 2010

Reset A Cisco Catalyst switch to defaults.

Dead easy this one.

to clear the config

#write erase

then

#del flash:vlan.dat

I actualy back up both the config and vlans beforehand

copy run flash:config.old
copy flash:vlan.dat flash:vlan.old

just in case....

http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml