Config Register is 0x4a6f6469

April 29, 2009

Lab - 290420091026

Halo Networkers :)

Lab kali ini mempunyai spesifikasi sebagai berikut

  • BGP Routing
  • Customize Local Preference, dengan tujuan
  • route ke 30.30.30.0/24 harus ‘berputar’ melalui AS 400, dan
  • route ke 40.40.40.0/24 harus ‘berputar’ melalui AS 300 

Berikut topologinya:

LocPref.V1
 

 

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R0
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
 ip address 172.1.0.2 255.255.255.252
 speed 100
 full-duplex
!
interface FastEthernet1/0
 ip address 1.1.1.1 255.255.255.252
 speed 100
 full-duplex
!
router rip
 version 2
 network 172.1.0.0
 no auto-summary
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 neighbor 1.1.1.2 remote-as 300
 neighbor 1.1.1.2 route-map locpref3040 in
 neighbor 172.1.0.1 remote-as 100
 neighbor 172.1.0.1 next-hop-self
 neighbor 172.1.1.2 remote-as 100
 neighbor 172.1.1.2 next-hop-self
 no auto-summary
!
ip http server
ip classless
!
!
!
access-list 1 permit 30.30.30.0 0.0.0.255
access-list 2 permit 40.40.40.0 0.0.0.255
route-map locpref3040 permit 10
 match ip address 1
 set local-preference 100
!
route-map locpref3040 permit 20
 match ip address 2
 set local-preference 200
!
route-map locpref3040 permit 30
!
!
!
control-plane
!
!
line con 0
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
!
end

 

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
 ip address 172.1.1.2 255.255.255.252
 speed 100
 full-duplex
!
interface FastEthernet1/0
 ip address 2.2.2.1 255.255.255.252
 speed 100
 full-duplex
!
router rip
 version 2
 network 172.1.0.0
 no auto-summary
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 400
 neighbor 2.2.2.2 route-map locpref3040 in
 neighbor 172.1.0.2 remote-as 100
 neighbor 172.1.0.2 next-hop-self
 neighbor 172.1.1.1 remote-as 100
 neighbor 172.1.1.1 next-hop-self
 no auto-summary
!
ip http server
ip classless
!
!
!
access-list 1 permit 30.30.30.0 0.0.0.255
access-list 2 permit 40.40.40.0 0.0.0.255
route-map locpref3040 permit 10
 match ip address 1
 set local-preference 200
!
route-map locpref3040 permit 20
 match ip address 2
 set local-preference 100
!
route-map locpref3040 permit 30
!
!
!
control-plane
!
!
line con 0
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
!
end
 

 

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface Loopback0
 ip address 20.20.20.1 255.255.255.0
!
interface Loopback1
 ip address 120.1.1.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.1.0.1 255.255.255.252
 speed 100
 full-duplex
!
interface FastEthernet1/0
 ip address 172.1.1.1 255.255.255.252
 speed 100
 full-duplex
!
router rip
 version 2
 network 20.0.0.0
 network 120.0.0.0
 network 172.1.0.0
 no auto-summary
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 20.20.20.0 mask 255.255.255.0
 network 120.1.1.0 mask 255.255.255.0
 neighbor 172.1.0.2 remote-as 100
 neighbor 172.1.1.2 remote-as 100
 no auto-summary
!
ip http server
ip classless
!
!
!
!
!
control-plane
!
!
line con 0
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
!
end

 

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface Loopback0
 ip address 30.30.30.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 1.1.1.2 255.255.255.252
 speed 100
 full-duplex
!
interface FastEthernet1/0
 ip address 3.3.3.1 255.255.255.252
 duplex auto
 speed auto
!
router bgp 300
 no synchronization
 bgp log-neighbor-changes
 network 30.30.30.0 mask 255.255.255.0
 neighbor 1.1.1.1 remote-as 100
 neighbor 3.3.3.2 remote-as 400
 no auto-summary
!
ip http server
ip classless
!
!
!
!
!
control-plane
!
!
line con 0
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
!
end

 

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface Loopback0
 ip address 40.40.40.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 2.2.2.2 255.255.255.252
 speed 100
 full-duplex
!
interface FastEthernet1/0
 ip address 3.3.3.2 255.255.255.252
 speed 100
 full-duplex
!
router bgp 400
 no synchronization
 bgp log-neighbor-changes
 network 40.40.40.0 mask 255.255.255.0
 neighbor 2.2.2.1 remote-as 100
 neighbor 3.3.3.1 remote-as 300
 no auto-summary
!
ip http server
ip classless
!
!
!
!
!
control-plane
!
!
line con 0
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
!
end

 

Verify route-map locpref3040 sudah berjalan dengan benar, lakukan ’sh ip bgp’ pada router-router di AS 100.

R2#sh ip bgp 

R0#sh ip bgp 

R1#sh ip bgp 

 

Comments »

The URI to TrackBack this entry is: http://jodi.blogsome.com/2009/04/29/lab-290420091026/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer