faisareza

Untitled

May 23rd, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. #PE-R1
  2. /interface bridge
  3. add name=loopback1
  4. /ip address
  5. add address=1.1.1.1 interface=loopback1 network=1.1.1.1
  6. add address=12.12.12.1/24 interface=ether1 network=12.12.12.0
  7. /mpls ldp
  8. set enabled=yes lsr-id=1.1.1.1 transport-address=1.1.1.1
  9. /mpls ldp interface
  10. add interface=ether1
  11. /routing ospf network
  12. add area=backbone network=12.12.12.0/24
  13. add area=backbone network=1.1.1.1/32
  14. /system identity
  15. set name=PE-R1
  16.  
  17.  
  18.  
  19. #P-R2
  20. /interface bridge
  21. add name=loopback1
  22. /ip address
  23. add address=2.2.2.2 interface=loopback1 network=2.2.2.2
  24. add address=23.23.23.1/24 interface=ether2 network=23.23.23.0
  25. add address=12.12.12.2/24 interface=ether1 network=12.12.12.0
  26. /mpls ldp
  27. set enabled=yes lsr-id=2.2.2.2 transport-address=2.2.2.2
  28. /mpls ldp interface
  29. add interface=ether1
  30. add interface=ether2
  31. /routing ospf network
  32. add area=backbone network=2.2.2.2/32
  33. add area=backbone network=23.23.23.0/24
  34. add area=backbone network=12.12.12.0/24
  35. /system identity
  36. set name=P-R2
  37.  
  38.  
  39. #P-R3
  40. /interface bridge
  41. add name=loopback1
  42. /ip address
  43. add address=3.3.3.3 interface=loopback1 network=3.3.3.3
  44. add address=23.23.23.2/24 interface=ether2 network=23.23.23.0
  45. add address=34.34.34.1/24 interface=ether3 network=34.34.34.0
  46. /mpls ldp
  47. set enabled=yes
  48. /mpls ldp interface
  49. add interface=ether2
  50. add interface=ether3
  51. /routing ospf network
  52. add area=backbone network=23.23.23.0/24
  53. add area=backbone network=34.34.34.0/24
  54. add area=backbone network=3.3.3.3/32
  55. /system identity
  56. set name=P-R3
  57.  
  58.  
  59. #PE-R4
  60. /system identity
  61. set name=PE-R4
  62. /interface bridge
  63. add name=loopback1
  64. /ip address
  65. add address=4.4.4.4 interface=loopback1 network=4.4.4.4
  66. add address=34.34.34.2/24 interface=ether3 network=34.34.34.0
  67. /mpls ldp
  68. set enabled=yes lsr-id=4.4.4.4 transport-address=4.4.4.4
  69. /mpls ldp interface
  70. add interface=ether3
  71. /routing ospf network
  72. add area=backbone network=34.34.34.0/24
  73. add area=backbone network=4.4.4.4/32
Advertisement
Add Comment
Please, Sign In to add comment