Konfigurasi Dasar Switch Cisco Manageable
Untuk melakukan konfigurasi pada switch manageable Cisco, berikut adalah langkah-langkahnya:
- Sambungkan kabel serial dari port console pada switch ke port serial pada komputer.
- Buka program terminal seperti PuTTY atau HyperTerminal pada komputer dan atur pengaturan koneksi serial dengan kecepatan baud rate 9600, 8 data bits, no parity, 1 stop bit, dan no flow control.
- Nyalakan switch dan tunggu hingga booting selesai.
- Masukkan username dan password untuk masuk ke mode konfigurasi. Defaultnya adalah
ciscountuk username dan password kosong. - Setelah masuk ke mode konfigurasi, gunakan perintah-perintah seperti berikut untuk melakukan konfigurasi:
- Untuk memberikan switch sebuah nama:
Switch# configure terminal
Switch(config)# hostname [nama switch]
Switch(config)# end
- Untuk mengatur IP address pada switch:
Switch(config)# interface vlan 1
Switch(config-if)# ip address [alamat IP] [subnet mask]
Switch(config-if)# no shutdown
Switch(config-if)# exit
- Untuk mengatur password untuk masuk ke mode privileged EXEC:
Switch(config)# enable secret [password]
- Untuk mengatur password untuk masuk ke mode konfigurasi:
Switch(config)# username [username] secret [password]
- Untuk mengatur port VLAN:
Switch(config)# interface [nama interface]
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan [nomor VLAN]
- Untuk menyimpan konfigurasi:
Switch# copy running-config startup-config
Itulah beberapa perintah dasar untuk melakukan konfigurasi pada switch manageable Cisco. Pastikan untuk menyimpan konfigurasi setelah selesai melakukan konfigurasi agar konfigurasi yang telah dilakukan tidak hilang ketika switch dimatikan atau restart.
Mengetahu name interface
Untuk mengetahui nama interface pada switch Cisco, Anda dapat menggunakan perintah show interfaces atau show ip interface brief. Berikut adalah langkah-langkahnya:
- Masuk ke mode privileged EXEC dengan menggunakan perintah "enable".
- Gunakan perintah
show interfacesataushow ip interface brief. - Output dari perintah ini akan menampilkan daftar semua interface pada switch beserta nama dan statusnya.
Contoh penggunaan perintah show interfaces:
Switch# show interfaces
GigabitEthernet0/1 is up, line protocol is up
Hardware is Gigabit Ethernet, address is 001c.c43d.b580 (bia 001c.c43d.b580)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is RJ45
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
Output ini menunjukkan bahwa ada sebuah interface yang bernama GigabitEthernet0/1. Anda dapat menggunakan nama ini untuk melakukan konfigurasi pada interface tersebut.
Output ini menunjukkan bahwa ada sebuah interface yang bernama GigabitEthernet0/1. Anda dapat menggunakan nama ini untuk melakukan konfigurasi pada interface tersebut.