Spanning Tree Portfast adalah protocol yang berguna untuk mempercepat proses koneksi. Karena proses koneksi membutuhkan waktu sekitar 50 detik. Jadi, dengan menggunakan Spanning Tree Portfast ini berguna untuk mempercepat. Kita dapat menggunakan PortFast pada port yang terhubung ke satu workstation untuk memungkinkan perangkat terhubung ke jaringan dengan lebih cepat.
Kita dapat menggunakan PortFast untuk menghubungkan stasiun port switch ke port switch yang lain. Jika kita mengaktifkan PortFast pada port yang terhubung ke perangkat lain, kita dapat membuat loop jaringan. Ketika saat perangkat terhubung ke port, port dalam kondisi mendengarkan spanning tree. Saat pengatur waktu kedaluwarsa, port memasuki kondisi membaca. Saat Anda mengaktifkan PortFast pada port trunk, port segera dialihkan ke status penerusan spanning tree.
Pada saat kesempatan kali ini saya akan membuat konfigurasi yang lengkap tentang Spanning Tree, langsung saja ikuti konfigurasi seperti di bawah ini.
Langkah – Langkah Konfigurasi Spanning Tree Cisco
- Konfigurasi satu persatu
- Konfigurasi interface secara langsung semuanya
Konfigurasi nya seperti berikut
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname IDN-SW1
IDN-SW1(config)#int range fa0/1 – fa0/4
IDN-SW1(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc… to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast has been configured on FastEthernet0/1 but will only
have effect when the interface is in a non-trunking mode.
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc… to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast has been configured on FastEthernet0/2 but will only
have effect when the interface is in a non-trunking mode.
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc… to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast has been configured on FastEthernet0/3 but will only
have effect when the interface is in a non-trunking mode.
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc… to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast has been configured on FastEthernet0/4 but will only
have effect when the interface is in a non-trunking mode.
IDN-SW1(config-if-range)#ex
IDN-SW1(config)#
Cara konfigurasi satu persatu sudah selesai, sekarang kita akan coba dengan cara yang kedua yaitu Konfigurasi interface secara langsung semuanya
Konfigurasi dengan seperti berikut
IDN-SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
IDN-SW1(config)#spanning-tree portfast default
IDN-SW1(config)#ex
IDN-SW1#
Selesai hanya seperti itu konfigurasi nya mudah kan
Sekarang kita akan mencoba melihat Spanning Tree Portfast
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0007.EC9E.CB47
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0007.EC9E.CB47
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/4 Desg FWD 19 128.4 P2p
Fa0/3 Desg FWD 19 128.3 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Fa0/1 Desg FWD 19 128.1 P2p
IDN-SW1#
Dengan ini sekarang semua interface nya sudah terkonfigurasi Spanning Tree Portfast,
Jadi seperti itulah konfigurasinya sangat singkat dan mudah sebernarnya konfigurasi nya