Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PE1 Config:
- /interface bridge
- add name=bridge1 vlan-filtering=yes
- /interface vxlan
- add bridge=bridge1 bridge-pvid=40 local-address=172.31.255.254 mac-address=\
- AA:2A:74:C0:51:B8 name=Cust2-EVPN vni=100040
- /routing bgp instance
- add as=65000 name=EVPN-INS
- /routing ospf instance
- add disabled=no name=ospf-instance-1
- /routing ospf area
- add disabled=no instance=ospf-instance-1 name=ospf-area-1
- /interface bridge port
- add bridge=bridge1 interface=ether12 pvid=40
- /ip address
- add address=10.0.0.1/31 interface=ether1 network=10.0.0.0
- add address=172.31.255.254 interface=lo network=172.31.255.254
- /routing bgp connection
- add afi=evpn as=65000 connect=yes instance=EVPN-INS listen=yes local.address=\
- 172.31.255.254 .role=ibgp multihop=yes name=PE1-to-PE2 remote.address=\
- 172.31.255.253 .as=65000
- /routing bgp evpn
- add export.route-targets=65000:100040 import.route-targets=65000:100040 \
- instance=EVPN-INS name=Cust2-EVPN vni=100040
- /routing ospf interface-template
- add area=ospf-area-1 disabled=no interfaces=ether1,lo type=ptp
- /system identity
- set name=PE1
- P1 Config:
- /routing ospf instance
- add disabled=no name=ospf-instance-1
- /routing ospf area
- add disabled=no instance=ospf-instance-1 name=ospf-area-1
- /ip address
- add address=10.0.0.0/31 interface=ether1 network=10.0.0.0
- add address=10.0.0.2/31 interface=ether2 network=10.0.0.2
- add address=172.31.255.255 interface=lo network=172.31.255.255
- /routing ospf interface-template
- add area=ospf-area-1 disabled=no interfaces=ether1,ether2,lo type=ptp
- /system identity
- set name=P1
- PE2 Config:
- /interface bridge
- add name=bridge1 vlan-filtering=yes
- /interface vxlan
- add bridge=bridge1 bridge-pvid=40 local-address=172.31.255.253 mac-address=\
- D2:08:F5:54:55:5E name=Cust2-EVPN vni=100040
- /routing bgp instance
- add as=65000 name=EVPN-INS
- /routing ospf instance
- add disabled=no name=ospf-instance-1 router-id=172.31.255.253
- /routing ospf area
- add disabled=no instance=ospf-instance-1 name=ospf-area-1
- /interface bridge port
- add bridge=bridge1 interface=ether12 pvid=40
- /ip address
- add address=10.0.0.3/31 interface=ether1 network=10.0.0.2
- add address=172.31.255.253 interface=lo network=172.31.255.253
- /routing bgp connection
- add afi=evpn as=65000 connect=yes instance=EVPN-INS listen=yes local.address=\
- 172.31.255.253 .role=ibgp name=PE2-to-PE1 remote.address=172.31.255.254 \
- .as=65000
- /routing bgp evpn
- add export.route-targets=65000:100040 import.route-targets=65000:100040 \
- instance=EVPN-INS name=Cust2-EVPN vni=100040
- /routing ospf interface-template
- add area=ospf-area-1 disabled=no interfaces=ether1,lo type=ptp
- /system identity
- set name=PE2
Advertisement
Add Comment
Please, Sign In to add comment