Wednesday, March 23, 2016

Config Catalyst 2950


Pertama tama, siapkan dulu putty atau hyperterminal.



Pada kondisi catalyst mati, tekan tombol mode cisco catalyst, lalu tancapkan kabel power. Lihat pada layar putty apabila sudah booting lepaskan tombol mode. Nanti keluar tampilan seperti berikut ini

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 17:18 by antonino
WS-C2950-24 starting...
Base ethernet MAC Address: 00:0e:d7:91:80:00
Xmodem file system is available.

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

switch:

switch: load_helper
# untuk menambah perintah yang ter-hiden
switch: flash_init
# inisialisasi flashing
Initializing Flash...
flashfs[0]: 80 files, 3 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 5402624
flashfs[0]: Bytes available: 2338816
flashfs[0]: flashfs fsck took 7 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch: dir flash:
# untuk melihat isi dari flash
Directory of flash:/

2    -rwx  313       <date>               env_vars
3    -rwx  3097872   <date>               c2950-i6q4l2-mz.121-22.EA4.bin
4    -rwx  2647      <date>               config.text
5    -rwx  1276      <date>               vlan.dat
7    -rwx  110       <date>               info
8    -rwx  5         <date>               private-config.text
9    drwx  2304      <date>               html
84   -rwx  110       <date>               info.ver

2338816 bytes available (5402624 bytes used)
switch: dir flash:
Directory of flash:/

2    -rwx  313       <date>               env_vars
3    -rwx  3097872   <date>               c2950-i6q4l2-mz.121-22.EA4.bin
4    -rwx  2647      <date>               config.text
5    -rwx  1276      <date>               vlan.dat
7    -rwx  110       <date>               info
8    -rwx  5         <date>               private-config.text
9    drwx  2304      <date>               html
84   -rwx  110       <date>               info.ver

2338816 bytes available (5402624 bytes used)
switch: rename flash:config.text flash:config_old.text
# karena config.text dijalankan setelah diflash, maka harus direname config.text ke config_old.text
switch: boot
# untuk melakukan flashing
switch: boot           
Loading "flash:c2950-i6q4l2-mz.121-22.EA4.bin"...##############################
File "flash:c2950-i6q4l2-mz.121-22.EA4.bin" uncompressed and installed, entry po                                                                               
int: 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(22)EA4, RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 23-Mar-05 15:33 by yenanh
Image text-base: 0x80010000, data-base: 0x80562000


Initializing flashfs...

flashfs[1]: 80 files, 3 directories                                  
flashfs[1]: 0 orphaned files, 0 orph                                  
flashfs[1]: Total bytes: 7741440                               
flashfs[1]: Bytes used: 5402624                              
flashfs[1]: Bytes available: 2338816                                   
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 M0) with 21039K bytes of memory.                                                                               

Processor board ID FOC0801X0YR                             
Last reset from system-reset                           
Running Standard Image                     
Running Standard Image                     

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0E:D7:91:80:00
Motherboard assembly number: 73-5781-12
Power supply part number: 34-0965-01
Motherboard serial number: FOC080102Y8
Power supply serial number: PHI075000NP
Model revision number: M0
Motherboard revision number: B0
Model number: WS-C2950-24
System serial number: FOC0801X0YR

         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>en
Switch#

Sampai di sini setingan kembali default. Saatnya config agar switch bisa diremote

Switch#conf t
Switch(config)#enable secret passwordhere
Switch(config)#hostname rhx-sw
rhx-sw(config)#exit
Perhatikan passwordhere merupakan password yang nantinya Anda set sendiri.Password itu nantinya digunakan untuk login pertama. Nanti ada password mode admin untuk mengkonfigurasi secara keseluruhan catalyst anda.

rhx-sw# config
rhx-sw(config)#line vty 0 15
rhx-sw(config-line)#password passwordhere
rhx-sw(config-line)#login
rhx-sw(config-line)#exit

line vty 1 15 bermaksud membuat koneksi untuk remote sampai 16 interasksi. Gampangnya bisa diremote 16 putty. Tentu hal ini bisa anda atur berapa yang dikehendaki. Lalu password admin nya anda atur juga.

Nah sekarang membuat IP pada vlan1 (karena default port yang belum terkonfigurasi adalah vlan1) agar bisa diremote.

rhx-sw# conf t
rhx-sw(config)#int vlan 1
rhx-sw(config-if)#ip address 10.10.111.2 255.255.255.252
rhx-sw(config-if)#no sh
rhx-sw(config-if)#ip
00:20:12: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
rhx-sw(config-if)#ip default-gateway 10.10.111.1
rhx-sw(config)# exit

Nanti bisa diremote dengan ip 10.10.111.2
Sampai di sini sudah selesai, namun perhatikan setiap konfigurasi harus anda simpan agar ketika mati listrik dan up kembali maka setingan akan tersimpan

rhx-sw#write memory
00:21:46: %SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]

rhx-sw#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Selesai :)


No comments:

Post a Comment