Advertisement
smithy1208

Untitled

Dec 11th, 2020
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. !R1
  2. interface Loopback0
  3. ip address 10.70.255.1 255.255.255.255
  4. !
  5. interface Loopback1
  6. ip address 172.20.255.1 255.255.255.255
  7. !
  8. interface FastEthernet0/0
  9. no ip address
  10. shutdown
  11. duplex half
  12. !
  13. interface Ethernet1/0
  14. no ip address
  15. duplex half
  16. !
  17. interface Ethernet1/0.401
  18. encapsulation dot1Q 401
  19. ip address 10.70.0.2 255.255.255.252
  20. !
  21. interface Ethernet1/0.410
  22. encapsulation dot1Q 410
  23. ip address 172.20.0.1 255.255.255.252
  24. tag-switching ip
  25. !
  26. interface Ethernet1/1
  27. no ip address
  28. duplex half
  29. !
  30. interface Ethernet1/1.81
  31. encapsulation dot1Q 81
  32. ip address 81.20.195.237 255.255.255.252
  33. !
  34. interface Ethernet1/2
  35. no ip address
  36. shutdown
  37. duplex half
  38. !
  39. interface Ethernet1/3
  40. no ip address
  41. shutdown
  42. duplex half
  43. !
  44. router ospf 110
  45. router-id 10.70.255.1
  46. log-adjacency-changes
  47. redistribute connected metric 1 subnets
  48. redistribute static metric 1 subnets
  49. passive-interface default
  50. no passive-interface Ethernet1/0.401
  51. network 10.70.0.0 0.0.0.3 area 0
  52. distribute-list prefix no-sc-local-distribution out
  53. !
  54. router bgp 20866
  55. bgp router-id 172.20.255.1
  56. bgp log-neighbor-changes
  57. neighbor 172.20.0.2 remote-as 20866
  58. neighbor 172.20.0.2 update-source Ethernet1/0.410
  59. !
  60. address-family ipv4
  61. redistribute connected
  62. neighbor 172.20.0.2 activate
  63. no auto-summary
  64. no synchronization
  65. network 172.20.255.0 mask 255.255.255.0
  66. exit-address-family
  67. !
  68. ip classless
  69. ip route 81.20.195.240 255.255.255.240 81.20.195.238
  70. no ip http server
  71. !
  72. !
  73. !
  74. ip prefix-list no-sc-local-distribution seq 20 permit 81.20.192.0/20 le 32
  75. ip prefix-list no-sc-local-distribution seq 100 deny 0.0.0.0/0 le 32
  76. access-list 72 permit 172.20.255.0 0.0.0.255
  77. access-list 72 deny any
  78. !
  79. route-map no-ospf-distribution deny 10
  80. match ip address 72
  81. !
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement