Sunteți pe pagina 1din 54

Virtual Local Area Network (VLANs)

PRAKTEK VLAN (2)

SYAIFUL AHDAN, S.KOM

DESAIN

VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192.168.50.0/24


VLAN 1

VLAN 2 VLAN 3 VLAN 4 VLAN 5

Marketing Finance Support Operaion


VLAN Member

SYAIFUL AHDAN, S.KOM

1.AlokasiIP
Device Switch A Computer Computer Computer Switch B C Computer t Computer Computer Switch C Computer Computer Computer Type 2950-24 PC PC PC 2950-24 PC PC PC 2950-24 PC PC PC Hostname teknoswitch_a Host_A Host_B Host_C teknoswitch_b H t D Host_D Host_E Host_F teknoswitch_c Host_G Host_H Host_I Vlan Members VLAN 1 VLAN 2 VLAN 4 VLAN 3 VLAN 1 VLAN 2 VLAN 5 VLAN 3 VLAN 1 VLAN 4 VLAN 2 VLAN 5 IP addres 172.16.10.3 192.168.20.2 192.168.40.3 192.168.30.3 172.16.10.4 192 168 20 4 192.168.20.4 192.168.50.3 192.168.30.4 172.16.10.5 192.168.40.4 192.168.20.5 192.168.50.4 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255 255 255 0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 Gateway 172.16.10.1 192.168.20.1 192.168.40.1 192.168.30.1 172.16.10.1 192 168 20 1 192.168.20.1 192.168.50.1 192.168.30.1 172.16.10.1 192.168.40.1 192.168.20.1 192.168.50.1 Interface

SYAIFUL AHDAN, S.KOM

1.AlokasiIP
Device Switch D Computer Computer Computer Switch E Computer Computer Computer Switch M Type 2950-24 PC PC PC 2950-24 PC PC PC 2950-24 Hostname teknoswitch_d Host_J Host_K Host_L teknoswitch_e Host M Host_M Host_N Host_O teknoswitch_main Vlan Members VLAN 1 VLAN 3 VLAN 4 VLAN 2 VLAN 1 VLAN 5 VLAN 3 VLAN 4 VLAN 1 IP addres 172.16.10.6 192.168.30.5 192.168.40.5 192.168.20.6 172.16.10.7 192 168 50 5 192.168.50.5 192.168.30.6 192.168.40.6 172.16.10.2 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255 255 255 0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 Gateway 172.16.10.1 192.168.30.1 192.168.40.1 192.168.20.1 172.16.10.1 192 168 50 1 192.168.50.1 192.168.30.1 192.168.40.1 172.16.10.1 Fa 0/1 Interface

Sub Interface Fa0/0.1 Fa0/0.2 Fa0/0.3 Fa0/0.4 Fa0/0.5

VLAN Gateway VLAN Switch VLAN 2 VLAN 3 VLAN 4 VLAN 5

IP address 172.16.10.1 172.16.20.1 172.16.30.1 172.16.40.2 172.16.50.1

Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0

VLAN Member Marketing Finance Support Operation

VLAN ID VLAN 2 VLAN 2 VLAN 3 VLAN 4 VLAN 5

Network 172.16.10.0 192.168.20.0 192.168.30.0 192.168.40.0 192.168.50.0

SYAIFUL AHDAN, S.KOM

InterfaceKoneksi
Device Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950 2950-24 24 Switch 2950-24 Device name teknoswitch_main teknoswitch_main teknoswitch_main teknoswitch_main teknoswitch main teknoswitch_main teknoswitch_main Interface Fa0/1 Fa0/5 Fa0/6 Fa0/7 Fa0/8 Fa0/9 Koneksi ke Router 2620XM Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950 2950-24 24 Switch 2950-24 Device Name Teknorouter_VLAN teknoswitch_A teknoswitch_B teknoswitch_C teknoswitch D teknoswitch_D teknoswitch_E Interface Fa0/0 Fa0/0.1 Fa0/0.1 Fa0/0.1 Fa0/0.1 Fa0/0.1

SYAIFUL AHDAN, S.KOM

1.KonfigurasiRouterVLAN Setting Hostname Setting Password S tti Subinterface Setting S bi t f Setting encapsulation dot1q x Setting ip address untuk segmentasi VLAN

SYAIFUL AHDAN, S.KOM

SystemBootstrap
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1) Copyright (c) 2000 by cisco Systems, Inc. cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory Self decompressing the image : ######################### [OK] 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 W West t T Tasman D Drive i San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Wed 27-Apr-04 19:01 by miwang cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory . Processor board ID JAD05190MTZ (4292891495) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 32K bytes of non-volatile non volatile configuration memory memory. 63488K bytes of ATA CompactFlash (Read/Write) Press RETURN to get started! %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console

System Bootstrap

SYAIFUL AHDAN, S.KOM

SettingHostname&Password
set nama hostname router

Router>enable Router#config t Enter configuration commands, one per line. Router(config)# ( fi )#hostname h t t teknorouter_VLAN k t VLAN teknorouter_VLAN(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknorouter_VLAN(config)#enable secret ciscotek teknorouter_VLAN(config)# k ( fi )#


Konfigurasi password line console 0

teknorouter_VLAN(config)#line console 0 teknorouter_VLAN(config-line)#password ciscotek teknorouter_VLAN(config-line)# k ( fi li )#login l i teknorouter_VLAN(config-line)#exit teknorouter_VLAN(config)#


Konfigurasi password line vty 0 4

teknorouter_VLAN(config)#line vty 0 4 teknorouter_VLAN(config-line)#password ciscotek teknorouter_VLAN(config-line)#login teknorouter_VLAN(config-line)#exit teknorouter VLAN(config)#service password teknorouter_VLAN(config)# password-encryption encryption teknorouter_VLAN(config)#
SYAIFUL AHDAN, S.KOM

SettingInterface&SubInterfaceRouter
setting Interface fa0/0

teknorouter_VLAN(config)#interface fa 0/0 teknorouter_VLAN(config-if)#no ip address teknorouter_VLAN(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up teknorouter_VLAN(config-if)#exit teknorouter_VLAN(config)#

SYAIFUL AHDAN, S.KOM

SettingInterface&SubInterfaceRouter
setting sub-Interface fa0/0.1 [ VLAN Gateway : VLAN 1]

teknorouter_VLAN(config)#interface fa0/0.1 %LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up %LINEPROTO 5 UPDOWN Line %LINEPROTO-5-UPDOWN: Li protocol t l on Interface I t f FastEthernet0/0.1, F tEth t0/0 1 changed h d state t t to up teknorouter_VLAN(config-subif)#encapsulation dot1Q 1 teknorouter_VLAN(config-subif)#ip address 172.16.10.1 255.255.255.0 teknorouter_VLAN(config-subif)# _ exit teknorouter_VLAN(config)# setting sub-Interface fa0/0.2 [ VLAN Gateway : VLAN 2] teknorouter_VLAN(config)# teknorouter VLAN(config)#interface fa0/0.2 %LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up teknorouter_VLAN(config-subif)#encapsulation dot1Q 2 teknorouter_VLAN(config-subif)# k ( fi bif)#ip i address dd 192 168 20 1 255 192.168.20.1 255.255.255.0 255 255 0 teknorouter_VLAN(config-subif)#exit teknorouter_VLAN(config)#

SYAIFUL AHDAN, S.KOM

SettingInterface&SubInterfaceRouter
setting sub-Interface fa0/0.3 [ VLAN Gateway : VLAN 3]

teknorouter_VLAN(config)#interface fa0/0.3 %LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up %LINEPROTO 5 UPDOWN Line %LINEPROTO-5-UPDOWN: Li protocol t l on Interface I t f FastEthernet0/0.3, F tEth t0/0 3 changed h d state t t to up teknorouter_VLAN(config-subif)#encapsulation dot1Q 3 teknorouter_VLAN(config-subif)#ip address 192.168.30.1 255.255.255.0 teknorouter_VLAN(config-subif)# _ exit teknorouter_VLAN(config)# setting sub-Interface fa0/0.4 [ VLAN Gateway : VLAN 4] teknorouter_VLAN(config)# teknorouter VLAN(config)#interface fa0/0.4 %LINK-5-CHANGED: Interface FastEthernet0/0.4, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.4, changed state to up teknorouter_VLAN(config-subif)#encapsulation dot1Q 4 teknorouter_VLAN(config-subif)# k ( fi bif)#ip i address dd 192 168 40 1 255 192.168.40.1 255.255.255.0 255 255 0 teknorouter_VLAN(config-subif)#exit teknorouter_VLAN(config)#

SYAIFUL AHDAN, S.KOM

SettingInterface&SubInterfaceRouter
setting sub-Interface fa0/0.5 [ VLAN Gateway : VLAN 5]

teknorouter_VLAN(config)#interface fa0/0.5 %LINK-5-CHANGED: Interface FastEthernet0/0.5, changed state to up %LINEPROTO 5 UPDOWN Line %LINEPROTO-5-UPDOWN: Li protocol t l on Interface I t f FastEthernet0/0.5, F tEth t0/0 5 changed h d state t t to up teknorouter_VLAN(config-subif)#encapsulation dot1Q 5 teknorouter_VLAN(config-subif)#ip address 172.16.50.1 255.255.255.0 teknorouter_VLAN(config-subif)# _ ^Z %SYS-5-CONFIG_I: Configured from console by console teknorouter_VLAN#copy running-config startup-config Destination filename [startup-config]? Building configuration configuration... [OK] teknorouter_VLAN#

SYAIFUL AHDAN, S.KOM

1.KonfigurasiMainSwitchVLAN Setting HostName Setting Password S tti IP address Setting dd VLAN Setting Trunking pada port yang terkoneksi dengan perangkat lain Setting VTP Server Setting VTP Domain Setting VTP Database Setting nomor dan nama-nama VLAN

SYAIFUL AHDAN, S.KOM

1.KonfigurasiTrunking

Trunking g to teknorouter_VLAN Trunking teknoswitch_A Trunking teknoswitch_B Trunking teknoswitch_C Trunking teknoswitch_D Trunking teknoswitch_E

SYAIFUL AHDAN, S.KOM

InterfaceKoneksi
Device Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950 2950-24 24 Switch 2950-24 Device name teknoswitch_main teknoswitch_main teknoswitch_main teknoswitch_main teknoswitch main teknoswitch_main teknoswitch_main Interface Fa0/1 Fa0/5 Fa0/6 Fa0/7 Fa0/8 Fa0/9 Koneksi ke Router 2620XM Switch 2950-24 Switch 2950-24 Switch 2950-24 Switch 2950 2950-24 24 Switch 2950-24 Device Name Teknorouter_VLAN teknoswitch_A teknoswitch_B teknoswitch_C teknoswitch D teknoswitch_D teknoswitch_E Interface Fa0/0 Fa0/0.1 Fa0/0.1 Fa0/0.1 Fa0/0.1 Fa0/0.1

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Setting Hostname & Password


set nama hostname pada switch : teknoswitch_main

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_main k it h i teknoswitch_main(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_main(config)#enable secret ciscotek teknoswitch_main(config)# k i h i ( fi )#


Konfigurasi password line console 0

teknoswitch_main(config)#line console 0 teknoswitch_main(config-line)#password ciscotek teknoswitch_main(config-line)# k i h i ( fi li )#login l i teknoswitch_main(config-line)#exit teknoswitch_main(config)#


Konfigurasi password line vty 0 15

teknoswitch_main(config)# line vty 0 4 teknoswitch_main(config-line)#password ciscotek teknoswitch_main(config-line)#login teknoswitch_main(config-line)#exit teknoswitch main(config)#service password teknoswitch_main(config)# password-encryption encryption Teknoswitch_main(config)#
SYAIFUL AHDAN, S.KOM

Setting Trunking pada port yang terkoneksi dengan perangkat lain


Setting Trunking teknoswitch_main to teknorouter_VLAN

teknoswitch_main(config)#interface fa0/1 teknoswitch_main(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to d down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up teknoswitch_main(config-if)#description trunking to teknorouter_VLAN teknoswitch_main(config-if)#exit teknoswitch_main(config)#
Setting g Trunking g teknoswitch_main _ to teknoswitch_A _

teknoswitch_main(config)#int fa0/5 teknoswitch_main(config-if)#switchport mode trunk teknoswitch_main(config-if)#description trunking to teknoswitch_A teknoswitch_main(config-if)#exit


Setting Trunking teknoswitch_main to teknoswitch_B

teknoswitch_main(config)#int fa0/6 teknoswitch_main(config-if)#switchport mode trunk teknoswitch_main(config-if)#description trunking to teknoswitch_B teknoswitch_main(config-if)#exit


SYAIFUL AHDAN, S.KOM

Setting Trunking pada port yang terkoneksi dengan perangkat lain


Setting Trunking teknoswitch_main to teknoswitch_C

teknoswitch_main(config)#int fa0/7 teknoswitch_main(config-if)#switchport mode trunk teknoswitch_main(config-if)#description trunking to teknoswitch_C teknoswitch_main(config-if)#exit


Setting Trunking teknoswitch_main to teknoswitch_D

teknoswitch_main(config)#int fa0/8 teknoswitch_main(config-if)# _ switchport mode trunk teknoswitch_main(config-if)#description trunking to teknoswitch_D teknoswitch_main(config-if)#exit
Setting Trunking teknoswitch_main to teknoswitch_E

teknoswitch_main(config)#int fa0/9 / teknoswitch_main(config-if)#switchport mode trunk teknoswitch_main(config-if)#description trunking to teknoswitch_E teknoswitch_main(config-if)#exit

SYAIFUL AHDAN, S.KOM

Setting IP Address VLAN & VTP Server, VTP Domain


Sub Interface Fa0/0.1 Fa0/0.2 Fa0/0.3 Fa0/0.4 Fa0/0.5 VLAN Gateway VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5 IP address 172.16.10.1 172.16.20.1 172.16.30.1 172.16.40.1 172.16.50.1 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 VLAN Member default Marketing Finance Support Operation VLAN ID VLAN 2 VLAN 2 VLAN 3 VLAN 4 VLAN 5 Network 172.16.10.0 192 168 20 0 192.168.20.0 192.168.30.0 192.168.40.0 192.168.50.0

Setting IP Interface VLAN 1 teknoswitch_main(config)#interface vlan 1 teknoswitch_main(config-if)#ip address 172.16.10.2 255.255.255.0 ( g ) no shutdown teknoswitch_main(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_main(config-if)#exit teknoswitch_main(config)#ip default-gateway 172.16.10.1 teknoswitch_main(config)#vtp mode server Device mode already VTP SERVER. teknoswitch_main(config)#vtp domain teknokrat Changing VTP domain name from NULL to teknokrat teknoswitch_main(config)#exit %SYS 5 CONFIG_I: %SYS-5-CONFIG I: Configured from console by console teknoswitch_main# SYAIFUL AHDAN, S.KOM

Setting VLAN Number, VLAN name

Setting VLAN

teknoswitch_main#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. teknoswitch_main(vlan)#VLAN 2 name marketing %LINK-5-CHANGED: Interface Vlan2, , changed g state to up p %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up VLAN 2 added: Name: marketing teknoswitch_main(vlan)#VLAN 3 name finance VLAN 3 added: dd d Name: finance teknoswitch_main(vlan)#VLAN 4 name support VLAN 4 added: Name: support teknoswitch_main(vlan)#VLAN 5 name operation VLAN 5 added: Name: operation teknoswitch_main(vlan)#exit

SYAIFUL AHDAN, S.KOM

Setting VLAN Number, VLAN name

Verifikasi VLAN teknoswitch_main#show VLAN VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 2 marketing active 3 finance active 4 support active 5 operation active 1002 fddi fddi-default d f l act/unsup / 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN Type ---- ----1 enet 2 enet --More-SAID ---------100001 100002 MTU ----1500 1500 Parent -----RingNo -----BridgeNo -------Stp ---BrdgMode -------Trans1 -----0 0 Trans2 -----0 0

SYAIFUL AHDAN, S.KOM

1.KonfigurasiSwitchyangtergabungpadaVLAN(A,B,C,D,E) Setting Hostname Setting Password Setting IP Address VLAN Setting Trunking pada port yang terkoneksi dengan perangkat lain Setting VTP Client Setting VTP Domain Setting Port untuk didaftarkan pada suatu VLAN

SYAIFUL AHDAN, S.KOM

VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

Marketing Finance Support Operaion


VLAN Member

SYAIFUL AHDAN, S.KOM

KONFIGURASI SWITCH : A
Device Switch Type 2950-24 Hostname teknoswitch_a Vlan Members VLAN 1 IP addres 172.16.10.3 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

Device Switch Switch Switch

Type 2950-24 2950-24 2950-24

Hostname teknoswitch a teknoswitch_a teknoswitch_a teknoswitch_a _

Vlan Members VLAN 2 VLAN 4 VLAN 3

Interface Fa0/5 Fa0/6 Fa0/7

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_A


set nama hostname pada switch : teknoswitch_A

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_A k it h A teknoswitch_A(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_A(config)#enable secret ciscotek teknoswitch_A(config)# k i h ( fi )#


Konfigurasi password line console 0

teknoswitch_A(config)#line console 0 teknoswitch_A(config-line)#password ciscotek teknoswitch_A(config-line)# k i h ( fi li )#login l i teknoswitch_A(config-line)#exit teknoswitch_A(config)#


Konfigurasi password line vty 0 15

teknoswitch_A(config)# line vty 0 15 teknoswitch_A(config-line)#password ciscotek teknoswitch_A(config-line)#login teknoswitch_A(config-line)#exit teknoswitch A(config)#service password teknoswitch_A(config)# password-encryption encryption Teknoswitch_A(config)#
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_A


Device Switch Type 2950-24 Hostname teknoswitch_a Vlan Members VLAN 1 IP addres 172.16.10.3 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

setting interface VLAN 1

teknoswitch_A(config)#interface VLAN 1 teknoswitch_A(config-if)#ip address 172.16.10.3 255.255.255.0 teknoswitch_A(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_A(config-if)#exit teknoswitch_A(config)# #ip default-gateway 172.16.10.1 1 2 16 10 1 teknoswitch_A(config)#interface fa0/1 teknoswitch_A(config-if)#description trunking to teknoswitch_main teknoswitch_A(config-if)#exit teknoswitch_A(config)# i i #
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_A


Device Switch Switch Switch Type 2950-24 2950-24 2950-24 2950 24 Hostname teknoswitch_a teknoswitch_a teknoswitch a teknoswitch_a Vlan Members VLAN 2 VLAN 4 VLAN 3 Interface Fa0/5 Fa0/6 Fa0/7
VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192 168 50 0/24 192.168.50.0/24

setting interface VLAN 2 teknoswitch_A(config)#int fa0/5 teknoswitch_A(config-if)#switchport access VLAN 2 % Access VLAN does not exist. exist Creating vlan 2 teknoswitch_A(config-if)#exit setting interface VLAN 4 teknoswitch_A(config)#int fa0/6 teknoswitch A(config-if)# teknoswitch_A(config if)#switchport access VLAN 4 % Access VLAN does not exist. Creating vlan 4 teknoswitch_A(config-if)#exit setting interface VLAN 3 teknoswitch_A(config)#int fa0/7 teknoswitch_A(config-if)#switchport access VLAN 3 % Access VLAN does not exist. Creating vlan 3 teknoswitch_A(config-if)#exit

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_A


setting mode VTP & VTP domain teknoswitch_A(config)#vtp mode client Device mode already VTP CLIENT. teknoswitch A(config if)#vtp domain teknokrat teknoswitch_A(config-if)#vtp Domain name already set to teknokrat. teknoswitch_A(config-if)#exit %SYS-5-CONFIG_I: Configured from console by console teknoswitch_A# copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] teknoswitch_A#

SYAIFUL AHDAN, S.KOM

KONFIGURASI SWITCH : B
Device Switch Type 2950-24 Hostname teknoswitch_b Vlan Members VLAN 1 IP addres 172.16.10.4 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

Device Switch Switch Switch

Type 2950-24 2950-24 2950-24

Hostname teknoswitch_b _ teknoswitch_b teknoswitch_b

Vlan Members VLAN 2 VLAN 5 VLAN 3

Interface Fa0/5 Fa0/6 Fa0/7

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_B


set nama hostname pada switch : teknoswitch_B

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_B k it h B teknoswitch_B(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_B(config)#enable secret ciscotek teknoswitch_B(config)# k i h ( fi )#


Konfigurasi password line console 0

teknoswitch_B(config)#line console 0 teknoswitch_B(config-line)#password ciscotek teknoswitch_B(config-line)# k i h ( fi li )#login l i teknoswitch_B(config-line)#exit teknoswitch_B(config)#


Konfigurasi password line vty 0 15

teknoswitch_B(config)# line vty 0 15 teknoswitch_B(config-line)#password ciscotek teknoswitch_B(config-line)#login teknoswitch_B(config-line)#exit teknoswitch B(config)#service password teknoswitch_B(config)# password-encryption encryption Teknoswitch_B(config)#
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_B


Device Switch Type 2950-24 Hostname teknoswitch_b Vlan Members VLAN 1 IP addres 172.16.10.4 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

setting interface VLAN 1

teknoswitch_B(config)#interface VLAN 1 teknoswitch_B(config-if)#ip address 172.16.10.4 255.255.255.0 teknoswitch_B(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_B(config-if)#exit teknoswitch_B(config)# #ip default-gateway 172.16.10.1 1 2 16 10 1 teknoswitch_B(config)#interface fa0/1 teknoswitch_B(config-if)#description trunking to teknoswitch_main teknoswitch_B(config-if)#exit teknoswitch_B(config)# i i #
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_B


Device Switch Switch Switch Type 2950-24 2950-24 2950-24 2950 24 Hostname teknoswitch_b teknoswitch_b teknoswitch b teknoswitch_b Vlan Members VLAN 2 VLAN 5 VLAN 3 Interface Fa0/5 Fa0/6 Fa0/7
VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192 168 50 0/24 192.168.50.0/24

setting interface VLAN 2 teknoswitch_B(config)#int fa0/5 teknoswitch_B(config-if)#switchport access VLAN 2 % Access VLAN does not exist. exist Creating vlan 2 teknoswitch_B(config-if)#exit setting interface VLAN 5 teknoswitch_B(config)#int fa0/6 teknoswitch B(config-if)# teknoswitch_B(config if)#switchport access VLAN 5 % Access VLAN does not exist. Creating vlan 5 teknoswitch_B(config-if)#exit setting interface VLAN 3 teknoswitch_B(config)#int fa0/7 teknoswitch_B(config-if)#switchport access VLAN 3 % Access VLAN does not exist. Creating vlan 3 teknoswitch_B(config-if)#exit

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_A


setting mode VTP & VTP domain teknoswitch_B(config)#vtp mode client Device mode already VTP CLIENT. teknoswitch B(config if)#vtp domain teknokrat teknoswitch_B(config-if)#vtp Domain name already set to teknokrat. teknoswitch_B(config-if)#exit %SYS-5-CONFIG_I: Configured from console by console teknoswitch_B# copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] teknoswitch_B#

SYAIFUL AHDAN, S.KOM

KONFIGURASI SWITCH : C
Device Switch Type 2950-24 Hostname teknoswitch_b Vlan Members VLAN 1 IP addres 172.16.10.5 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

Device Switch Switch Switch

Type 2950-24 2950-24 2950-24

Hostname teknoswitch_c _ teknoswitch_c teknoswitch_c

Vlan Members VLAN 4 VLAN 2 VLAN 5

Interface Fa0/5 Fa0/6 Fa0/7

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_c


set nama hostname pada switch : teknoswitch_C

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_C k it h C teknoswitch_C(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_C(config)#enable secret ciscotek teknoswitch_C(config)# k i h ( fi )#


Konfigurasi password line console 0

teknoswitch_C(config)#line console 0 teknoswitch_C(config-line)#password ciscotek teknoswitch_C(config-line)# k i h C( fi li )#login l i teknoswitch_C(config-line)#exit teknoswitch_C(config)#


Konfigurasi password line vty 0 15

teknoswitch_C(config)# line vty 0 15 teknoswitch_C(config-line)#password ciscotek teknoswitch_C(config-line)#login teknoswitch_C(config-line)#exit teknoswitch C(config)#service password teknoswitch_C(config)# password-encryption encryption Teknoswitch_C(config)#
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_C


Device Switch Type 2950-24 Hostname teknoswitch_c Vlan Members VLAN 1 IP addres 172.16.10.5 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

setting interface VLAN 1

teknoswitch_C(config)#interface VLAN 1 teknoswitch_C(config-if)#ip address 172.16.10.5 255.255.255.0 teknoswitch_C(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_C(config-if)#exit teknoswitch_C(config)# #ip default-gateway 172.16.10.1 1 2 16 10 1 teknoswitch_C(config)#interface fa0/1 teknoswitch_C(config-if)#description trunking to teknoswitch_main teknoswitch_C(config-if)#exit teknoswitch_C(config)# i i #
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_C


Device Switch Switch Switch Type 2950-24 2950-24 2950-24 2950 24 Hostname teknoswitch_c teknoswitch_c teknoswitch c teknoswitch_c Vlan Members VLAN 4 VLAN 2 VLAN 5 Interface Fa0/5 Fa0/6 Fa0/7
VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192 168 50 0/24 192.168.50.0/24

setting interface VLAN 4 teknoswitch_C(config)#int fa0/5 teknoswitch_C(config-if)#switchport access VLAN 4 % Access VLAN does not exist. exist Creating vlan 4 teknoswitch_C(config-if)#exit setting interface VLAN 2 teknoswitch_C(config)#int fa0/6 teknoswitch C(config-if)# teknoswitch_C(config if)#switchport access VLAN 2 % Access VLAN does not exist. Creating vlan 4 teknoswitch_C(config-if)#exit setting interface VLAN 5 teknoswitch_C(config)#int fa0/7 teknoswitch_C(config-if)#switchport access VLAN 5 % Access VLAN does not exist. Creating vlan 5 teknoswitch_C(config-if)#exit

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_C


setting mode VTP & VTP domain teknoswitch_C(config)#vtp mode client
Setting device to VTP CLIENT mode

.teknoswitch_C(config teknoswitch C(config-if)#vtp if)#vtp domain teknokrat


Changing VTP domain name from NULL to teknokrat

teknoswitch_B(config-if)#exit %SYS-5-CONFIG_I: Configured from console by console teknoswitch_C# copy running-config startup-config D ti ti Destination fil filename [ [startup-config]? t t fi ]? Building configuration... [OK] teknoswitch_C#

SYAIFUL AHDAN, S.KOM

KONFIGURASI SWITCH : D
Device Switch Type 2950-24 Hostname teknoswitch_d Vlan Members VLAN 1 IP addres 172.16.10.6 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

Device Switch Switch Switch

Type 2950-24 2950-24 2950-24

Hostname teknoswitch_d _ teknoswitch_d teknoswitch_d

Vlan Members VLAN 3 VLAN 4 VLAN 2

Interface Fa0/5 Fa0/6 Fa0/7

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_d


set nama hostname pada switch : teknoswitch_d

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_D k it h D teknoswitch_D(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_D(config)#enable secret ciscotek teknoswitch_D(config)# k i h ( fi )#


Konfigurasi password line console 0

teknoswitch_D(config)#line console 0 teknoswitch_D(config-line)#password ciscotek teknoswitch_D(config-line)#login teknoswitch_D(config-line)#exit teknoswitch_D(config)#


Konfigurasi password line vty 0 15

teknoswitch_D(config)# line vty 0 15 teknoswitch_D(config-line)#password ciscotek teknoswitch_D(config-line)#login teknoswitch_D(config-line)#exit teknoswitch D(config)#service password teknoswitch_D(config)# password-encryption encryption Teknoswitch_D(config)#
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_C


Device Switch Type 2950-24 Hostname teknoswitch_d Vlan Members VLAN 1 IP addres 172.16.10.6 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

setting interface VLAN 1

teknoswitch_C(config)#interface VLAN 1 teknoswitch_C(config-if)#ip address 172.16.10.6 255.255.255.0 teknoswitch_C(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_C(config-if)#exit teknoswitch_C(config)# #ip default-gateway 172.16.10.1 1 2 16 10 1 teknoswitch_C(config)#interface fa0/1 teknoswitch_C(config-if)#description trunking to teknoswitch_main teknoswitch_C(config-if)#exit teknoswitch_C(config)# i i #
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_D


Device Switch Switch Switch Type 2950-24 2950-24 2950-24 2950 24 Hostname teknoswitch_d teknoswitch_d teknoswitch d teknoswitch_d Vlan Members VLAN 3 VLAN 4 VLAN 2 Interface Fa0/5 Fa0/6 Fa0/7
VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192 168 50 0/24 192.168.50.0/24

setting interface VLAN 3 teknoswitch_D(config)#int fa0/5 teknoswitch_D(config-if)#switchport access VLAN 3 % Access VLAN does not exist. exist Creating vlan 3 teknoswitch_D(config-if)#exit setting interface VLAN 4 teknoswitch_D(config)#int fa0/6 teknoswitch D(config-if)# teknoswitch_D(config if)#switchport access VLAN 4 % Access VLAN does not exist. Creating vlan 4 teknoswitch_D(config-if)#exit setting interface VLAN 2 teknoswitch_D(config)#int fa0/7 teknoswitch_D(config-if)#switchport access VLAN 2 % Access VLAN does not exist. Creating vlan 2 teknoswitch_D(config-if)#exit

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_D


setting mode VTP & VTP domain teknoswitch_D(config)#vtp mode client
Setting device to VTP CLIENT mode

.teknoswitch_D(config teknoswitch D(config-if)#vtp if)#vtp domain teknokrat


Changing VTP domain name from NULL to teknokrat

teknoswitch_D(config-if)#exit %SYS-5-CONFIG_I: Configured from console by console teknoswitch_D# copy running-config startup-config D ti ti Destination fil filename [ [startup-config]? t t fi ]? Building configuration... [OK] teknoswitch_D#

SYAIFUL AHDAN, S.KOM

KONFIGURASI SWITCH : E
Device Switch Type 2950-24 Hostname teknoswitch_e Vlan Members VLAN 1 IP addres 172.16.10.7 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

Device Switch Switch Switch

Type 2950-24 2950-24 2950-24

Hostname teknoswitch_e _ teknoswitch_e teknoswitch_e

Vlan Members VLAN 5 VLAN 3 VLAN 4

Interface Fa0/5 Fa0/6 Fa0/7

SYAIFUL AHDAN, S.KOM

SystemBootstrap
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 18:57 by miwang Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory. 2950-24 starting... Base ethernet MAC Address: 000A.4130.6766 ...done Initializing Flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 Loading "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"... ######################### [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject bj t t to restrictions t i ti as set t f forth th i in subparagraph b h (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 Jose, California 95134 95134-1706 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 18-May-05 22:31 by jharirba Press RETURN to get started! %LINK-5-CHANGED: %LINK 5 CHANGED: Interface Vlan1 Vlan1, changed state to up %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down %SYS-5-CONFIG_I: Configured from console by console %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

System Bootstrap

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_e


set nama hostname pada switch : teknoswitch_e

Switch>enable Switch#config t Enter configuration commands, one per line. S i h( Switch(config)# fi )#hostname h t t teknoswitch_E k it h E teknoswitch_E(config)#
Konfigurasi password privilage mode

End with CNTL/Z.

teknoswitch_E(config)#enable secret ciscotek teknoswitch_E(config)# k i h ( fi )#


Konfigurasi password line console 0

teknoswitch_E(config)#line console 0 teknoswitch_E(config-line)#password ciscotek teknoswitch_E(config-line)#login teknoswitch_E(config-line)#exit teknoswitch_E(config)#


Konfigurasi password line vty 0 15

teknoswitch_E(config)# line vty 0 15 teknoswitch_E(config-line)#password ciscotek teknoswitch_E(config-line)#login teknoswitch_E(config-line)#exit teknoswitch E(config)#service password teknoswitch_E(config)# password-encryption encryption Teknoswitch_E(config)#
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_e


Device Switch Type 2950-24 Hostname teknoswitch_e Vlan Members VLAN 1 IP addres 172.16.10.7 Subnet Mask 255.255.255.0 Gateway 172.16.10.1 Interface Fa0/1

setting interface VLAN 1

teknoswitch_E(config)#interface VLAN 1 teknoswitch_E(config-if)#ip address 172.16.10.7 255.255.255.0 teknoswitch_E(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up teknoswitch_E(config-if)#exit teknoswitch_E(config)# #ip default-gateway 172.16.10.1 1 2 16 10 1 teknoswitch_E(config)#interface fa0/1 teknoswitch_E(config-if)#description trunking to teknoswitch_main teknoswitch_E(config-if)#exit teknoswitch_E(config)# i i #
SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_e


Device Switch Switch Switch Type 2950-24 2950-24 2950-24 2950 24 Hostname teknoswitch_e teknoswitch_e teknoswitch e teknoswitch_e Vlan Members VLAN 5 VLAN 3 VLAN 4 Interface Fa0/5 Fa0/6 Fa0/7
VLAN 1 VLAN 2 VLAN 3 VLAN 4 VLAN 5

192.168.10.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24 192 168 50 0/24 192.168.50.0/24

setting interface VLAN 5 teknoswitch_E(config)#int fa0/5 teknoswitch_E(config-if)#switchport access VLAN 5 % Access VLAN does not exist. exist Creating vlan 3 teknoswitch_E(config-if)#exit setting interface VLAN 3 teknoswitch_E(config)#int fa0/6 teknoswitch E(config-if)# teknoswitch_E(config if)#switchport access VLAN 3 % Access VLAN does not exist. Creating vlan 4 teknoswitch_E(config-if)#exit setting interface VLAN 4 teknoswitch_E (config)#int fa0/7 teknoswitch_E(config-if)#switchport access VLAN 4 % Access VLAN does not exist. Creating vlan 2 teknoswitch_E(config-if)#exit

SYAIFUL AHDAN, S.KOM

Konfigurasi Switch : teknoswitch_e


setting mode VTP & VTP domain teknoswitch_E(config)#vtp mode client
Setting device to VTP CLIENT mode

.teknoswitch_E(config teknoswitch E(config-if)#vtp if)#vtp domain teknokrat


Changing VTP domain name from NULL to teknokrat

teknoswitch_E(config-if)#exit %SYS-5-CONFIG_I: Configured from console by console teknoswitch_E# copy running-config startup-config D ti ti Destination fil filename [ [startup-config]? t t fi ]? Building configuration... [OK] teknoswitch_E#

SYAIFUL AHDAN, S.KOM