BACKUP &
INSATLL IOS CISCO
~~~~~~~~~~~~~~~~~~~~~~~~~~
Back up configurasi
yang ada pada perangkat switch
sebelum melakukan
upgrade :
- Show Running-config
- Show interface description
- Show ip interface brief
- Show Interface status
- Show cdp neighbors
- Show ip arp
- Show ip route
- Dir all
- Sh Boot var
- Sh ver
- sh vlan
SAVE
di notepad yaa
Pastikan size free
atau space storage
untuk memasukkan IOS terbaru mencukupi
1* install dan
setting aplikasi TFTP server
arahkan ke IOS
terbaru yg ada di folder PC
2* setting IP PC
pastikan bisa
ping antara PC dan SW
3* backup flash/IOS
existing
| copy flash:
tftp: ENTER AJA
| Address or name
of remote host []? MASUKAN IP TFTP/PC NYA
| Source filename
[]? NAMA FILE IOS TERBARU NYA
| Destination
filename [C2960-LANBASEK9-M]? tambahkan note pada file backup
periksa apakah
flash sudah ter backup di folder tftp
3* Install/copy
flash terbaru
| copy tftp:
flash: ENTER AJA
| Source filename
[]? NAMA FILE IOS NYA
| Address or name
of remote host []? IP TFTP NYA /PC
pastikan flash
baru sudah terinstall
4* setting booting
switchnya ke ios terbaru
| boot system
namafileterbaru.bin
| exit
5* save config
| wr
6* restart switchnya
tidak sampai 1 menit
| reload
| yes
7* sh version
- Show Running-config
- Show interface description
- Show ip interface brief
- Show Interface status
- Show cdp neighbors
- Show ip arp
- Show ip route
- Dir all
- Sh Boot var
- Sh ver
- sh vlan SAVE di
notepad yaa
Compare dengan config
lama
tolls yg diperlukan
~~~~~~~~~~~~~~~~
> PC
> aplikasi TFTP
SERVER
> IOS terbaru
nya
----------------------------------------------------------------------------------
Tambahan:
Pastikan size free
atau space storage
yang akan dimasukan
IOS mencukupi untuk ukuran file IOS tersebut.
Command :
R1-Jkt-2811#dir disk0: <-- untuk melihat kapasitas disk0:
disk0:
atau gunakan command berikut untuk melihat seluruh disk yang
tersedia
R1-Jkt-2811#dir all
Directory of nvram:/
139 -rw- 8855 startup-config
140 ---- 2982 private-config
1 -rw- 0 ifIndex-table
2 ---- 12 persistent-data
155640 bytes total (141703 bytes free)
Directory of system:/
2 drwx 0 its
87 dr-x 0 memory
1 -rw- 8855 running-config
86 dr-x 0 vfiles
No space information available
Directory of flash:/
1 -rw- 20751928 Mar 1 1993 07:04:54 +07:00
c3745-entservicesk9-mz.123-6a.bin
2 -rw- 1888 Mar 1 1993 07:06:14 +07:00
sdmconfig-36xx-37xx.cfg
3 -rw- 16264 Mar 1 1993 07:06:26 +07:00 sdm.shtml
4 -rw- 3176448 Mar 1 1993 07:06:48 +07:00 sdm.tar
5 -rw- 1462 Mar 1 1993 07:07:00 +07:00 home.html
6 -rw- 216064 Mar 1 1993 07:07:14 +07:00 home.tar
32329728 bytes total (8155136 bytes free)
R1-Jkt-2811#
- Back up IOS lama yang ada pada perangkat cisco dengan cara
mengcopy ke tftp server
Command to Copy existing IOS ke tftp server :
R1-Jkt-2811#copy disk0: tftp: <-- copy dari disk0 Router
ke tftp
Source filename ?c2811.122-33.SRB3.bin <-- File IOS Lama
Address or name of remote host ? 10.10.10.2 <-- ip
address Host TFTP server
Destination filename
[c2811.122-33.SRB3.bin]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
113153060 bytes copied in 52.588 secs (211752 bytes/sec)
R1-Jkt-2811#
1. Pastikan versi IOS
Pertama, cek isi dari
flash card dengan menggunakan dir flash: dan pastikan free space untuk ios yang
baru untuk berjaga-jaga.
# dir flash:c3750-ipbasek9-mz.122-35.SE5.bin
Lalu pastikan versi IOS yang sedang berjalan dengan
menggunakan show version,
seharusnya file ios adalah sama.
# show ver
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 24 WS-C3750G-24T 12.2(35)SE5 C3750-IPBASEK9-M 2.
2. Persiapkan IOS baru.
Anda bisa mendapatkan ios dari pihak vendor bilamana anda memiliki hak
atas IOS tersebut. Lalu jalankan tftp server,
anda bisa menggunakan software tftpd32, solarwinds ,
3Cdaemon DLL
dengan sebelumnya mematikan service tidak perlu di software
tersebut seperti dhcp server. Pointing directory dimana ios berada
3. Delete file lama
bila perlu
Bila free space flash card masih ada, anda bisa langsung
mencopynya bila tidak anda perlu menghapus ios lama terlebih dahulu
# delete /f /r flash:c3750-ipbase-mz.122.35-35.SE5
4. Copy ios image ke cisco switch
# copy tftp flash
>Address or name of remote host? 192.168.1.10
>source filename? c3750-ipbasek9-mz-122-55.SE1.bin
>Destination filename? c3750-ipbasek9-mz-122-55.SE1.bin
Setelah proses copy selesai pastikan isi ios image tersebut
di flash card
# dir flash: c3750-ipbasek9-mz-122-55.SE1.bin
5. Ubah Patch dari
boot switch
Mengarahkan boot system ke file yang baru
Sebelum merubah anda bisa melihat konfigurasi boot sekarang
denga show boot,
setelah itu gunakan
perintah “boot system” untuk mengubahnya
# show boot
# config t
# boot system flash:c3750-ipbasek9-mz-122-55.SE1.bin
6. Cek konfigurasi dan restart switch
Verifikasi konfigurasi boot saat ini, simpan lalu restart switch
untuk meload ios baru
# show boot
# write mem
# reload
7. Cek terakhir setelah upgrade ios
Cek ios yang berjalan saat ini , seharusnya sudah berubah
dari sebelumnya
# show ver
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 24 WS-C3750G-24T 12.2(55)SE1 C3750-IPBASEK9-M