waktu itu saya dikasih kerjaan oleh kantor untuk membersihkan konfig pada switch Cisco 6509 yang besar, pas di nyalain ternyata dipassword, binun dah gimana caranya untuk mem-by pass passwordnya, akhirnya mencoba bertanya pada cisco.com ternyata katanya disuruh teken tombol Ctrl+Break untuk masuk ke rommon (rommon kependekan dari ROM Monitor, masuk kesini jika terjadi fatal error pada saat boot up), masuk ke rommon jika terdapat tulisan seperti ini
System Bootstrap, Version 5.3(1)
Copyright (c) 1994-1999 by cisco Systems, Inc.
c6k_sup1 processor with 65536 Kbytes of main memoryAutoboot executing command: “boot bootflash:cat6000-sup.6-4-20.bin”
monitor: command “boot” aborted due to user interrupt
Exit at the end of BOOT string
romm
rommon 1 >
ketik tanda tanya jika ingin mengetahui perintah yang ada didalamnya, kita ketik perintah “confreg 0×2142″ confreg itu berguna untuk merubah register sistem operasinya, kalo kita masukan 0×2142 berarti kita memberitahu kepada sistem operasi untuk melewatkan atau jangan membaca NVRAM, NVRAM adalah tempat dimana adanya konfigurasi
rommon 1 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
dev list the device table
dir list files in file system
dis disassemble instruction stream
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
meminfo main memory information
repeat repeat a monitor command
reset system reset
set show all monitor variables
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
tscope timer scope loop
unalias unset an alias
xmodem x/y modem download
sleep sleep command
rommon 2 > confreg 0×2142
You must reset or power cycle for new config to take effect
rommon 3 >
tampak tulisan diatas, setelah kita ketik confreg 0×2142 kita disuruh me reset (restart) switch, untuk me restart bisa menggunakan perintah “reset” lalu switch akan melakukan restart, setelah selesai restart maka akan ada tampilan password, kosongkan aja passwordnya lalu akan ada tampilan prompt “Console>”
rommon 3 > reset
System Bootstrap, Version 5.3(1)
Copyright (c) 1994-1999 by cisco Systems, Inc.
c6k_sup1 processor with 65536 Kbytes of main memory
Autoboot executing command: “boot bootflash:cat6000-sup.6-4-20.bin”
Uncompressing file: ##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################################################################
##################################################################System Power On Diagnostics
DRAM Size ………………..64 MB
Testing DRAM………………Passed
Verifying Text Segment …….Passed
NVRAM Size ……………….512 KB
Saving NVRAM ……………..Done
Testing NVRAM …………….Passed
Restoring NVRAM …………..Done
Level2 Cache ……………..Present
Testing Level2 Cache ………Passed
System Power On Diagnostics Complete
Boot image: bootflash:cat6000-sup.6-4-20.bin
Running Complete System Diagnostics from other Supervisor (Module 2)
This may take several minutes….please wait
Running System Diagnostics from this Supervisor (Module 1)
This may take up to 2 minutes….please wait
IP address for Catalyst not configured
DHCP/BOOTP will commence after the ports are online
Ports are coming online …
2011 Aug 15 08:50:39 %SYS-4-NVLOG:initBootNvram:ignore-config enabled: clear config all
Cisco Systems Console
2011 Aug 15 08:50:48 %SYS-3-MOD_PORTINTFINSYNC:Port Interface in sync for Module 1
2011 Aug 15 08:51:30 %SYS-2-PS_FAIL:Power supply 2 failed
2011 Aug 15 08:51:30 %SYS-1-SYS_ENABLEPS: Power supply 1 enabled
2011 Aug 15 08:51:36 %SYS-5-SUP_MODSBY:Module 2 is in standby mode
Enter password: 2011 Aug 15 08:51:37 %SYS-5-MOD_OK:Module 1(WS-X6K-SUP1A-2GE,) is online
2011 Aug 15 08:51:45 %SYS-5-MOD_OK:Module 6(WS-X6348-RJ-45,) is online
2011 Aug 15 08:51:50 %SYS-5-MOD_OK:Module 7(WS-X6348-RJ-45,) is online
2011 Aug 15 08:51:55 %SYS-5-MOD_OK:Module 3(WS-X6348-RJ-45,) is online
2011 Aug 15 08:52:00 %SYS-5-MOD_OK:Module 5(WS-X6348-RJ-45,) is online
2011 Aug 15 08:52:05 %SYS-5-MOD_OK:Module 4(WS-X6348-RJ-45,) is online
2011 Aug 15 08:52:10 %SYS-5-MOD_OK:Module 8(WS-X6348-RJ-45,) is online
2011 Aug 15 08:52:12 %SYS-5-SUP_IMGSYNC:File synchronization process will start in 10 seconds
2011 Aug 15 08:52:40 %SYS-5-SUP_IMGSYNCSTART:Active supervisor is synchronizing bootflash:cat6000-sup.6-4-20.bin
2011 Aug 15 08:53:13 %SYS-5-PORT_SSUPOK:Ports on standby supervisor (module 2) are up
2011 Aug 15 08:53:23 %SYS-3-MOD_PORTINTFINSYNC:Port Interface in sync for Module 2
2011 Aug 15 08:53:33 %SYS-5-SUP_IMGSYNCFINISH:Active supervisor has synchronized bootflash:cat6000-sup.6-4-20.bin
Enter password:
Console>
nahhh berhasil deh kita mem-bypass password, sebelum mereset password kita masuk dulu ke mode privileged, masuk dengan ketik perintah “enable”, passwordnya bisa kita kosongkan saja dengan langsung tekan enter, lalu kita bisa reset password dengan mengetik “set password” jika ditanyakan password lama kita tekan enter saja dan kita masukkan password baru kita 2x, untuk merubah password privileged mode masukkan perintah ” set enablepass” jika ditanya password lama kita bisa kosongkan dan kita masukkan password baru 2x
Console> enable
Enter password:
Console> (enable) set password
Enter old password:
Enter new password:
Retype new password:
Password changed.
Console> (enable) set enablepass
Enter old password:
Enter new password:
Retype new password:
Password changed.
Console> (enable)
selesai sudah deh kita mem-bypass passwordnya, selanjutnya jika kita ingin clear config sebenarnya kita gak harus setting lagi password, kita langsung aja clear config, untuk clear config kita bisa menggunakan perintah “clear config all” untuk membersihkan modulnya kita bisa menggunakan perintah ” clear config ” atau contohnya “clear config 1″ untuk membersihkan konfig di module 1
Console> (enable) clear config all
This command will clear all configuration in NVRAM.
This command will cause ifIndex to be reassigned on the next system startup.
Do you want to continue (y/n) [n]? y
…2011 Aug 15 09:50:18 %SECURITY-1-DOT1X_BACKEND_SERVER:No Radius servers configured
……..
……….
………………………………………………..
………………………………………………..
………………………………………………..
………………………………………………..
………………………………………………..
……………………………………………..2011 Aug 15 09:50:42 %SYS-5-SUP_IMGSYNCSTART:Active supervisor is synchronizing bootflash:cat6000-sup.6-4-20.bin
…
System configuration cleared.
Console> (enable)
Salam,
danuwi
sent with my Lucid Lynx under Dell Latitude D630

