Advertisement
billyfence

Edge-1-config-new2

Apr 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1.  
  2. [edit]
  3. root@Edge-1# show
  4. ## Last changed: 2018-04-16 22:04:38 UTC
  5. version 14.1R1.10;
  6. system {
  7. host-name Edge-1;
  8. root-authentication {
  9. encrypted-password "$1$fZKCu7Al$9R9VT/8pDFGtoEib9mJsX0"; ## SECRET-DATA
  10. }
  11. syslog {
  12. user * {
  13. any emergency;
  14. }
  15. file messages {
  16. any notice;
  17. authorization info;
  18. }
  19. file interactive-commands {
  20. interactive-commands any;
  21. }
  22. }
  23. }
  24. interfaces {
  25. em2 {
  26. description "Edge-1 to ABR";
  27. unit 0 {
  28. family inet {
  29. address 192.168.11.10/30;
  30. }
  31. }
  32. }
  33. em4 {
  34. description "Edge-1 to Edge-2";
  35. unit 0 {
  36. family inet {
  37. address 192.168.11.17/30;
  38. }
  39. }
  40. }
  41. em5 {
  42. description "Edge1 to ISP1-R1";
  43. unit 0 {
  44. family inet {
  45. address 30.30.30.2/30;
  46. }
  47. }
  48. }
  49. em6 {
  50. description "Edge1 to ISP1-R2";
  51. unit 0 {
  52. family inet {
  53. address 30.30.30.6/30;
  54. }
  55. }
  56. }
  57. lo0 {
  58. description loopback;
  59. unit 0 {
  60. family inet {
  61. address 192.168.10.1/32;
  62. }
  63. }
  64. }
  65. }
  66. routing-options {
  67. static {
  68. route 192.168.10.0/24 discard;
  69. route 192.168.11.0/24 discard;
  70. }
  71. router-id 192.168.10.1;
  72. autonomous-system 10;
  73. }
  74. protocols {
  75. bgp {
  76. group IBGP-PEERS {
  77. type internal;
  78. local-address 192.168.10.1;
  79. import ACCEPT;
  80. export RR-EXPORT;
  81. neighbor 192.168.10.6;
  82. }
  83. group isp1-r1 {
  84. type external;
  85. export BGP-ISP1-OUT;
  86. peer-as 100;
  87. neighbor 30.30.30.1;
  88. }
  89. group isp1-r2 {
  90. type external;
  91. export BGP-ISP1-OUT;
  92. peer-as 100;
  93. neighbor 30.30.30.5;
  94. }
  95. }
  96. ospf {
  97. area 0.0.0.0 {
  98. interface em4.0 {
  99. interface-type p2p;
  100. }
  101. interface em2.0 {
  102. interface-type p2p;
  103. }
  104. interface lo0.0 {
  105. passive;
  106. }
  107. }
  108. }
  109. }
  110. policy-options {
  111. policy-statement ACCEPT {
  112. term ALL {
  113. then accept;
  114. }
  115. }
  116. policy-statement BGP-ISP1-OUT {
  117. term LAN-BLOCKS {
  118. from {
  119. route-filter 192.168.10.0/24 exact;
  120. route-filter 192.168.11.0/24 exact;
  121. route-filter 192.168.12.0/24 exact;
  122. route-filter 192.168.13.0/24 exact;
  123. }
  124. then accept;
  125. }
  126. term OTHER {
  127. then reject;
  128. }
  129. }
  130. policy-statement RR-EXPORT {
  131. then {
  132. next-hop self;
  133. }
  134. }
  135. }
  136.  
  137. [edit]
  138. root@Edge-1#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement