End user Agreements:
Tutorial ini dibuat hanya untuk para newbies. Buat para expert mohon bimbingannya .
Penulis adalah seorang newbie yg hanya mencoba2 bikin tutorial. Jadi maap2 aja klo kagak bener apa lagi ngaco. ………………..,,
Jgn Menggunakan Device Operational, Kalo ada apa2 bisa Dipecat!!! jgn salahin gw
Gw coba praktek make switch CISCO CATALYST 2900
—-start here—
lihat tombol2 yg ada di switch tsb, disana ada tombol “MODE“
ketika switch br di idupin cepet2 pencet tombol MODE tsb, smp muncul kotak di bawah ini
The system has been interrupted prior to initializing the flash filesystem. The following commands will initialize the flash filesystem, and finish loading the operating system software: flash_init load_helper boot
smp muncul prompt :
switch:
trs masukin command :
switch:load_helper
selanjutnya masukin command di bawah ini :
switch: flash_init Initializing Flash... flash fs[0]: 18 files, 2 directories flash fs[0]: 0 orphaned files, 0 orphaned directories flash fs[0]: Total bytes: 7741440 flash fs[0]: Bytes used: 3966464 flash fs[0]: Bytes available: 3774976 flash fs[0]: flash fs fsck took 7 seconds. ...done initializing flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4
berfungsi utk menginisialisasi flash system image pada switch :
lalu kita bs cek isi switch dengan menggunakan perintah “dir” (kok sama ky windows π )
nah folder yg mau kita rubah adalah folder flash
selanjutnya spt ini
switch: dir flash: Directory of flash:/ 2 -rwx 2664051 <date> c2950-i6q4l2-mz.121-11.EA1.bin 3 -rwx 269 <date> env_vars 4 -rwx 2296 <date> vlan.dat 5 -rwx 3441 <date> config.text 6 -rwx 5 <date> private-config.text 7 drwx 704 <date> html 19 -rwx 109 <date> info 20 -rwx 109 <date> info.ver 3774976 bytes available (3966464 bytes used)
Dari hasil diatas dapat kita liat file IOS disimpan disini, data2 vlan serta startup-config yaitu config.text.
file config.text inilah yg diload pada saat switch booting. Nah, thinking of something? kalo kita bisa
dapetin/edit itu file, maka bisa kita manipulasi tuh enable secret. that’s how it works.
here’s the main method, ……………
kita rename file config.text menjadi config.text.old
caranya adalah sebagai berikut:
switch: rename flash:config.text flash:config.text.old ----Cek Hasil----- switch: dir flash: Directory of flash:/ 2 -rwx 2664051 <date> c2950-i6q4l2-mz.121-11.EA1.bin 3 -rwx 269 <date> env_vars 4 -rwx 2296 <date> vlan.dat 5 -rwx 3441 <date> config.text.old 6 -rwx 5 <date> private-config.text 7 drwx 704 <date> html 19 -rwx 109 <date> info 20 -rwx 109 <date> info.ver 3774976 bytes available (3966464 bytes used) switch:
dapat dilihat bahwa file config.text berubah menjadi config.text.old
setelah itu ki restart switch dengan cara:
switch: boot
setelah command boot di execute :
switch: boot Loading "flash:/c2950-i6q4l2-mz.121-11.EA1.bin"...############################################ ############################################################### ############################################################### ############################################################### ################################################ File " flash:/c2950-i6q4l2-mz.121-11.EA1.bin" uncompressed and installed, entry point: 0x80010000 executing... Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Wed 28-Aug-02 10:25 by antonino Image text-base: 0x80010000, data-base: 0x80528000 Initializing flashfs... flashfs[1]: 18 files, 2 directories flashfs[1]: 0 orphaned files, 0 orphaned directories flashfs[1]: Total bytes: 7741440 flashfs[1]: Bytes used: 3966464 flashfs[1]: Bytes available: 3774976 flashfs[1]: flashfs fsck took 7 seconds. flashfs[1]: Initialization complete. Done initializing flashfs. POST: System Board Test : Passed POST: Ethernet Controller Test : Passed ASIC Initialization Passed POST: FRONT-END LOOPBACK TEST : Passed cisco WS-C2950-24 (RC32300) processor (revision G0) with 20402K bytes of memory. Processor board ID FOC0652Y1DH Last reset from system-reset Running Standard Image 24 FastEthernet/IEEE 802.3 interface(s) 32K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address: 00:0B:BE:DE:C2:40 Motherboard assembly number: 73-5781-11 Power supply part number: 34-0965-01 Motherboard serial number: FOC06520A0V Power supply serial number: PHI06470GKF Model revision number: G0 Motherboard revision number: A0 Model number: WS-C2950-24 System serial number: FOC0652Y1DH --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]:
look at the result, like the new switch huh?
yaap karena kita udah manipulasi file startup-config, sehingga switch menanyakan “Would you like to enter the initial configuration dialog? [yes/no]:”
so what we gonna do then??
ketik “no” untuk membaypass initial configuration mode.
the next step as follows:
Switch>en Switch#dir Directory of flash:/ 2 -rwx 2664051 Mar 01 1993 00:03:22 c2950-i6q4l2-mz.121-11.EA1.bin 3 -rwx 269 Jan 01 1970 00:01:24 env_vars 4 -rwx 2296 Mar 28 1993 22:10:35 vlan.dat 5 -rwx 3441 Mar 08 1993 22:54:27 config.text.old 6 -rwx 5 Mar 08 1993 22:54:27 private-config.text 7 drwx 704 Mar 01 1993 00:03:59 html 19 -rwx 109 Mar 01 1993 00:04:01 info 20 -rwx 109 Mar 01 1993 00:04:01 info.ver 7741440 bytes total (3774976 bytes free) Switch#rename flash:config.text.old flash:config.text Destination filename [config.text]?
aha kita sudah masuk ke mode “enable” tanpa hrs make pwd, selanjutnya terserah anda π π