Guest User

MT EVPN Lab1

a guest
May 28th, 2025
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. PE1 Config:
  2.  
  3. /interface bridge
  4. add name=bridge1 vlan-filtering=yes
  5. /interface vxlan
  6. add bridge=bridge1 bridge-pvid=40 local-address=172.31.255.254 mac-address=\
  7. AA:2A:74:C0:51:B8 name=Cust2-EVPN vni=100040
  8. /routing bgp instance
  9. add as=65000 name=EVPN-INS
  10. /routing ospf instance
  11. add disabled=no name=ospf-instance-1
  12. /routing ospf area
  13. add disabled=no instance=ospf-instance-1 name=ospf-area-1
  14. /interface bridge port
  15. add bridge=bridge1 interface=ether12 pvid=40
  16. /ip address
  17. add address=10.0.0.1/31 interface=ether1 network=10.0.0.0
  18. add address=172.31.255.254 interface=lo network=172.31.255.254
  19. /routing bgp connection
  20. add afi=evpn as=65000 connect=yes instance=EVPN-INS listen=yes local.address=\
  21. 172.31.255.254 .role=ibgp multihop=yes name=PE1-to-PE2 remote.address=\
  22. 172.31.255.253 .as=65000
  23. /routing bgp evpn
  24. add export.route-targets=65000:100040 import.route-targets=65000:100040 \
  25. instance=EVPN-INS name=Cust2-EVPN vni=100040
  26. /routing ospf interface-template
  27. add area=ospf-area-1 disabled=no interfaces=ether1,lo type=ptp
  28. /system identity
  29. set name=PE1
  30.  
  31. P1 Config:
  32. /routing ospf instance
  33. add disabled=no name=ospf-instance-1
  34. /routing ospf area
  35. add disabled=no instance=ospf-instance-1 name=ospf-area-1
  36. /ip address
  37. add address=10.0.0.0/31 interface=ether1 network=10.0.0.0
  38. add address=10.0.0.2/31 interface=ether2 network=10.0.0.2
  39. add address=172.31.255.255 interface=lo network=172.31.255.255
  40. /routing ospf interface-template
  41. add area=ospf-area-1 disabled=no interfaces=ether1,ether2,lo type=ptp
  42. /system identity
  43. set name=P1
  44.  
  45. PE2 Config:
  46. /interface bridge
  47. add name=bridge1 vlan-filtering=yes
  48. /interface vxlan
  49. add bridge=bridge1 bridge-pvid=40 local-address=172.31.255.253 mac-address=\
  50. D2:08:F5:54:55:5E name=Cust2-EVPN vni=100040
  51. /routing bgp instance
  52. add as=65000 name=EVPN-INS
  53. /routing ospf instance
  54. add disabled=no name=ospf-instance-1 router-id=172.31.255.253
  55. /routing ospf area
  56. add disabled=no instance=ospf-instance-1 name=ospf-area-1
  57. /interface bridge port
  58. add bridge=bridge1 interface=ether12 pvid=40
  59. /ip address
  60. add address=10.0.0.3/31 interface=ether1 network=10.0.0.2
  61. add address=172.31.255.253 interface=lo network=172.31.255.253
  62. /routing bgp connection
  63. add afi=evpn as=65000 connect=yes instance=EVPN-INS listen=yes local.address=\
  64. 172.31.255.253 .role=ibgp name=PE2-to-PE1 remote.address=172.31.255.254 \
  65. .as=65000
  66. /routing bgp evpn
  67. add export.route-targets=65000:100040 import.route-targets=65000:100040 \
  68. instance=EVPN-INS name=Cust2-EVPN vni=100040
  69. /routing ospf interface-template
  70. add area=ospf-area-1 disabled=no interfaces=ether1,lo type=ptp
  71. /system identity
  72. set name=PE2
  73.  
Advertisement
Add Comment
Please, Sign In to add comment