CCIE BOOTCAMP 2013 - Day 2 - CCIE Service Provider
Memperoleh materi untuk konfigurasi ISIS, IPV6, OSPF, BGP. MPLS
ISIS
------------------
----------------------R1
hostname R2
int loopback0
ipaddress 8.8.0.1/32
ip router isis
int e0/0
ip address 8.8.12.1/24
ip router isis
no shut
R2
hostname R2
int loopback0
ipaddress 8.8.0.2/32
ip router isis
int 0/0
ip address 8.8.12.2/24
ip router isis
int e0/2
ip address 8.8.23.2/24
ip router isis
int e0/2
ip address 8.8.23.2/24
ip router isis
no shut
router isis
net 49.0001.0000.0000.000x.00
------------------------------------
show isis neighbor
show ip route isis
show isis database
show isis topology
Mengganti LEVEL
-------------------------------------------
make sure r3/r4 inly running level2
R3,R4 = LEVEL-2-ONLY
router isis
is-type level-2-only
make sure r2/r5 establisj ISIS with R1,R6
R2,R5 = LEVEL1/2
R2
int e0/0
isis circuit-type level-1
R5
int e0/3
isis circuit-type level-1
R1/6 = level 1
router isis
is-type level-1-only
--------------------------------
Pada R2
---------------------
R2
show ip route | inc L2
routing backbone, R3/R4/R5/R6
R2DANR5
Level 1/2
router isis
redistribute isis ip level-2 into level-1 destribute-list 100
access-list 100 permit ip any any
(semua ip di level 2 dikirim ke level 1)
---------------------------------------------------------------
IPV6 pada ISIS
---------------------------------------------------------------
ip loopback 2002:8:8::x/128
ip p2p 2002:8:8:xy::x/64
untuk mengaktifkan IPV6 di router
contoh R1
ipv6 unicast-routing
int loopback 0
ipv6 address 2002:8:8::1/128
ipv6 router isis
int e0
ipv6 address 2002:8:8:12::1/64
ipv6 rputer isis
R1/2/3/4/5/6
global config : ipv6 unicast-routing
interface : ipv6 router isis
verifikasi
show ipv6 route isis
--------------------------------------------------------------------------------------------------------------------
OSPF
------------------------------------------------------------YG OSPF R2/R3/R4/R5
1. Configure OSPF AREA 0, R2.3,4,5
2. Advertise lopback0 into OSPF
R2
router ospf 10
network 8.8.23.0 0.0.0.255 area 0
network 8.8.24.0 0.0.0.255 area 0
network 8.8.0.2 0.0.0.0 area 0
R3
router ospf 10
network 8.8.23.0 0.0.0.255 area 0
network 8.8.35.0 0.0.0.255 area 0
network 8.8.0.3 0.0.0.0 area 0
R4
router ospf 10
network 8.8.24.0 0.0.0.255 area 0
network 8.8.45.0 0.0.0.255 area 0
network 8.8.0.4 0.0.0.0 area 0
R5
router ospf 10
network 8.8.35.0 0.0.0.255 area 0
network 8.8.45.0 0.0.0.255 area 0
network 8.8.0.5 0.0.0.0 area 0
show ip ospf neighbor
show ip ospf interface brief (MUNCUL METRIC)
Verifikasi
R2
show ip route 8.8.0.5
show ip route ospf
--------------------------------------------------------------------
Aktif IPV6
--------------------------------------------------------------------
INTERFACE
int loopback0
ipv6 ospf 10 area 0
int e0/x
ipv6 ospf 10 area 0
global
ipv6 router ospf 10
router-id 8.8.0.2
R1
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
R2
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/2
ipv6 ospf 10 area 0
int e0/3
ipv6 ospf 10 area 0
R3
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
R4
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
R5
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
int e0/3
ipv6 ospf 10 area 0
R6
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
---------------------------------------------------------------
Rumus REDISTRIBUTE* CATATAN
---------------------------------------------------------
OSPF RIP BGP
subnets metric
router ospf 10
redistribute static subnets
router rip
redistribute ospf 10 metric 1
bgp
redistribute rip
----------------------------------
--------------------------------------
int e0/0
xconnect 8.8.8.0.5 25 enncapsulation
---------------------------------------
R2-R5
show ip route ospf | inc 8.8.0.
-------------
--------------------------
BGP
=========================
Range
AS Private 64512-65535
AS Public 1-64511
1 router, hanya bisa 1 AS-Number
BGP ada 2, iBGP [200], eBGP [20]
iBGP = remote-as yang sama
eBGP = remote-as
contoh set iBGP
R1
router bgp 65000
neighbor 8.8.12.2 remote-as 65000
R2
router bgp 65000
neighbor 8.8.12.1 remote-as 65000
untuk set up bgp btuh :
1. ip neighbor
2. as number neighbor
Pada dunia kerja internal bgp menggunakan Loop back
R1
router bgp 65000
neighbor 8.8.0.2 remote-as 65000
neighbor 8.8.0.2 update-source loopback0
(dgn catatan antar loop back bisa terhubung oleh IGP)
R2
neighbor 8.8.0.1 remote-as 65000
neighbor 8.8.0.1 update-source loopback0
(dgn catatan antar loop back bisa terhubung oleh IGP)
untuk mengadvertise network sendiri
network 8.8.0.11 mask 255.255.255.255
atau
restributed connected
-=======================================================================
R7 -------- R8 ----------------- R9
Dengan interface
R7
int loopback0
ip address 8.8.0.7 255.255.255.255
interface e0/0
description Connected to R8
ip address 8.8.78.7 255.255.255.0
route bgp 65000
neighbor 8.8.78.8 remote-as 65000
network 8.8.0.7 mask 255.255.255.255
R8
int loopback0
ip address 8.8.0.8 255.255.255.255
interface e0/0
description Connected to R7
ip address 8.8.78.7 255.255.255.0
interface e0/1
description Connected to R9
ip address 8.8.89.9 255.255.255.0
route bgp 65000
neighbor 8.8.78.7 remote-as 65000
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.8 mask 255.255.255.255
R9
int loopback0
ip address 8.8.0.9 255.255.255.255
interface e0/0
description Connected to R7
ip address 8.8.89.8 255.255.255.0
route bgp 65000
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.9 mask 255.255.255.255
verifikasi
show ip route bgp
show ip bgp summary
perintah penting
show ip bgp (apa yang kita terima, maupun yang kita kirim)
[ADVERTISE, Kita kirim]
show ip bgp neighbor 8.8.78.7 advertise-route
show ip bgp neighbor 8.8.89.9 advertise-route
[diterima]
show ip bgp neighbor 8.8.78.7 routes
show ip bgp neighbor 8.8.89.9 routes
======================================================================
Ganti AS di R9
R8
no route 65000
neighbor 8.8.78.7 remote-as 65000
neighbor 8.8.89.9 remote-as 9
network 8.8.0.8 mask 255.255.255.255
R9
no route 65000
route bgp 9
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.9 mask 255.255.255.255
verifikasi
show ip route bgp
R8 juga mengirim ke R9
PADA R8
router bgp 65000
neighbor 8.8.78.7 next-hop-self
show ip route bgp
8.8.0.9
ping 8.8.0.9 ,................
ping 8.8.0.9 source loopback 0, !!!!!!!!!!!!!!!!
-------------------------------------------------------------------
=====================================================================
R7----------R8---------R9
CONFIGURE IGP OSPF R7,R8.R9
CONFIGURE IBGP between R7,R8 with peer loopback address, advertise loopback0 into bgp
CONFIGURE iBGP between R8, R9 with peer loopback address, advertise loopback0 into bgp
R7
int loopback1
ip address 8.8.7.7 255.255.255.255
router bgp 65000
neighbor 8.8.0.8 remote-as 65000
neighbor 8.8.0.8 update-source lo0
network 8.8.0.7 mask 255.255.255.255
network 8.8.7.7 mask 255.255.255.255
R8
int loopback1
ip address 8.8.8.8 255.255.255.255
router bgp 65000
neighbor 8.8.0.7 remote-as 65000
neighbor 8.8.0.7 update-source lo0
neighbor 8.8.0.9 remote-as 65000
neighbor 8.8.0.9 update-source lo0
network 8.8.0.8 mask 255.255.255.255
R9
int loopback1
ip address 8.8.9.9 255.255.255.255
router bgp 65000
neighbor 8.8.0.8 remote-as 65000
neighbor 8.8.0.8 update-source lo0
network 8.8.0.9 mask 255.255.255.255
network 8.8.9.9 mask 255.255.255.255
verifikasi
1. Di R8
show ip bgp summarry
show ip bgp
2. di R7
show ip bgp
(yg kita terima) show ip bgp neighbor 8.8.0.8 routers
tidak akan menerima ip dari R9
Untuk menerima dari R9
1.Setting RR(Route Reflector), R8 dijadikan RR
2. RR adalah router yang tidak boleh mati
3. tambahkan
router bgp 65000
neighbor 8.8.0.7 remote-as 65000
neighbor 8.8.0.7 update-source lo0
neighbor 8.8.0.7 route-reflector-client
neighbor 8.8.0.9 remote-as 65000
neighbor 8.8.0.9 update-source lo0
neighbor 8.8.0.9 route-reflector-client
network 8.8.0.8 mask 255.255.255.255
==============================================================================
pada topologi awal
CONFIGURE iBGP AS 65000 with loopback 0 address
R2 act as Route Reflector (RR)
jika salah stu RR yang lain hanya client dan peernya 1
R2
router bgp 65000
neighbor 8.8.0.3 remote-as 65000
neighbor 8.8.0.3 update-source loopback0
neighbor 8.8.0.4 remote-as 65000
neighbor 8.8.0.4 update-source loopback0
neighbor 8.8.0.5 remote-as 65000
neighbor 8.8.0.5 update-source loopback0
neighbor 8.8.0.3 route-reflector-client
neighbor 8.8.0.4 route-reflector-client
neighbor 8.8.0.5 route-reflector-client
R3/4/5
router bgp 65000
neighbor 8.8.0.2 remote-as 65000
neighbor 8.8.0.2 update-source loopback0
Memperoleh materi untuk konfigurasi ISIS, IPV6, OSPF, BGP. MPLS
ISIS
------------------
----------------------R1
hostname R2
int loopback0
ipaddress 8.8.0.1/32
ip router isis
int e0/0
ip address 8.8.12.1/24
ip router isis
no shut
R2
hostname R2
int loopback0
ipaddress 8.8.0.2/32
ip router isis
int 0/0
ip address 8.8.12.2/24
ip router isis
int e0/2
ip address 8.8.23.2/24
ip router isis
int e0/2
ip address 8.8.23.2/24
ip router isis
no shut
router isis
net 49.0001.0000.0000.000x.00
------------------------------------
show isis neighbor
show ip route isis
show isis database
show isis topology
Mengganti LEVEL
-------------------------------------------
make sure r3/r4 inly running level2
R3,R4 = LEVEL-2-ONLY
router isis
is-type level-2-only
make sure r2/r5 establisj ISIS with R1,R6
R2,R5 = LEVEL1/2
R2
int e0/0
isis circuit-type level-1
R5
int e0/3
isis circuit-type level-1
R1/6 = level 1
router isis
is-type level-1-only
--------------------------------
Pada R2
---------------------
R2
show ip route | inc L2
routing backbone, R3/R4/R5/R6
R2DANR5
Level 1/2
router isis
redistribute isis ip level-2 into level-1 destribute-list 100
access-list 100 permit ip any any
(semua ip di level 2 dikirim ke level 1)
---------------------------------------------------------------
IPV6 pada ISIS
---------------------------------------------------------------
ip loopback 2002:8:8::x/128
ip p2p 2002:8:8:xy::x/64
untuk mengaktifkan IPV6 di router
contoh R1
ipv6 unicast-routing
int loopback 0
ipv6 address 2002:8:8::1/128
ipv6 router isis
int e0
ipv6 address 2002:8:8:12::1/64
ipv6 rputer isis
R1/2/3/4/5/6
global config : ipv6 unicast-routing
interface : ipv6 router isis
verifikasi
show ipv6 route isis
--------------------------------------------------------------------------------------------------------------------
OSPF
------------------------------------------------------------YG OSPF R2/R3/R4/R5
1. Configure OSPF AREA 0, R2.3,4,5
2. Advertise lopback0 into OSPF
R2
router ospf 10
network 8.8.23.0 0.0.0.255 area 0
network 8.8.24.0 0.0.0.255 area 0
network 8.8.0.2 0.0.0.0 area 0
R3
router ospf 10
network 8.8.23.0 0.0.0.255 area 0
network 8.8.35.0 0.0.0.255 area 0
network 8.8.0.3 0.0.0.0 area 0
R4
router ospf 10
network 8.8.24.0 0.0.0.255 area 0
network 8.8.45.0 0.0.0.255 area 0
network 8.8.0.4 0.0.0.0 area 0
R5
router ospf 10
network 8.8.35.0 0.0.0.255 area 0
network 8.8.45.0 0.0.0.255 area 0
network 8.8.0.5 0.0.0.0 area 0
show ip ospf neighbor
show ip ospf interface brief (MUNCUL METRIC)
Verifikasi
R2
show ip route 8.8.0.5
show ip route ospf
--------------------------------------------------------------------
Aktif IPV6
--------------------------------------------------------------------
INTERFACE
int loopback0
ipv6 ospf 10 area 0
int e0/x
ipv6 ospf 10 area 0
global
ipv6 router ospf 10
router-id 8.8.0.2
R1
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
R2
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/2
ipv6 ospf 10 area 0
int e0/3
ipv6 ospf 10 area 0
R3
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
R4
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
R5
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
int e0/1
ipv6 ospf 10 area 0
int e0/3
ipv6 ospf 10 area 0
R6
int loopback0
ipv6 ospf 10 area 0
int e0/0
ipv6 ospf 10 area 0
---------------------------------------------------------------
Rumus REDISTRIBUTE* CATATAN
---------------------------------------------------------
OSPF RIP BGP
subnets metric
router ospf 10
redistribute static subnets
router rip
redistribute ospf 10 metric 1
bgp
redistribute rip
----------------------------------
--------------------------------------
int e0/0
xconnect 8.8.8.0.5 25 enncapsulation
---------------------------------------
R2-R5
show ip route ospf | inc 8.8.0.
-------------
--------------------------
BGP
=========================
Range
AS Private 64512-65535
AS Public 1-64511
1 router, hanya bisa 1 AS-Number
BGP ada 2, iBGP [200], eBGP [20]
iBGP = remote-as yang sama
eBGP = remote-as
contoh set iBGP
R1
router bgp 65000
neighbor 8.8.12.2 remote-as 65000
R2
router bgp 65000
neighbor 8.8.12.1 remote-as 65000
untuk set up bgp btuh :
1. ip neighbor
2. as number neighbor
Pada dunia kerja internal bgp menggunakan Loop back
R1
router bgp 65000
neighbor 8.8.0.2 remote-as 65000
neighbor 8.8.0.2 update-source loopback0
(dgn catatan antar loop back bisa terhubung oleh IGP)
R2
neighbor 8.8.0.1 remote-as 65000
neighbor 8.8.0.1 update-source loopback0
(dgn catatan antar loop back bisa terhubung oleh IGP)
untuk mengadvertise network sendiri
network 8.8.0.11 mask 255.255.255.255
atau
restributed connected
-=======================================================================
R7 -------- R8 ----------------- R9
Dengan interface
R7
int loopback0
ip address 8.8.0.7 255.255.255.255
interface e0/0
description Connected to R8
ip address 8.8.78.7 255.255.255.0
route bgp 65000
neighbor 8.8.78.8 remote-as 65000
network 8.8.0.7 mask 255.255.255.255
R8
int loopback0
ip address 8.8.0.8 255.255.255.255
interface e0/0
description Connected to R7
ip address 8.8.78.7 255.255.255.0
interface e0/1
description Connected to R9
ip address 8.8.89.9 255.255.255.0
route bgp 65000
neighbor 8.8.78.7 remote-as 65000
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.8 mask 255.255.255.255
R9
int loopback0
ip address 8.8.0.9 255.255.255.255
interface e0/0
description Connected to R7
ip address 8.8.89.8 255.255.255.0
route bgp 65000
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.9 mask 255.255.255.255
verifikasi
show ip route bgp
show ip bgp summary
perintah penting
show ip bgp (apa yang kita terima, maupun yang kita kirim)
[ADVERTISE, Kita kirim]
show ip bgp neighbor 8.8.78.7 advertise-route
show ip bgp neighbor 8.8.89.9 advertise-route
[diterima]
show ip bgp neighbor 8.8.78.7 routes
show ip bgp neighbor 8.8.89.9 routes
======================================================================
Ganti AS di R9
R8
no route 65000
neighbor 8.8.78.7 remote-as 65000
neighbor 8.8.89.9 remote-as 9
network 8.8.0.8 mask 255.255.255.255
R9
no route 65000
route bgp 9
neighbor 8.8.89.8 remote-as 65000
network 8.8.0.9 mask 255.255.255.255
verifikasi
show ip route bgp
R8 juga mengirim ke R9
PADA R8
router bgp 65000
neighbor 8.8.78.7 next-hop-self
show ip route bgp
8.8.0.9
ping 8.8.0.9 ,................
ping 8.8.0.9 source loopback 0, !!!!!!!!!!!!!!!!
-------------------------------------------------------------------
=====================================================================
R7----------R8---------R9
CONFIGURE IGP OSPF R7,R8.R9
CONFIGURE IBGP between R7,R8 with peer loopback address, advertise loopback0 into bgp
CONFIGURE iBGP between R8, R9 with peer loopback address, advertise loopback0 into bgp
R7
int loopback1
ip address 8.8.7.7 255.255.255.255
router bgp 65000
neighbor 8.8.0.8 remote-as 65000
neighbor 8.8.0.8 update-source lo0
network 8.8.0.7 mask 255.255.255.255
network 8.8.7.7 mask 255.255.255.255
R8
int loopback1
ip address 8.8.8.8 255.255.255.255
router bgp 65000
neighbor 8.8.0.7 remote-as 65000
neighbor 8.8.0.7 update-source lo0
neighbor 8.8.0.9 remote-as 65000
neighbor 8.8.0.9 update-source lo0
network 8.8.0.8 mask 255.255.255.255
R9
int loopback1
ip address 8.8.9.9 255.255.255.255
router bgp 65000
neighbor 8.8.0.8 remote-as 65000
neighbor 8.8.0.8 update-source lo0
network 8.8.0.9 mask 255.255.255.255
network 8.8.9.9 mask 255.255.255.255
verifikasi
1. Di R8
show ip bgp summarry
show ip bgp
2. di R7
show ip bgp
(yg kita terima) show ip bgp neighbor 8.8.0.8 routers
tidak akan menerima ip dari R9
Untuk menerima dari R9
1.Setting RR(Route Reflector), R8 dijadikan RR
2. RR adalah router yang tidak boleh mati
3. tambahkan
router bgp 65000
neighbor 8.8.0.7 remote-as 65000
neighbor 8.8.0.7 update-source lo0
neighbor 8.8.0.7 route-reflector-client
neighbor 8.8.0.9 remote-as 65000
neighbor 8.8.0.9 update-source lo0
neighbor 8.8.0.9 route-reflector-client
network 8.8.0.8 mask 255.255.255.255
==============================================================================
pada topologi awal
CONFIGURE iBGP AS 65000 with loopback 0 address
R2 act as Route Reflector (RR)
jika salah stu RR yang lain hanya client dan peernya 1
R2
router bgp 65000
neighbor 8.8.0.3 remote-as 65000
neighbor 8.8.0.3 update-source loopback0
neighbor 8.8.0.4 remote-as 65000
neighbor 8.8.0.4 update-source loopback0
neighbor 8.8.0.5 remote-as 65000
neighbor 8.8.0.5 update-source loopback0
neighbor 8.8.0.3 route-reflector-client
neighbor 8.8.0.4 route-reflector-client
neighbor 8.8.0.5 route-reflector-client
R3/4/5
router bgp 65000
neighbor 8.8.0.2 remote-as 65000
neighbor 8.8.0.2 update-source loopback0
0 comments:
Post a Comment