Kamis, 20 November 2014

Backup & Restore Config

   A.      Alat dan Bahan

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

   B.      Langkah Kerja

1.       Buat Topologi


2.       Konfigurasi switch :

Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname aditt
aditt(config)#exit
aditt#
%SYS-5-CONFIG_I: Configured from console by console

aditt#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
aditt#reload
Proceed with reload? [confirm]
PT3000 Boot Loader (PT3000-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 18:57 by miwang
Cisco WS-CSwitch-PT (RC32300) processor (revision C0) with 21039K bytes of memory.
Switch-PT starting...

3.       Setting ip address pada switch :

aditt>en
aditt#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
aditt(config)#interface vlan 1
aditt(config-if)#ip address 172.16.11.14 255.255.255.0
aditt(config-if)#no shutdown

aditt(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up

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

aditt(config-if)#end
aditt#
%SYS-5-CONFIG_I: Configured from console by console

4.       Cek ip yang terdapat di interface vlan 1 :

aditt#show interface vlan 1
Vlan1 is up, line protocol is up
  Hardware is CPU Interface, address is 000a.416e.a13a (bia 000a.416e.a13a)
  Internet address is 172.16.11.14/24

5.       Buat config di switch :

aditt#copy running-config flash:
Destination filename [running-config]? config.text
Building configuration...
[OK]

6.       Konfigurasi sever

              

7.       Tes koneksi dari switch ke server :

aditt#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 100 percent (5/5), round-trip min/avg/max = 0/0/2 ms

8.       Back up config ke server :

aditt#dir flash:
Directory of flash:/

    2  -rw-         465          <no date>  config.text
    1  -rw-     3117390          <no date>  pt3000-i6q4l2-mz.121-22.EA4.bin

64016384 bytes total (60898529 bytes free)
aditt#copy running-config tftp:
Address or name of remote host []? 172.16.11.18
Destination filename [aditt-confg]? config.text

Writing running-config...!!
[OK - 465 bytes]

465 bytes copied in 0.013 secs (35000 bytes/sec)

9.       Cek config di server apakah sudah ter-copy di server

















10.   Restore config :

aditt#delete flash:
Delete filename []?config.txt
Delete flash:/config.txt? [confirm]

aditt#dir flash:
Directory of flash:/

    1  -rw-     3117390          <no date>  pt3000-i6q4l2-mz.121-22.EA4.bin

64016384 bytes total (60898994 bytes free)
aditt#copy tftp: flash:
Address or name of remote host []? 172.16.11.18
Source filename []? config.text
Destination filename [config.text]?

Accessing tftp://172.16.11.18/config.text...
Loading config.text from 172.16.11.18: !
[OK - 465 bytes]

465 bytes copied in 0.002 secs (232500 bytes/sec) aditt#dir flash:
Directory of flash:/

    3  -rw-         465          <no date>  config.text
    1  -rw-     3117390          <no date>  pt3000-i6q4l2-mz.121-22.EA4.bin

64016384 bytes total (60898529 bytes free)

0 komentar:

Posting Komentar