Guest User

edg01 bgp config

a guest
Sep 25th, 2014
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. router bgp 39944
  2. bgp always-compare-med
  3. no bgp enforce-first-as
  4. bgp log-neighbor-changes
  5. bgp bestpath med confed
  6. network 208.80.159.0 route-map telna-las1-public
  7. neighbor 10.110.5.21 remote-as 39944
  8. neighbor 10.110.5.21 description TelNA LAS Edge 02
  9. neighbor 10.110.5.21 next-hop-self
  10. neighbor 10.110.5.21 route-map internal-in in
  11. neighbor 10.110.5.21 route-map internal-out out
  12. neighbor 216.115.65.69 remote-as 23005
  13. neighbor 216.115.65.69 description Switch AGG Core
  14. neighbor 216.115.65.69 allowas-in
  15. neighbor 216.115.65.69 prefix-list telna-tier1-ingress-strict in
  16. neighbor 216.115.65.69 route-map transit-in in
  17. neighbor 216.115.65.69 route-map transit-out out
  18. maximum-paths 4
  19. !
  20. ip bgp-community new-format
  21. ip community-list expanded transit-out permit 39944:100
  22. ip community-list expanded transit-out permit 39944:150
  23. ip community-list expanded peer-out permit 39944:100
  24. ip community-list expanded peer-out permit 39944:150
  25. ip community-list expanded cust-out permit 39944:100
  26. ip community-list expanded cust-out permit 39944:120
  27. ip community-list expanded cust-out permit 39944:130
  28. ip community-list expanded cust-out permit 39944:150
  29. ip as-path access-list 1 permit ^$ip prefix-list defaultonly-in seq 10 permit 0.0.0.0/0
  30. ip route 0.0.0.0 0.0.0.0 216.115.65.69 250
  31. ip route 208.80.159.0 255.255.255.0 Null0 254
  32. !
  33. ip prefix-list NO_DEFAULT_ROUTE seq 1 deny 0.0.0.0/0
  34. ip prefix-list NO_DEFAULT_ROUTE seq 2 permit 0.0.0.0/0 ge 1 le 24
  35. !
  36. ip prefix-list telna-tier1-ingress-strict description TelNA Ingress Prefix Filter for Tier 1 ISPs (rev .02 - 2014-08-09)
  37. ip prefix-list telna-tier1-ingress-strict seq 2 deny 0.0.0.0/0
  38. ip prefix-list telna-tier1-ingress-strict seq 4 deny 10.0.0.0/8 le 32
  39. ip prefix-list telna-tier1-ingress-strict seq 6 deny 172.16.0.0/12 le 32
  40. ip prefix-list telna-tier1-ingress-strict seq 8 deny 192.168.0.0/16 le 32
  41. ip prefix-list telna-tier1-ingress-strict seq 10 deny 224.0.0.0/4 le 32
  42. ip prefix-list telna-tier1-ingress-strict seq 12 deny 240.0.0.0/4 le 32
  43. ip prefix-list telna-tier1-ingress-strict seq 14 deny 127.0.0.0/8 le 32
  44. ip prefix-list telna-tier1-ingress-strict seq 16 deny 169.254.0.0/16 le 32
  45. ip prefix-list telna-tier1-ingress-strict seq 18 deny 192.0.2.0/24 le 32
  46. ip prefix-list telna-tier1-ingress-strict seq 20 deny 198.51.100.0/24 le 32
  47. ip prefix-list telna-tier1-ingress-strict seq 22 deny 203.0.113.0/24 le 32
  48. ip prefix-list telna-tier1-ingress-strict seq 24 deny 192.42.172.0/24 le 32
  49. ip prefix-list telna-tier1-ingress-strict seq 26 deny 198.18.0.0/15 le 32
  50. ip prefix-list telna-tier1-ingress-strict seq 28 deny 0.0.0.0/0 ge 25
  51. ip prefix-list telna-tier1-ingress-strict seq 30 deny 0.0.0.0/0 le 7
  52. ip prefix-list telna-tier1-ingress-strict seq 10300 permit 0.0.0.0/0 le 24
  53. !
  54. route-map transit-out permit 10
  55. match community transit-out
  56. !
  57. route-map peer-in permit 10
  58. match ip address prefix-list NO_DEFAULT_ROUTE
  59. set local-preference 100
  60. set community 39944:130
  61. !
  62. route-map internal-in permit 10
  63. match ip address prefix-list NO_DEFAULT_ROUTE
  64. set local-preference 80
  65. !
  66. route-map customer-in permit 10
  67. set local-preference 120
  68. set community 39944:130
  69. !
  70. route-map telna-las1-public permit 10
  71. set local-preference 100
  72. set community 39944:100
  73. !
  74. route-map peer-out permit 10
  75. match community peer-out
  76. !
  77. route-map internal-out permit 10
  78. !
  79. route-map customer-out permit 10
  80. match community cust-out
  81. !
  82. route-map transit-in permit 10
  83. set local-preference 80
  84. set community 39944:120
Advertisement
Add Comment
Please, Sign In to add comment