billyfence

Edge-2-config-new

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