vlastiti podaci |
AS članice: |
65100 |
IPv4 mreže: |
10.10.0.0/16 |
|
10.11.0.0/16 |
||
IPv6 mreže: |
1010::/32 |
|
1011::/32 |
||
podaci susjeda |
AS susjednih članica: |
65222 |
65333 |
router bgp 65100
bgp always-compare-med
no bgp default ipv4-unicast
!! važna naredba (često zaboravljena):
no bgp enforce-first-as
bgp log-neighbor-changes
! BGP konekcija sa jednim route serverom
neighbor 2001:7F8:28::1 remote-as 51702
neighbor 2001:7F8:28::1 password ea3ef7f7fad4ec29fd911a241dfaf8900aef6
neighbor 193.192.15.124 remote-as 51702
neighbor 193.192.15.124 password ea3ef7f7fad4ec29fd911a241dfaf8900aef6
! BGP konekcija sa drugim route serverom
neighbor 2001:7F8:28::2 remote-as 51702
neighbor 2001:7F8:28::2 password ea3ef7f7fad4ec29fd911a241dfaf8900aef6
neighbor 193.192.15.125 remote-as 51702
neighbor 193.192.15.125 password ea3ef7f7fad4ec29fd911a241dfaf8900aef6
!
address-family ipv4
no synchronization
! oglasavanje vlastitog IPv4 adresnog prostora
network 10.10.0.0mask 255.255.0.0
network 10.11.0.0mask 255.255.0.0
neighbor 193.192.15.124 activate
neighbor 193.192.15.124 send-community
neighbor 193.192.15.124 next-hop-self
neighbor 193.192.15.124 soft-reconfiguration inbound
neighbor 193.192.15.124 route-map rs-ipv4-cix out
neighbor 193.192.15.125 activate
neighbor 193.192.15.125 send-community
neighbor 193.192.15.125 next-hop-self
neighbor 193.192.15.125 soft-reconfiguration inbound
neighbor 193.192.15.125 route-map rs-ipv4-cix out
no auto-summary
exit-address-family
!
address-family ipv6
no synchronization
! oglasavanje vlastitog IPv6 adresnog prostora
network 1010::/32
network 1011::/32
neighbor 2001:7F8:28::1 activate
neighbor 2001:7F8:28::1 send-community
neighbor 2001:7F8:28::1 next-hop-self
neighbor 2001:7F8:28::1 soft-reconfiguration inbound
neighbor 2001:7F8:28::1 route-map rs-ipv6-cix out
neighbor 2001:7F8:28::2 activate
neighbor 2001:7F8:28::2 send-community
neighbor 2001:7F8:28::2 next-hop-self
neighbor 2001:7F8:28::2 soft-reconfiguration inbound
neighbor 2001:7F8:28::2 route-map rs-ipv6-cix out
exit-address-family
!
ip bgp-community new-format
!
ip prefix-list 10 seq 5 permit 10.10.0.0/16
ip prefix-list 10 seq 10 permit 10.11.0.0/16
!
ipv6 prefix-list 10 seq 5 permit 1010::/32
ipv6 prefix-list 10 seq 10 permit 1011::/32
!
route-map rs-ipv4-cix permit 10
match ip address prefix-list 10
set community 0:51702 51702:65333 51702:65222
!
route-map rs-ipv6-cix permit 10
match ipv6 address prefix-list 10
set community 0:51702 51702:65333 51702:65222