Advertisement
Guest User

vprn

a guest
Jul 6th, 2019
676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. Configuration of one PE:
  2.  
  3. A:vRR>config>service# info
  4. ----------------------------------------------
  5. customer 1 create
  6. description "Default customer"
  7. exit
  8. customer 30 create
  9. description "ISEL"
  10. exit
  11. vprn 30 customer 30 create
  12. description "VPRN_ISEL"
  13. autonomous-system 100
  14. route-distinguisher 64600:30
  15. vrf-target target:64600:30
  16. interface "toCE1" create
  17. address 10.1.1.0/31
  18. sap 1/1/4 create
  19. exit
  20. exit
  21. bgp
  22. group "toCE"
  23. as-override
  24. export "MP-BGP_to_CE"
  25. peer-as 200
  26. local-address 10.1.1.0
  27. split-horizon
  28. neighbor 10.1.1.1
  29. exit
  30. exit
  31. no shutdown
  32. exit
  33. no shutdown
  34. exit
  35.  
  36.  
  37. ----------------------------------------------
  38. #--------------------------------------------------
  39. echo "IP Configuration"
  40. #--------------------------------------------------
  41. interface "system"
  42. address 1.1.1.1/32
  43. no shutdown
  44. exit
  45. interface "toR2"
  46. address 10.0.0.0/31
  47. port 1/1/1
  48. no shutdown
  49. exit
  50. #--------------------------------------------------
  51. echo "OSPFv2 Configuration"
  52. #--------------------------------------------------
  53. ospf
  54. area 0.0.0.0
  55. interface "system"
  56. no shutdown
  57. exit
  58. interface "toR2"
  59. interface-type point-to-point
  60. no shutdown
  61. exit
  62. exit
  63. no shutdown
  64. exit
  65. #--------------------------------------------------
  66. echo "MPLS Configuration"
  67. #--------------------------------------------------
  68. mpls
  69. shutdown
  70. interface "system"
  71. no shutdown
  72. exit
  73. interface "toR2"
  74. no shutdown
  75. exit
  76. exit
  77. #--------------------------------------------------
  78. echo "RSVP Configuration"
  79. #--------------------------------------------------
  80. rsvp
  81. shutdown
  82. interface "system"
  83. no shutdown
  84. exit
  85. interface "toR2"
  86. no shutdown
  87. exit
  88. exit
  89. #--------------------------------------------------
  90. echo "MPLS LSP Configuration"
  91. #--------------------------------------------------
  92. mpls
  93. exit
  94. #--------------------------------------------------
  95. echo "LDP Configuration"
  96. #--------------------------------------------------
  97. ldp
  98. interface-parameters
  99. interface "toR2" dual-stack
  100. ipv4
  101. no shutdown
  102. exit
  103. no shutdown
  104. exit
  105. exit
  106. targeted-session
  107. exit
  108. no shutdown
  109. exit
  110. #--------------------------------------------------
  111. echo "Policy Configuration"
  112. #--------------------------------------------------
  113. policy-options
  114. begin
  115. policy-statement "MP-BGP_to_CE"
  116. entry 1
  117. from
  118. protocol bgp-vpn
  119. exit
  120. action accept
  121. exit
  122. exit
  123. exit
  124. commit
  125. exit
  126. #--------------------------------------------------
  127. echo "BGP Configuration"
  128. #--------------------------------------------------
  129. bgp
  130. group "multi-bgp"
  131. family vpn-ipv4
  132. peer-as 64600
  133. neighbor 3.3.3.3
  134. local-address 1.1.1.1
  135. exit
  136. exit
  137. group "bmulti-bgpb"
  138. exit
  139. no shutdown
  140. exit
  141. ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement