Advertisement
billyfence

Edge-2-config

Apr 14th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. [edit]
  2. root@Edge-2# show
  3. ## Last changed: 2018-04-14 13:48:53 UTC
  4. version 14.1R1.10;
  5. system {
  6. host-name Edge-2;
  7. root-authentication {
  8. encrypted-password "$1$Rpq2aSfp$25crnrFWMcUkwmC8TK3Ma1"; ## 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. router-id 192.168.10.2;
  59. autonomous-system 10;
  60. }
  61. protocols {
  62. bgp {
  63. group IBGP-PEERS {
  64. type internal;
  65. local-address 192.168.10.2;
  66. import ACCEPT;
  67. export DEFAULT;
  68. neighbor 192.168.10.6;
  69. }
  70. group isp-2 {
  71. type external;
  72. export BGP-ISP1-OUT;
  73. peer-as 200;
  74. neighbor 40.40.40.1;
  75. }
  76. }
  77. ospf {
  78. area 0.0.0.0 {
  79. interface em3.0 {
  80. interface-type p2p;
  81. }
  82. interface em4.0 {
  83. interface-type p2p;
  84. }
  85. interface lo0.0 {
  86. passive;
  87. }
  88. }
  89. }
  90. }
  91. policy-options {
  92. policy-statement ACCEPT {
  93. term ALL {
  94. then accept;
  95. }
  96. }
  97. policy-statement BGP-ISP1-OUT {
  98. term LAN-BLOCKS {
  99. from {
  100. route-filter 192.168.12.0/24 exact;
  101. route-filter 192.168.13.0/24 exact;
  102. }
  103. then accept;
  104. }
  105. term OTHER {
  106. then reject;
  107. }
  108. }
  109. policy-statement DEFAULT {
  110. term 1 {
  111. from {
  112. route-filter 0.0.0.0/0 exact;
  113. }
  114. then {
  115. next-hop self;
  116. accept;
  117. }
  118. }
  119. }
  120. }
  121.  
  122. [edit]
  123. root@Edge-2#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement