In this configuration example, IPVPN and EVPN-IFL are simultaneously configured in VPRN 80 of PE2. This allows the stitching of IPVPN and EVPN-IFL domains, as shown in Figure 1.
The following is an example configuration of PE1, PE2, and PE4 for VPRN 80.
// PE1's VPRN 80
A:PE-1# configure service vprn 80
A:PE-1>config>service>vprn# info
----------------------------------------------
router-id 192.0.2.1
autonomous-system 64500
interface "lo0" create
address 1.1.1.1/32
loopback
exit
interface "local" create
address 10.0.0.254/24
sap 1/1/c1/1:80 create
exit
exit
bgp-ipvpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.1:80
vrf-target target:64500:80
no shutdown
exit
exit
bgp
min-route-advertisement 1
group "pe-ce"
family ipv4
type external
export "export-al-to-vnf"
neighbor 10.0.0.1
local-as 64500
peer-as 81
exit
exit
no shutdown
exit
no shutdown
// PE2's VPRN 80
A:PE-2# configure service vprn 80
A:PE-2>config>service>vprn# info
----------------------------------------------
interface "lo0" create
address 2.2.2.2/32
loopback
exit
bgp-ipvpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.2:80
vrf-target target:64500:80
no shutdown
exit
exit
bgp-evpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.2:80
vrf-target target:64500:80
no shutdown
exit
exit
no shutdown
----------------------------------------------
// PE4's VPRN 80
A:PE-4# configure service vprn 80
A:PE-4>config>service>vprn# info
----------------------------------------------
router-id 192.0.2.4
autonomous-system 64500
interface "lo0" create
address 4.4.4.4/32
loopback
exit
interface "local" create
address 40.0.0.254/24
sap 1/1/c1/1:80 create
exit
exit
bgp-evpn
mpls
auto-bind-tunnel
resolution any
exit
route-distinguisher 192.0.2.4:80
vrf-target target:64500:80
no shutdown
exit
exit
bgp
min-route-advertisement 1
group "pe-ce"
family ipv4
type external
export "export-bl-to-pe"
neighbor 40.0.0.1
local-as 64500
peer-as 84
exit
exit
no shutdown
exit
no shutdown