billyfence

Edge-1-config

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