Tutorial Switch Layer 3
-
Upload
raka-andrean-hartawan -
Category
Documents
-
view
242 -
download
0
Transcript of Tutorial Switch Layer 3
-
7/26/2019 Tutorial Switch Layer 3
1/13
Pada tutorial ini kita akan membangun jaringan berskala Enterprise mengunakan Device
Cisco Catalyst Switch yang mana didalam artikel ini meliputi : Konsep, Desain dan
Simulasi Konfigurasi.Perhatikan dengan seksama dan pahami dengan baik Desain berikut
ini :
Artikel ini berdasarkan real implementasi penulis, investasi networking yang dibutuhkan
adalah :
1 unit Switch Cisco Catalyst Layer 3 ( C3650harga Rp. 50 juta-an ). unit Switch Cisco Catalyst Layer ! ( C2960harga " Rp. 30 juta-an ).
# unitSFP Transceiver Modules 1G$ %e&ia untu' ac'one *ier +ptic ( harga # " Rp. #
juta-an ). ,lternati pengantiSFP Transceiver Modulesisa %enguna'anMedia Converter 1G
( harga # " Rp. juta-an ).Kabel Fiber Otic Sin!le Mode panjang secu'upnya sesuai jara' antar ge&ung $ antar
Switch ( harga /S 5 $%eter ).
a%ahan 2 all%ount Rac' *+ 4atch 4anel Cat 4atch 4anel *+ 4atch Cor& &ll.
Jika jarak antar Switch kurang dari 1 meter, bisa mengunakan kabel !"P #at$% !ntuk jarak
lebih dari 1 meter, sebaiknya mengunakan kabel &iber 'ptic% (abel &' ada 1 kabel yang
berisi ) #ore, $ #ore dan * #ore% Satu +ink membutuhkan #ore &'% +alu berapa sich jarak
kabel &iber 'ptic itu- Perhatikan keterangan dibawah ini :
FO S"#G$% MO&%'
6 7ata rates 10 8ps &engan jara' 6 #0 '% ( Stan&art ).
http://en.wikipedia.org/wiki/Single-mode_optical_fiberhttp://en.wikipedia.org/wiki/Single-mode_optical_fiberhttps://thinkxfree.files.wordpress.com/2014/04/xps-topology-network-cisco-vlan-for-corporate.pnghttp://en.wikipedia.org/wiki/Single-mode_optical_fiberhttp://en.wikipedia.org/wiki/Single-mode_optical_fiber -
7/26/2019 Tutorial Switch Layer 3
2/13
9alo FO S"#G$% MO&% (en!una)an Otical *(li+iers2
6 7ata rates 10 8ps &engan jara' 6 leih &ari 1000 9%.
6 7ata rates 0 8ps &engan jara' 6 jara' ratusan 9%.6 7ata rates 100 8ps &engan jara' 'urang &ari 10 9%.
FO M,$T" MO&%'6 7ata rates 0 8ps s& 100 8ps &engan jara' 6 1!5 %.
6 7ata rates 10 8ps &engan jara' 6 300 % ( Stan&art ).6 7ata rates 10 8ps &engan jara' 6 550 % ( Stan&art ).
http://en.wikipedia.org/wiki/Single-mode_optical_fiberhttp://en.wikipedia.org/wiki/Multi-mode_optical_fiberhttp://www.cisco.com/c/en/us/products/interfaces-modules/100-gigabit-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/transceiver-modules/index.html
Setelah paham dengan gambar desain diatas dan kebutuhan hardwre atau Active Device, kita
akan melakukan kon.igurasi dengan Simulasi mengunakan Cisco acket !racer versi "
yang bisa di download link dibawah ini :
https://docs.google.com/uc?id=0B4CjGsNlfXWyRXU!"NC#$pU#$%&e'po(t=do"lo)d
Selanjutnya pada skenario kon.igurasi/nya kita lanjutkan dengan tutorial berikut ini dengan
hasil akhir screenshot ini :
'key, kita lanjutkan dengan SKE#$%&' (E()$#*+# E#!E%%&SE #E!'%K
C&SC' -
:::::::::::::::::::::::::::::::::::::::::4a&a suatu 'antor $ ;nstansi $ perusahaan &engan 'on&isi 8eograis %e%ili'i 5 uah
http://en.wikipedia.org/wiki/Multi-mode_optical_fiberhttp://en.wikipedia.org/wiki/Single-mode_optical_fiberhttp://en.wikipedia.org/wiki/Multi-mode_optical_fiberhttp://www.cisco.com/c/en/us/products/interfaces-modules/100-gigabit-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/100-gigabit-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/transceiver-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/transceiver-modules/index.htmlhttps://docs.google.com/uc?id=0B4CjGsNlfXWyRXUwSnNCT2pUT2M&export=downloadhttps://docs.google.com/uc?id=0B4CjGsNlfXWyRXUwSnNCT2pUT2M&export=downloadhttps://thinkxfree.files.wordpress.com/2014/04/ss-network-cisco-vlan-for-corporate-paket-tracer-001.pnghttp://en.wikipedia.org/wiki/Multi-mode_optical_fiberhttp://en.wikipedia.org/wiki/Single-mode_optical_fiberhttp://en.wikipedia.org/wiki/Multi-mode_optical_fiberhttp://www.cisco.com/c/en/us/products/interfaces-modules/100-gigabit-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/100-gigabit-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/transceiver-modules/index.htmlhttp://www.cisco.com/c/en/us/products/interfaces-modules/transceiver-modules/index.htmlhttps://docs.google.com/uc?id=0B4CjGsNlfXWyRXUwSnNCT2pUT2M&export=downloadhttps://docs.google.com/uc?id=0B4CjGsNlfXWyRXUwSnNCT2pUT2M&export=download -
7/26/2019 Tutorial Switch Layer 3
3/13
ge&ung. Seuah ge&ung uta%a yang ter&apat Ruang Ser 4ort ? &iguna'an untu' ! uah Ser
-
7/26/2019 Tutorial Switch Layer 3
4/13
@L,A Aa%e Status 4orts
Switch L! 4ort run' $ ac'one *a0$1
11 SBR@BR acti
-
7/26/2019 Tutorial Switch Layer 3
5/13
Pada Switch + #isco 2$ akan ber.ungsi sebagai 6+A7 Server atau 6"P Server% 6+A7
+ist akan kita buat pada Switch #isco 2$% Semua Switch + #isco 4$ akan ber.ungsi
sebagai 6+A7 #lient atau 6"P #lient%
'key, dari skenario diatas kita awali dengan 9nstallasi Packet "racer pada P# +aptop kita%
+alu kita buat .ile baru dengan menambahkan device berupa :
(1). 1 uah Switch Layer 3 Cisco Catalyst 350.(!). uah Switch Layer ! Cisco Catalyst !?0.
(3). ! uah Ser
-
7/26/2019 Tutorial Switch Layer 3
6/13
!W+,-0+0*conf tvtp mode servervtp domain thinkxfreeend
0000000005setiap %enga'hiri 'onigurasi te'an ctrl-F untu' %enyi%pan 'onigurasi8%
0000000000000000000000000000000000
ada Switch 4ayer 1 : S1"23;3/, berikan perintah untuk menampilkan 6! status -
0000000000000000000000000000000000
!W+,-0+0*show vtp status
0000000000000000000000000000000000
(embuat 64$# (ember pada Switch 4ayer1 : S;12"3;3/ -0000000000000000000000000000000000
!W+,-0+0*enaconf tvlan 11name S%&'%&exitvlan 1(name )**+,exitvlan 1"name )*%exitvlan 12name M)&3%exitend
0000000000000000000000000000000000
(enampilkan 64$# (ember pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*show vlan
0000000000000000000000000000000000
(emberi & $ddress 64$# pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*conf tinterface vlan 1ip address 14(.1$5.1.1 (##.(##.(##.0exit
interface vlan 11ip address 14(.1$5.11.1 (##.(##.(##.0exit
-
7/26/2019 Tutorial Switch Layer 3
7/13
interface vlan 1(ip address 14(.1$5.1(.1 (##.(##.(##.0exitinterface vlan 1"ip address 14(.1$5.1".1 (##.(##.(##.0exit
interface vlan 12ip address 14(.1$5.12.1 (##.(##.(##.0exitend
0000000000000000000000000000000000
Konfigurasi ort !runk = )ackbone pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*conf tinterface fast%thernet 0/1
switchport mode trunkswitchport nonegotiateswitchport trunk allowed vlan 1-100no shutdown
interface fast%thernet 0/(switchport mode trunkswitchport nonegotiateswitchport trunk allowed vlan 1-100no shutdown
interface fast%thernet 0/"switchport mode trunk
switchport nonegotiateswitchport trunk allowed vlan 1-100no shutdown
interface fast%thernet 0/2switchport mode trunkswitchport nonegotiateswitchport trunk allowed vlan 1-100no shutdownend
::::::::::::::::::::::::::::::::::3 POT MO&% "#T%F*C% S.itc/ Cisco Catalst '
::::::::::::::::::::::::::::::::::
switchport %o&e trun' -6 port switch untu' ac'one run'ing.switchport %o&e access -6 port switch untu' a'ses 4C Client.
switchport %o&e &yna%ic auto -6 port switch oto%atis %au client atau ac'one.
0000000000000000000000000000000000
(enampilkan Status !runk interface pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*show interfaces trunk
-
7/26/2019 Tutorial Switch Layer 3
8/13
0000000000000000000000000000000000
(enampilkan Status !runk interface pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*
sho i"te(f)ce f0/ + 0/4-------------------------!W+,-0+0*show interface f0/1 switchportshow interface f0/( switchportshow interface f0/" switchportshow interface f0/2 switchport-------------------------!W+,-0+0*sho i"te(f)ce t(u"16ort Mode %ncapsulation Status ative vlana0/1 on 50(.17 trunking 1a0/( on 50(.17 trunking 1
a0/" on 50(.17 trunking 1a0/2 on 50(.17 trunking 1
6ort 'lans allowed on trunka0/1 1-100a0/( 1-100a0/" 1-100a0/2 1-100
0000000000000000000000000000000000
$SS&*# '%! >;9 dan 2;? ke 64$# //, port //;/2 ke 64$# /8, port /";83 ke 64$#
/1, port 8/;8@ ke 64$# /@ pada Switch 4ayer1 : S;12"3;3/ -
0000000000000000000000000000000000
!W+,-0+0*conf tinterface fast%thernet 0/5switchport access vlan 11exitinterface fast%thernet 0/4switchport access vlan 11exitinterface fast%thernet 0/10switchport access vlan 11exit
interface range fa0/# - fa0/8switchport access vlan 11exitinterface range fa0/11 - fa0/1#switchport access vlan 1(exitinterface range fa0/1$ - fa0/(0switchport access vlan 1"exitinterface range fa0/(1 - fa0/(2switchport access vlan 12exitend
-
7/26/2019 Tutorial Switch Layer 3
9/13
000000000000000000000000000000000
'key, sampai disini kita telah selesai melakukan kon.igurasi pada Switch 41 Cisco 12"3%
Selanjutnya kita lakukan kon.igurasi pada Switch 48 Cisco 89"3:
0000000000000000000000000000000000
Setting Switch 4ayer8 : S;89"3;3/ s=d S;89"3;3@ :0000000000000000000000000000000000
Cisco*enableconfig terminalhostname S!-(4$0-01enable secret ciscoenable password ciscoendCisco$*enableconfig terminalhostname S!-(4$0-0(enable secret ciscoenable password ciscoendCisco,*enableconfig terminalhostname S!-(4$0-0"enable secret ciscoenable password ciscoendCisco4*enableconfig terminalhostname S!-(4$0-02enable secret ciscoenable password ciscoend
0000000000000000000000000000000000
Setting 6! Client pada Switch 4ayer8 : S;89"3;3/ s=d S;89"3;3@dan ort 3=/ sbg
ort !runk -
0000000000000000000000000000000000
!W+$20+0 + 04*conf tvtp mode clientvtp domain thinkxfree
interface fast%thernet 0/1switchport mode trunkswitchport nonegotiateswitchport trunk allowed vlan 1-100no shutdownend
0000000000000000000000000000000000
(enampilkan 64$# (ember pada Switch 4ayer8 : S;89"3;3/ s=d S;89"3;3@ -0000000000000000000000000000000000
-
7/26/2019 Tutorial Switch Layer 3
10/13
!W+$20+0 + !W+$20+04*show vtp statusshow vlan
0000000000000000000000000000000000
(enampilkan Status = &nfo interface !runk pada Switch 4ayer8 : S;89"3;3/ s=d S;
89"3;3@ -
0000000000000000000000000000000000
!W+$20+0 + !W+$20+04*sho i"te(f)ce t(u"16ort Mode %ncapsulation Status ative vlana0/1 on 50(.17 trunking 1
6ort 'lans allowed on trunka0/1 1-100
#'!E -Sampai disini jika perintah show vlankita sudah dapat menampilkan 6+A7 +ist
yang ada di Switch 4ayer1 Cisco 12"3berarti setting kita sudah benar% 7amun jika tidak
tampil 6+A7 +ist, maka cek lagi setting Port "runking/nya%
0000000000000000000000000000000000
$SS&*# '%! 8;/3 ke 64$# //, port //;/2 ke 64$# /8, port /";83 ke 64$# /1, port
8/;8@ ke 64$# /@ pada Switch 4ayer8 : S;89"3;3/ : 3@ -
0000000000000000000000000000000000
!W+$20+0 + !W+$20+04 *conf tinterface range fa0/( - fa0/10
switchport access vlan 11exitinterface range fa0/11 - fa0/1#switchport access vlan 1(exitinterface range fa0/1$ - fa0/(0switchport access vlan 1"exitinterface range fa0/(1 - fa0/(2switchport access vlan 12exitend
0000000000000000000000000000000000
Pada kondisi saat ini dari perintah diatas ini kita sudah bisa ping antar P# dalam 1 6+A7
yang sama% "api masih belum bisa ping antar P# yang beda 6+A7% ;isalnya :
PC01( 1?!.1#.11.! &iS.itc/01) isa ping 'ePC0( 1?!.1#.11.3 &iS.itc/02) ping 'ePC0( 1?!.1#.11. &iS.itc/03) ping 'ePC10( 1?!.1#.11.5 &iS.itc/0).
So< bagaimana agar antar 6+A7 bisa saling berkomunikasi- =isa saling P97>, bisa saling
akses atau sharing data, dll< dll
-
7/26/2019 Tutorial Switch Layer 3
11/13
Agar P# yang beda 6+A7 ini bisa saling berkomunikasi alias bisa saling P97>, maka yang
harus kita lakukan adalah ?(on.igurasi @outing di Switch +ayer #atalyst 2$% 9ni yang
dinamakan 97"B@ 6+A7%
Dan disinilah tampak jelas kenapa pada jaringan 6+A7 butuh yang namanya SC9"#
+AEB@ atau bisa mengunakan @'!"B@% (arena 9nter 6+A7 ini butuh @outing 9P yangbeda segmen alias beda jaringan +A7%
Dan karena .ungsi tersebut, SC9"# +AEB@ disebut juga ;!+"9 +AEB@ SC9"#%
Diantaranya adalah Switch +ayer seri 2$, $2, 32, seri ) F $ F 3, dll%
0000000000000000000000000000000000
Konfigurasi %outing E&*% di Switch 4ayer 1 Catalyst 12"3 -
0000000000000000000000000000000000
!W+,-0+0*
conf tip routinginterface vlan 1ip address 14(.1$5.1.1 (##.(##.(##.0no shutdowninterface vlan 11ip address 14(.1$5.11.1 (##.(##.(##.0no shutdowninterface vlan 1(ip address 14(.1$5.1(.1 (##.(##.(##.0no shutdowninterface vlan 1"ip address 14(.1$5.1".1 (##.(##.(##.0
no shutdowninterface vlan 12ip address 14(.1$5.12.1 (##.(##.(##.0no shutdownend
!W+,-0+0*conf tip routingrouter eigrp 1network 14(.1$5.1.0network 14(.1$5.11.0network 14(.1$5.1(.0
network 14(.1$5.1".0network 14(.1$5.12.0no auto-summar9end
0000000000000000000000000000000000
(enampilkan konfigurasi %outing di Switch 4ayer 1 Catalyst 1"23 -
0000000000000000000000000000000000
!W+,-0+0*sho ip (oute*odes: * - connected S - static - &6 & - &6 M - mobile ; - ;6
< - %&6 %= - %&6 external + - +S6 ) - +S6 inter area1 - +S6 SS) external t9pe 1 ( - +S6 SS) external t9pe (%1 - +S6 external t9pe 1 %( - +S6 external t9pe ( % - %6
-
7/26/2019 Tutorial Switch Layer 3
12/13
i - S-S >1 - S-S level-1 >( - S-S level-( ia - S-S inter area? - candidate default , - per-user static route o - +.//.8 7 -
0000000000000000000000000000000000
3C ipco"fig6 )ddress......................: 14(.1$5.11."
Subnet Mask.....................: (##.(##.(##.0@1(5&epl9 from 14(.1$5.11.2: b9tes@"( time@1(ms >@1(5&epl9 from 14(.1$5.11.2: b9tes@"( time@10ms >@1(56ing statistics for 14(.1$5.11.2:6ackets: Sent @ 2 &eceived @ 2 >ost @ 0 A0B lossC)pproximate round trip times in milli-seconds:Minimum @ 10ms Maximum @ (0ms )verage @ 12ms3C pi"g 2$.5.$.4
6inging 14(.1$5.1(.2 with "( b9tes of data:&epl9 from 14(.1$5.1(.2: b9tes@"( time@1#ms >@1(8&epl9 from 14(.1$5.1(.2: b9tes@"( time@18ms >@1(8&epl9 from 14(.1$5.1(.2: b9tes@"( time@(8ms >@1(8&epl9 from 14(.1$5.1(.2: b9tes@"( time@4ms >@1(86ing statistics for 14(.1$5.1(.2:6ackets: Sent @ 2 &eceived @ 2 >ost @ 0 A0B lossC)pproximate round trip times in milli-seconds:Minimum @ 4ms Maximum @ (8ms )verage @ 18ms3C pi"g 2$.5.,.46inging 14(.1$5.1".2 with "( b9tes of data:&epl9 from 14(.1$5.1".2: b9tes@"( time@4ms >@1(8&epl9 from 14(.1$5.1".2: b9tes@"( time@4ms >@1(8
&epl9 from 14(.1$5.1".2: b9tes@"( time@$ms >@1(8&epl9 from 14(.1$5.1".2: b9tes@"( time@5ms >@1(86ing statistics for 14(.1$5.1".2:6ackets: Sent @ 2 &eceived @ 2 >ost @ 0 A0B lossC)pproximate round trip times in milli-seconds:Minimum @ $ms Maximum @ 4ms )verage @ 5ms
asil "esting dapat dilihat seperti Screenshot dibawah ini :
-
7/26/2019 Tutorial Switch Layer 3
13/13
!ntuk 64$# /@, silahkan tambahkan beberapa P# pada keempat Switch + anda% 5 "est !ji
7yali alias !ji > +evel% hehehehe< 8%
'key< sampai disini semua kon.igurasi kita telah selesai, jangan lupa untuk membuat
kon.igurasi ini permanent pada Start!p semua #isco kita% =erikan perintah dibawah ini :
!W+,-0+0* !W+$20+0 + !W+$20+4*
write memor9cop9 running-config startup-config
0000000000000000000000000000000000
'key< ;aa., artikel ini bukan artikel #opas, nantikan artikel selanjutnya Cisco Cloud
%outer on 6(are% Sampai disini tutorial ini semoga berman.aat dan bila anda mengalami
kesulitan atau menghadapi kendala, .eel .ree untuk kontak email :
nathan.gusti.ryangmail.com
Pembahasan !utorial Cisco #etworking yang masih ingin penulis sharing diantaranya
adalah !entang Cisco Cloud %outer, !eknik ort $gregation alias ort 4oad )alancingalias EtherChannel,dll%
!eknik ort $gregation alias ort 4oad )alancing alias EtherChannel mengijinkan F *
+ink :
-D - ast %thernet A%C @ upto 1$00 Mbps.-D - igabit %thernet A%C @ 1$.000 Mbps.-D - 10-igabit %thernet A10%C @ 1$0.000 Mbps.
Selamat mencoba% Salam