Seamless MPLS is based on Interprovider VPN Option C, using BGP Labeled Unicast (BGP-LU) to exchange labeled routes across administrative domains. In Interprovider VPN Option C, eBGP-LU extends label-switched paths (LSPs) across Autonomous System (AS) boundaries at the AS border. Seamless MPLS applies the same mechanism to extend the MPLS domain and its LSPs beyond regional administrative limits. These boundaries may be AS borders, as in Option C, but can also be IGP area boundaries or sub-AS boundaries.
BGP-LU is required in this lab as there are 3 IS-IS areas. 49.0001 is a level 1 area and is running LDP. 49.000 is the level 2 BGP free core area and running RSVP. Finally, area 49.0002 is a level 1 area and running Segment Routing. The link below will explain Seamless MPLS in more detail.

PE1
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 1.1.1.1/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 10.1.1.1/24
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/2 encapsulation flexible-ethernet-services
set interfaces ge-0/0/2 unit 2777 encapsulation vlan-ccc
set interfaces ge-0/0/2 unit 2777 vlan-id 2777
set interfaces lo0 unit 0 family inet address 5.5.5.5/32
set interfaces lo0 unit 0 family iso address 49.0001.5555.5555.5555.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement LOOP term 1 from interface lo0.0
set policy-options policy-statement LOOP term 1 then accept
set policy-options policy-statement NHS term 1 from protocol bgp
set policy-options policy-statement NHS term 1 then next-hop self
set routing-instances CUST_L2 instance-type l2vpn
set routing-instances CUST_L2 protocols l2vpn site CUST_L2 interface ge-0/0/2.2777
set routing-instances CUST_L2 protocols l2vpn site CUST_L2 site-identifier 1
set routing-instances CUST_L2 protocols l2vpn encapsulation-type ethernet-vlan
set routing-instances CUST_L2 interface ge-0/0/2.2777
set routing-instances CUST_L2 route-distinguisher 5.5.5.5:2777
set routing-instances CUST_L2 vrf-target target:65400:2777
set routing-instances CUST_L3 instance-type vrf
set routing-instances CUST_L3 protocols bgp group CUST_L3 type external
set routing-instances CUST_L3 protocols bgp group CUST_L3 as-override
set routing-instances CUST_L3 protocols bgp group CUST_L3 neighbor 10.1.1.254 peer-as 65444
set routing-instances CUST_L3 interface ge-0/0/1.0
set routing-instances CUST_L3 route-distinguisher 5.5.5.5:10111
set routing-instances CUST_L3 vrf-target target:65400:10111
set routing-instances CUST_L3 vrf-table-label
set routing-options router-id 5.5.5.5
set routing-options autonomous-system 65400
set protocols bgp group LDP type internal
set protocols bgp group LDP local-address 5.5.5.5
set protocols bgp group LDP family inet labeled-unicast rib inet.3
set protocols bgp group LDP family inet-vpn unicast
set protocols bgp group LDP family l2vpn signaling
set protocols bgp group LDP export LOOP
set protocols bgp group LDP neighbor 6.6.6.6
set protocols isis interface ge-0/0/0.0 level 2 disable
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols isis level 2 disable
set protocols ldp interface ge-0/0/0.0
set protocols ldp interface lo0.0
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface lo0.0
ASBR1
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 1.1.1.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 2.2.2.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 6.6.6.6/32
set interfaces lo0 unit 0 family iso address 49.0001.6666.6666.6666.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement NHS term 1 from protocol bgp
set policy-options policy-statement NHS term 1 then next-hop self
set routing-options router-id 6.6.6.6
set routing-options autonomous-system 65400
set protocols bgp group LDP type internal
set protocols bgp group LDP local-address 6.6.6.6
set protocols bgp group LDP family inet labeled-unicast rib inet.3
set protocols bgp group LDP family inet-vpn unicast
set protocols bgp group LDP family l2vpn signaling
set protocols bgp group LDP export NHS
set protocols bgp group LDP cluster 6.6.6.6
set protocols bgp group LDP neighbor 5.5.5.5
set protocols bgp group LU type internal
set protocols bgp group LU local-address 6.6.6.6
set protocols bgp group LU family inet labeled-unicast rib inet.3
set protocols bgp group LU family inet-vpn unicast
set protocols bgp group LU family l2vpn signaling
set protocols bgp group LU export NHS
set protocols bgp group LU neighbor 10.10.10.10
set protocols isis interface ge-0/0/0.0 level 2 disable
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 level 1 disable
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols ldp interface ge-0/0/0.0
set protocols ldp interface lo0.0
set protocols mpls label-switched-path ASBR2 to 10.10.10.10
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface lo0.0
set protocols mpls interface ge-0/0/1.0
set protocols rsvp interface ge-0/0/1.0
CORE1
set interfaces ge-0/0/0 unit 0 family inet address 2.2.2.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 3.3.3.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 7.7.7.7/32
set interfaces lo0 unit 0 family iso address 49.0000.7777.7777.0000.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement NHS term 1 from protocol bgp
set policy-options policy-statement NHS term 1 then next-hop self
set routing-options router-id 7.7.7.7
set routing-options autonomous-system 65400
set protocols isis interface ge-0/0/0.0 level 1 disable
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface lo0.0
set protocols rsvp interface ge-0/0/1.0
set protocols rsvp interface lo0.0
set protocols rsvp interface ge-0/0/0.0
CORE2
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 3.3.3.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 4.4.4.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 8.8.8.8/32
set interfaces lo0 unit 0 family iso address 49.0000.8888.8888.0000.00
set interfaces lo0 unit 0 family mpls
set routing-options router-id 8.8.8.8
set routing-options autonomous-system 65400
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols isis level 1 disable
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface lo0.0
set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface ge-0/0/1.0
set protocols rsvp interface lo0.0
CORE3
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 4.4.4.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 5.5.5.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 9.9.9.9/32
set interfaces lo0 unit 0 family iso address 49.0000.9999.9999.0000.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement NHS then next-hop self
set routing-options router-id 9.9.9.9
set routing-options autonomous-system 65400
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols isis level 1 disable
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface lo0.0
set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface lo0.0
set protocols rsvp interface ge-0/0/1.0
ASBR2
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 5.5.5.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 6.6.6.1/30
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 10.10.10.10/32
set interfaces lo0 unit 0 family iso address 49.0002.1010.1010.0000.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement NHS term 1 from protocol bgp
set policy-options policy-statement NHS term 1 then next-hop self
set routing-options router-id 10.10.10.10
set routing-options autonomous-system 65400
set protocols bgp group LU type internal
set protocols bgp group LU local-address 10.10.10.10
set protocols bgp group LU family inet labeled-unicast rib inet.3
set protocols bgp group LU family inet-vpn unicast
set protocols bgp group LU family l2vpn signaling
set protocols bgp group LU export NHS
set protocols bgp group LU neighbor 6.6.6.6
set protocols bgp group SR type internal
set protocols bgp group SR local-address 10.10.10.10
set protocols bgp group SR family inet labeled-unicast rib inet.3
set protocols bgp group SR family inet-vpn unicast
set protocols bgp group SR family l2vpn signaling
set protocols bgp group SR export NHS
set protocols bgp group SR cluster 10.10.10.10
set protocols bgp group SR neighbor 11.11.11.11
set protocols isis interface ge-0/0/0.0 level 1 disable
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 level 2 disable
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols isis source-packet-routing srgb start-label 40000
set protocols isis source-packet-routing srgb index-range 1000
set protocols isis source-packet-routing node-segment ipv4-index 100
set protocols mpls label-switched-path ASBR1 to 6.6.6.6
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface lo0.0
set protocols rsvp interface ge-0/0/0.0
PE2
set chassis network-services enhanced-ip
set interfaces ge-0/0/0 unit 0 family inet address 6.6.6.2/30
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 20.10.10.1/24
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/2 encapsulation flexible-ethernet-services
set interfaces ge-0/0/2 unit 2777 encapsulation vlan-ccc
set interfaces ge-0/0/2 unit 2777 vlan-id 2777
set interfaces lo0 unit 0 family inet address 11.11.11.11/32
set interfaces lo0 unit 0 family iso address 49.0002.1111.1111.0000.00
set interfaces lo0 unit 0 family mpls
set policy-options policy-statement LOOP term 1 from interface lo0.0
set policy-options policy-statement LOOP term 1 then accept
set policy-options policy-statement NHS term 1 from protocol bgp
set policy-options policy-statement NHS term 1 then next-hop self
set routing-instances CUST_L2 instance-type l2vpn
set routing-instances CUST_L2 protocols l2vpn site CUST_L2 interface ge-0/0/2.2777
set routing-instances CUST_L2 protocols l2vpn site CUST_L2 site-identifier 2
set routing-instances CUST_L2 protocols l2vpn encapsulation-type ethernet-vlan
set routing-instances CUST_L2 interface ge-0/0/2.2777
set routing-instances CUST_L2 route-distinguisher 11.11.11.11:2777
set routing-instances CUST_L2 vrf-target target:65400:2777
set routing-instances CUST_L3 instance-type vrf
set routing-instances CUST_L3 protocols bgp group CUST_L3 type external
set routing-instances CUST_L3 protocols bgp group CUST_L3 as-override
set routing-instances CUST_L3 protocols bgp group CUST_L3 neighbor 20.10.10.254 peer-as 65444
set routing-instances CUST_L3 interface ge-0/0/1.0
set routing-instances CUST_L3 route-distinguisher 11.11.11.11:20101
set routing-instances CUST_L3 vrf-target target:65400:10111
set routing-instances CUST_L3 vrf-table-label
set routing-options router-id 11.11.11.11
set routing-options autonomous-system 65400
set protocols bgp group SR type internal
set protocols bgp group SR local-address 11.11.11.11
set protocols bgp group SR family inet labeled-unicast rib inet.3
set protocols bgp group SR family inet-vpn unicast
set protocols bgp group SR family l2vpn signaling
set protocols bgp group SR export NHS
set protocols bgp group SR neighbor 10.10.10.10
set protocols isis interface ge-0/0/0.0 level 2 disable
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface lo0.0 passive
set protocols isis source-packet-routing srgb start-label 40000
set protocols isis source-packet-routing srgb index-range 1000
set protocols isis source-packet-routing node-segment ipv4-index 200
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface lo0.0
An L3VPN has been configured between CE1 & CE2, with BGP between the PEs & CEs and a BGP L2VPN between CE3 & CE4. Again, these are Cisco devices and are used as they are light and don’t need a great deal of resource to run.


