Guest User

Untitled

a guest
Dec 14th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. !
  2. router bgp 50817
  3. bgp router-id 95.215.3.58
  4. bgp log-neighbor-changes
  5. network 146.185.234.0/24
  6. neighbor 95.215.3.57 remote-as 44050
  7. neighbor 95.215.3.57 description PIN
  8. neighbor 95.215.3.57 shutdown
  9. neighbor 95.215.3.57 weight 200
  10. neighbor 95.215.3.57 next-hop-self
  11. neighbor 95.215.3.57 route-map PIN-in in
  12. neighbor 95.215.3.57 route-map PIN-out out
  13. neighbor 213.211.132.125 remote-as 9031
  14. neighbor 213.211.132.125 description EDPnet
  15. neighbor 213.211.132.125 shutdown
  16. neighbor 213.211.132.125 weight 150
  17. neighbor 213.211.132.125 route-map EDPnet-in in
  18. neighbor 213.211.132.125 route-map EDPnet-out out
  19. !
  20. ip prefix-list bogons description bogus nets
  21. ip prefix-list bogons seq 15 permit 0.0.0.0/8 le 32
  22. ip prefix-list bogons seq 20 permit 127.0.0.0/8 le 32
  23. ip prefix-list bogons seq 30 permit 10.0.0.0/8 le 32
  24. ip prefix-list bogons seq 35 permit 172.16.0.0/12 le 32
  25. ip prefix-list bogons seq 40 permit 192.168.0.0/16 le 32
  26. ip prefix-list bogons seq 45 permit 169.254.0.0/16 le 32
  27. ip prefix-list bogons seq 50 permit 224.0.0.0/4 le 32
  28. ip prefix-list bogons seq 55 permit 240.0.0.0/4 le 32
  29. ip prefix-list default description default route
  30. ip prefix-list default seq 10 permit 0.0.0.0/0
  31. !
  32. ip as-path access-list 1 permit _6451[2-9]_
  33. ip as-path access-list 1 permit _645[2-9][0-9]_
  34. ip as-path access-list 1 permit _64[6-9][0-9][0-9]_
  35. ip as-path access-list 1 permit _65[0-9][0-9][0-9]_
  36. !
  37. route-map PIN-in deny 100
  38. match as-path 1
  39. !
  40. route-map PIN-in deny 110
  41. match ip address prefix-list bogons
  42. !
  43. route-map PIN-in deny 115
  44. match ip address prefix-list default
  45. !
  46. route-map PIN-in deny 120
  47. match ip address prefix-list our-CIDR-blocks
  48. !
  49. route-map PIN-in permit 200
  50. set local-preference 100
  51. !
  52. route-map PIN-out permit 100
  53. match ip address prefix-list upstream-out
  54. !
  55. route-map PIN-out deny 200
  56. !
  57. route-map EDPnet-out permit 10
  58. description announces_to_EDP
  59. match ip address prefix-list upstream-out
  60. !
  61. route-map EDPnet-in deny 40
  62. match as-path 1
  63. !
  64. route-map EDPnet-in deny 50
  65. match ip address prefix-list bogons
  66. !
  67. route-map EDPnet-in deny 60
  68. match ip address prefix-list default
  69. !
  70. route-map EDPnet-in deny 70
  71. match ip address prefix-list our-CIDR-blocks
  72. !
  73. route-map EDPnet-in permit 100
  74. set local-preference 150
  75. !
  76. line vty
  77. !
Add Comment
Please, Sign In to add comment