bgpd.conf.sample2 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. !
  2. ! Zebra configuration saved from vty
  3. ! 2002/07/01 03:16:33
  4. !
  5. hostname bgpd
  6. password zebra
  7. log file bgpd.log
  8. log stdout
  9. !
  10. router bgp 7675
  11. no bgp default ipv4-unicast
  12. neighbor 3ffe:506:1000::2 remote-as 7675
  13. neighbor fe80::200:c0ff:fe30:9be3 remote-as 9377
  14. neighbor fe80::200:c0ff:fe30:9be3 interface sit3
  15. neighbor fe80::210:5aff:fe6b:3cee remote-as 7675
  16. neighbor fe80::210:5aff:fe6b:3cee interface eth0
  17. neighbor fe80::290:27ff:fe51:84c7 remote-as 4691
  18. neighbor fe80::290:27ff:fe51:84c7 description DTI
  19. neighbor fe80::290:27ff:fe51:84c7 interface sit7
  20. neighbor fe80::2a0:c9ff:fec8:82ec remote-as 7530
  21. neighbor fe80::2a0:c9ff:fec8:82ec description IRI
  22. neighbor fe80::2a0:c9ff:fec8:82ec interface sit8
  23. neighbor fe80::2e0:18ff:fe98:2725 remote-as 2500
  24. neighbor fe80::2e0:18ff:fe98:2725 description WIDE
  25. neighbor fe80::2e0:18ff:fe98:2725 interface sit5
  26. neighbor fe80::2e0:18ff:fea8:bf5 remote-as 65000
  27. neighbor fe80::2e0:18ff:fea8:bf5 interface sit6
  28. !
  29. address-family ipv6
  30. network 3ffe:506::/33
  31. network 3ffe:1800:e800::/40
  32. aggregate-address 3ffe:506::/32
  33. redistribute connected
  34. neighbor 3ffe:506:1000::2 activate
  35. neighbor fe80::200:c0ff:fe30:9be3 activate
  36. neighbor fe80::200:c0ff:fe30:9be3 route-map set-nexthop out
  37. neighbor fe80::210:5aff:fe6b:3cee activate
  38. neighbor fe80::290:27ff:fe51:84c7 activate
  39. neighbor fe80::290:27ff:fe51:84c7 route-map set-nexthop out
  40. neighbor fe80::2a0:c9ff:fec8:82ec activate
  41. neighbor fe80::2a0:c9ff:fec8:82ec route-map set-nexthop out
  42. neighbor fe80::2e0:18ff:fe98:2725 activate
  43. neighbor fe80::2e0:18ff:fe98:2725 distribute-list nla1 out
  44. neighbor fe80::2e0:18ff:fe98:2725 route-map set-nexthop out
  45. neighbor fe80::2e0:18ff:fea8:bf5 activate
  46. neighbor fe80::2e0:18ff:fea8:bf5 route-map set-nexthop out
  47. exit-address-family
  48. !
  49. ipv6 access-list all permit any
  50. ipv6 access-list nla1 deny 3ffe:506::/33
  51. ipv6 access-list nla1 permit 3ffe:506::/32
  52. ipv6 access-list nla1 deny any
  53. ipv6 access-list ntt-nla1 permit 3ffe:1800:0:ffff::c/127
  54. ipv6 access-list ntt-nla1 deny 3ffe:1800:e800::/41
  55. ipv6 access-list ntt-nla1 permit 3ffe:1800:e800::/40
  56. ipv6 access-list ntt-nla1 deny any
  57. !
  58. ipv6 prefix-list 6bone-filter seq 5 permit 3ffe::/17 ge 24 le 24
  59. ipv6 prefix-list 6bone-filter seq 10 permit 3ffe:8000::/17 ge 28 le 28
  60. ipv6 prefix-list 6bone-filter seq 12 deny 3ffe::/16
  61. ipv6 prefix-list 6bone-filter seq 15 permit 2000::/3 ge 16 le 16
  62. ipv6 prefix-list 6bone-filter seq 20 permit 2001::/16 ge 35 le 35
  63. !
  64. route-map set-nexthop permit 10
  65. match ipv6 address all
  66. set ipv6 next-hop global 3ffe:506::1
  67. set ipv6 next-hop local fe80::cbb5:591a
  68. set ip next-hop 203.181.89.26
  69. set community 7675:0
  70. !
  71. route-map set-link-local permit 10
  72. match ipv6 address all
  73. set ipv6 next-hop local fe80::cbb5:591a
  74. set ipv6 next-hop global 3ffe:1800:0:ffff::d
  75. !
  76. line vty
  77. !