Jumat, 28 November 2008

BGP IPv6 Configuration

konfigurasi BGP IPv6 dari topologi sebelumnya
IOS yang digunakan adalah c3640-jk9s-mz.124-16.bin
bila ada kesalahan atau tuning konfigurasi mohon untuk dikomentari

R0

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R0
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
!
interface Loopback0
description LOCAL NETWORK
ip address 10.10.1.1 255.255.255.0
ipv6 address 2001:D30:67::1/64
!
interface Loopback1
description LOCAL NETWORK
ip address 10.10.2.1 255.255.255.0
ipv6 address 2001:D30:66::1/64
!
interface FastEthernet0/0
no switchport
description TO R1
ip address 10.1.12.1 255.255.255.252
ipv6 address 2001:D30:77::1/126
!
interface FastEthernet0/1
no switchport
description TO R2
ip address 10.1.13.1 255.255.255.252
ipv6 address 2001:D30:76::1/126
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
router bgp 5500
bgp log-neighbor-changes
neighbor 2001:D30:76::3 remote-as 5500
neighbor 2001:D30:77::3 remote-as 5500
!
address-family ipv4
no neighbor 2001:D30:76::3 activate
no neighbor 2001:D30:77::3 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv6
neighbor 2001:D30:76::3 activate
neighbor 2001:D30:77::3 activate
network 2001:D30:67::/64
no synchronization
exit-address-family
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end

======================================================

R1


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
!
interface FastEthernet0/0
no switchport
ip address 10.1.24.1 255.255.255.252
ipv6 address 2001:5C0:77::1/126
!
interface FastEthernet0/1
no switchport
ip address 10.1.12.2 255.255.255.252
ipv6 address 2001:D30:77::3/126
!
interface FastEthernet0/2
no switchport
ip address 10.1.14.1 255.255.255.252
ipv6 address 2001:D30:75::1/126
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
router bgp 5500
no synchronization
bgp default local-preference 700
bgp log-neighbor-changes
neighbor 2001:5C0:77::3 remote-as 777
no neighbor 2001:5C0:77::3 activate
neighbor 2001:D30:75::3 remote-as 5500
no neighbor 2001:D30:75::3 activate
neighbor 2001:D30:77::1 remote-as 5500
no neighbor 2001:D30:77::1 activate
no auto-summary
!
address-family ipv6
neighbor 2001:5C0:77::3 activate
neighbor 2001:D30:75::3 activate
neighbor 2001:D30:77::1 activate
neighbor 2001:D30:77::1 next-hop-self
exit-address-family
!
ip http server
no ip http secure-server
!
!
control-plane
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


===========================================================

R2


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
interface FastEthernet0/0
no switchport
ip address 10.1.13.2 255.255.255.252
ipv6 address 2001:D30:76::3/126
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
no switchport
ip address 10.1.14.2 255.255.255.252
ipv6 address 2001:D30:75::3/126
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Ethernet1/0
ip address 10.1.34.1 255.255.255.252
half-duplex
ipv6 address 2001:5C0:76::1/126
!
interface Vlan1
no ip address
!
router bgp 5500
no synchronization
bgp log-neighbor-changes
neighbor 2001:5C0:76::3 remote-as 777
no neighbor 2001:5C0:76::3 activate
neighbor 2001:D30:75::1 remote-as 5500
no neighbor 2001:D30:75::1 activate
neighbor 2001:D30:76::1 remote-as 5500
no neighbor 2001:D30:76::1 activate
no auto-summary
!
address-family ipv6
neighbor 2001:5C0:76::3 activate
neighbor 2001:5C0:76::3 route-map LOCAL_PREF in
neighbor 2001:D30:75::1 activate
neighbor 2001:D30:76::1 activate
neighbor 2001:D30:76::1 next-hop-self
exit-address-family
!
ip http server
no ip http secure-server
!
!
route-map LOCAL_PREF permit 10
match ipv6 address ROUTE_R3
set local-preference 1000
!
route-map LOCAL_PREF permit 20
match ipv6 address ROUTE_R1
set local-preference 10
!
route-map LOCAL_PREF permit 30
!
!
!
ipv6 access-list ROUTE_R3
permit ipv6 2001:5C3:2::/64 any
!
ipv6 access-list ROUTE_R1
permit ipv6 2001:D33:63::/64 any
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


==========================================================


R3

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
no switchport
ip address 10.1.24.2 255.255.255.252
ipv6 address 2001:5C0:77::3/126
!
interface FastEthernet0/2
no switchport
ip address 10.1.52.1 255.255.255.252
ipv6 address 2001:D31:77::1/126
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
router bgp 777
no synchronization
bgp log-neighbor-changes
neighbor 2001:5C0:77::1 remote-as 5500
no neighbor 2001:5C0:77::1 activate
neighbor 2001:D31:77::3 remote-as 911
no neighbor 2001:D31:77::3 activate
no auto-summary
!
address-family ipv6
neighbor 2001:5C0:77::1 activate
neighbor 2001:D31:77::3 activate
exit-address-family
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


==========================================================


R4


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
no switchport
ip address 10.1.42.1 255.255.255.252
ipv6 address 2001:5C0:75::1/126
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Ethernet1/0
ip address 10.1.34.2 255.255.255.252
half-duplex
ipv6 address 2001:5C0:76::3/126
!
interface Vlan1
no ip address
!
router bgp 777
no synchronization
bgp log-neighbor-changes
neighbor 2001:5C0:75::3 remote-as 771
no neighbor 2001:5C0:75::3 activate
neighbor 2001:5C0:76::1 remote-as 5500
no neighbor 2001:5C0:76::1 activate
no auto-summary
!
address-family ipv6
neighbor 2001:5C0:75::3 activate
neighbor 2001:5C0:76::1 activate
exit-address-family
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


=============================================================

R5


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
!
interface Loopback0
ip address 150.20.1.1 255.255.255.0
ipv6 address 2001:D32:1::1/64
!
interface Loopback1
ip address 150.20.2.1 255.255.255.0
ipv6 address 2001:D32:2::1/64
!
interface Loopback2
ip address 150.20.3.1 255.255.255.0
ipv6 address 2001:D32:3::1/64
!
interface Loopback3
ip address 150.20.4.1 255.255.255.0
ipv6 address 2001:D32:4::1/64
!
interface Loopback4
ip address 192.168.2.1 255.255.255.0
ipv6 address 2001:5C3:2::1/64
!
interface FastEthernet0/0
no switchport
ip address 10.1.52.2 255.255.255.252
ipv6 address 2001:D31:77::3/126
!
interface FastEthernet0/1
!
interface FastEthernet0/2
no switchport
ip address 10.1.62.2 255.255.255.252
ipv6 address 2001:D31:76::3/126
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
router bgp 911
no synchronization
bgp log-neighbor-changes
neighbor 2001:D31:76::1 remote-as 771
no neighbor 2001:D31:76::1 activate
neighbor 2001:D31:77::1 remote-as 777
no neighbor 2001:D31:77::1 activate
no auto-summary
!
address-family ipv6
neighbor 2001:D31:76::1 activate
neighbor 2001:D31:77::1 activate
network 2001:5C3:2::/64
redistribute connected route-map BGP6
no synchronization
exit-address-family
!
ip http server
no ip http secure-server
!
!
!
!
route-map BGP6 permit 100
match ipv6 address IP6
!
!
!
ipv6 access-list IP6
permit ipv6 2001:D32:1::/64 any
permit ipv6 2001:D32:2::/64 any
permit ipv6 2001:D32:3::/64 any
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


==========================================================

R6

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
ipv6 unicast-routing
ipv6 multicast-routing
!
!
interface Loopback0
ip address 200.10.1.1 255.255.255.0
ipv6 address 2001:5C2:1::1/64
!
interface Loopback1
ip address 200.10.2.1 255.255.255.0
ipv6 address 2001:5C2:2::1/64
!
interface Loopback2
ip address 200.10.3.1 255.255.255.0
ipv6 address 2001:5C2:3::1/64
!
interface Loopback3
ip address 172.17.63.1 255.255.255.0
ipv6 address 2001:D33:63::1/64
!
interface FastEthernet0/0
no switchport
ip address 10.1.42.2 255.255.255.252
ipv6 address 2001:5C0:75::3/126
!
interface FastEthernet0/1
no switchport
ip address 10.1.62.1 255.255.255.252
ipv6 address 2001:D31:76::1/126
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
router bgp 771
no synchronization
bgp log-neighbor-changes
neighbor 2001:5C0:75::1 remote-as 777
no neighbor 2001:5C0:75::1 activate
neighbor 2001:D31:76::3 remote-as 911
no neighbor 2001:D31:76::3 activate
no auto-summary
!
address-family ipv6
neighbor 2001:5C0:75::1 activate
neighbor 2001:D31:76::3 activate
network 2001:D33:63::/64
redistribute connected route-map BGP6
no synchronization
exit-address-family
!
ip http server
no ip http secure-server
!
!
route-map BGP6 permit 100
match ipv6 address IP6
!
!
!
ipv6 access-list IP6
permit ipv6 2001:5C2:1::/64 any
permit ipv6 2001:5C2:2::/64 any
permit ipv6 2001:5C2:3::/64 any
!
control-plane
!
!
alias exec c conf t
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end


============================================================

Tidak ada komentar: