Advertisement
billyfence

Edge-1-config-new

Apr 16th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. [edit]
  2. root@Edge-1# show
  3. ## Last changed: 2018-04-16 14:37:07 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. static {
  65. route 192.168.10.0/24 discard;
  66. route 192.168.11.0/24 discard;
  67. }
  68. router-id 192.168.10.1;
  69. autonomous-system 10;
  70. }
  71. protocols {
  72. bgp {
  73. group IBGP-PEERS {
  74. type internal;
  75. local-address 192.168.10.1;
  76. import ACCEPT;
  77. neighbor 192.168.10.6;
  78. }
  79. group isp1-r1 {
  80. type external;
  81. export BGP-ISP1-OUT;
  82. peer-as 100;
  83. neighbor 30.30.30.1;
  84. }
  85. group isp1-r2 {
  86. type external;
  87. export BGP-ISP1-OUT;
  88. peer-as 100;
  89. neighbor 30.30.30.5;
  90. }
  91. }
  92. ospf {
  93. area 0.0.0.0 {
  94. interface em4.0 {
  95. interface-type p2p;
  96. }
  97. interface em2.0 {
  98. interface-type p2p;
  99. }
  100. interface lo0.0 {
  101. passive;
  102. }
  103. }
  104. }
  105. }
  106. policy-options {
  107. policy-statement ACCEPT {
  108. term ALL {
  109. then accept;
  110. }
  111. }
  112. policy-statement BGP-ISP1-OUT {
  113. term LAN-BLOCKS {
  114. from {
  115. route-filter 192.168.10.0/22 upto /24;
  116. }
  117. then accept;
  118. }
  119. term OTHER {
  120. then reject;
  121. }
  122. }
  123. }
  124.  
  125. [edit]
  126. root@Edge-1#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement