Kamis, 20 November 2014

Backup & Restore IOS

   A.      Alat dan Bahan

ü  1 Unit PC/Leptop
ü  Packet tracer
ü  Topologi cisco

   B.      Langkah Kerja


             Topologi


Konfigurasi server TFTP

1.       Klik server kemudian pilih dersktop lalu ip configuration, setting ip sesuai dengan jaringan yang kita inginkan

       

            Konfigurasi switch

1.       Remote switch menggunakan kabel konsol, pada menu desktop pilih terminal

        

2.       Kemudian klik OK untuk meremot switch

        

3.       Setting ip address pada switch agar terkoneksi ke server TFTP di server
Switch>en
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
  as VLAN database mode is being deprecated. Please consult user
  documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vlan 10
VLAN 10 added:
    Name: VLAN0010
Switch(vlan)#ex
APPLY completed.
Exiting....
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport access vlan 10
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#interface vlan 10
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to up

Switch(config-if)#ip address 172.16.11.14 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#

4.       Cek ip yang terdapat di interface vlan 10

Switch#sh interface vlan 10
Vlan10 is up, line protocol is up
  Hardware is CPU Interface, address is 0060.47a5.0924 (bia 0060.47a5.0924)
  Internet address is 172.16.11.14/24

5.       Tes koneksi dari switch ke server

Switch#ping 172.16.11.18

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.11.18, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms

Backup IOS switch ke server TFTP

1.       Untuk membackup IOS switch ke TFTP server kita harus tau versi IOS yang sedang kita gunakan di switch, cara untuk melihatnya :







2.       Lakukan pengcopyan IOS switch cisco ke server TFTP

Switch#copy flash: tftp:
Source filename []? pt3000-i6q4l2-mz.121-22.EA4.bin
Address or name of remote host []? 172.16.11.18
Destination filename [pt3000-i6q4l2-mz.121-22.EA4.bin]? pt3000-i6q4l2-mz.121-22.EA4.backup.bin

Writing pt3000-i6q4l2-mz.121-22.EA4.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 3117390 bytes]

3117390 bytes copied in 0.447 secs (6974000 bytes/sec)
Switch#

3.       Cek file di server apakah sudah ter-copy di server

















            Restore IOS ke server TFTP

1.       Delete IOS lama yang ada di switch

Switch#delete flash:
Delete filename []?pt3000-i6q4l2-mz.121-22.EA4.bin
Delete flash:/pt3000-i6q4l2-mz.121-22.EA4.bin? [confirm]

Switch#

2.       Copy IOS yang ada di TFTP server ke dalam switch

Switch#copy tftp: flash:
Address or name of remote host []? 172.16.11.18
Source filename []? pt3000-i6q4l2-mz.121-22.EA4.backup.bin
Destination filename [pt3000-i6q4l2-mz.121-22.EA4.backup.bin]?

Accessing tftp://172.16.11.18/pt3000-i6q4l2-mz.121-22.EA4.backup.bin...
Loading pt3000-i6q4l2-mz.121-22.EA4.backup.bin from 172.16.11.18: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 3117390 bytes]

3117390 bytes copied in 0.351 secs (8881452 bytes/sec)
Switch#dir flash:
Directory of flash:/

    3  -rw-     3117390          <no date>  pt3000-i6q4l2-mz.121-22.EA4.backup.bin
    2  -rw-         616          <no date>  vlan.dat

64016384 bytes total (60898378 bytes free)
Switch#

0 komentar:

Posting Komentar