! Command: show running-config
! device: R2 (cEOSLab, EOS-4.31.2F-35442146.4312F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$MtdfhbXNcSwHyYvm$5hReG1LUMqfFzScy/.AJQkxqnhMKB47S9eHhq5iWUZZ9odPrdVbzFJuRt8ck9IxeIcub9rs3YHGfBs8gIsghp.
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname R2
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
management api http-commands
   no shutdown
!
management api gnmi
   transport grpc default
!
management api netconf
   transport ssh default
!
interface Ethernet1
   no switchport
   ip address 10.100.1.2/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 2
   traffic-engineering metric 500
!
interface Ethernet2
   no switchport
   ip address 10.100.4.2/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 2
   traffic-engineering metric 500
!
interface Ethernet5
   no switchport
   ip address 10.100.16.2/24
   isis enable 1
!
interface Ethernet7
   no switchport
   ip address 192.168.0.102/24
!
interface Loopback0
   ip address 2.2.2.2/32
   node-segment ipv4 index 2
   isis enable 1
   isis passive
!
interface Loopback1
   description SERVICE_LOOPBACK
   ip address 100.2.2.2/32
!
interface Loopback25
   ip address 202.0.2.5/32
   isis enable 1
   isis passive
!
interface Loopback234
   ip address 202.2.3.4/32
   isis enable 1
   isis passive
!
interface Management0
   ip address 172.20.20.5/24
   ipv6 address 2001:172:20:20::5/64
!
ip routing
!
ip prefix-list ISP1_EPE seq 10 permit 10.100.16.101/32
!
ip route 0.0.0.0/0 172.20.20.1
!
ipv6 route ::/0 2001:172:20:20::1
!
mpls ip
!
route-map ISP1_EPE permit 10
   match ip address prefix-list ISP1_EPE
!
router bgp 65002
   router-id 2.2.2.2
   no bgp default ipv4-unicast
   neighbor 1.1.1.1 remote-as 65002
   neighbor 1.1.1.1 update-source Loopback0
   neighbor 10.100.16.101 remote-as 101
   neighbor 192.168.0.1 remote-as 65001
   !
   address-family ipv4
      neighbor 10.100.16.101 activate
      neighbor 10.100.16.101 next-hop labeled-unicast originate
   !
   address-family ipv4 labeled-unicast
      neighbor 1.1.1.1 activate
      neighbor 192.168.0.1 activate
      neighbor 192.168.0.1 route-map ISP1_EPE out
      network 100.2.2.2/32
!
router traffic-engineering
   segment-routing
   router-id ipv4 2.2.2.2
!
router isis 1
   net 49.0002.0002.0002.00
   is-type level-2
   !
   address-family ipv4 unicast
   !
   segment-routing mpls
      router-id 2.2.2.2
      no shutdown
      prefix-segment 202.0.2.5/32 index 25
      prefix-segment 202.2.3.4/32 index 234
   !
   traffic-engineering
      no shutdown
      is-type level-2
!
end
