Advertisement
billyfence

ABR-config

Apr 14th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. [edit]
  2. root@ABR# show
  3. ## Last changed: 2018-04-14 12:45:12 UTC
  4. version 14.1R1.10;
  5. system {
  6. host-name ABR;
  7. root-authentication {
  8. encrypted-password "$1$RipVHNlI$AJk29VEIVqwl3PRmwqSNi."; ## SECRET-DATA
  9. }
  10. }
  11. interfaces {
  12. em2 {
  13. description "ABR to Edge-1";
  14. unit 0 {
  15. family inet {
  16. address 192.168.11.9/30;
  17. }
  18. }
  19. }
  20. em3 {
  21. description "ABR to Edge-2";
  22. unit 0 {
  23. family inet {
  24. address 192.168.11.13/30;
  25. }
  26. }
  27. }
  28. em4 {
  29. description "ABR ro R1";
  30. unit 0 {
  31. family inet {
  32. address 192.168.11.2/30;
  33. }
  34. }
  35. }
  36. em5 {
  37. description "ABR to R2";
  38. unit 0 {
  39. family inet {
  40. address 192.168.11.22/30;
  41. }
  42. }
  43. }
  44. em6 {
  45. description "ABR to RR";
  46. unit 0 {
  47. family inet {
  48. address 192.168.11.22/30;
  49. }
  50. }
  51. }
  52. lo0 {
  53. description Loopback;
  54. unit 0 {
  55. family inet {
  56. address 192.168.10.3/32;
  57. }
  58. }
  59. }
  60. }
  61. routing-options {
  62. router-id 192.168.10.3;
  63. autonomous-system 10;
  64. }
  65. protocols {
  66. bgp {
  67. group RR1 {
  68. type internal;
  69. local-address 192.168.10.3;
  70. export IGP-BGP;
  71. neighbor 192.168.10.6;
  72. }
  73. }
  74. ospf {
  75. export export-rip;
  76. area 0.0.0.1 {
  77. stub default-metric 10 no-summaries;
  78. interface em4.0 {
  79. interface-type p2p;
  80. }
  81. }
  82. area 0.0.0.0 {
  83. interface em2.0 {
  84. interface-type p2p;
  85. }
  86. interface lo0.0 {
  87. passive;
  88. }
  89. interface em3.0 {
  90. interface-type p2p;
  91. }
  92. interface em6.0 {
  93. interface-type p2p;
  94. }
  95. }
  96. }
  97. rip {
  98. group RIP-DOMAIN {
  99. export export-rip;
  100. neighbor em5.0;
  101. }
  102. }
  103. }
  104. policy-options {
  105. prefix-list RIP-CUST-BLOCK {
  106. 192.168.13.0/24;
  107. }
  108. prefix-list OSPF-CUST-BLOCK {
  109. 192.168.12.0/24;
  110. }
  111. policy-statement IGP-BGP {
  112. term OSPF-RIP {
  113. from {
  114. protocol [ rip ospf ];
  115. prefix-list RIP-CUST-BLOCK;
  116. prefix-list OSPF-CUST-BLOCK;
  117. }
  118. then accept;
  119. }
  120. term OTHER {
  121. then reject;
  122. }
  123. }
  124. policy-statement export-rip {
  125. term 1 {
  126. from protocol rip;
  127. then accept;
  128. }
  129. }
  130. community INTERNAL members 10:1;
  131. }
  132.  
  133. [edit]
  134. root@ABR#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement