!! IOS XR Configuration version = 6.5.3
!! Last configuration change at Thu Jul 22 20:49:09 2021 by user1
!
hostname R4
domain name netquirks.co.uk
username user1
 group root-lr
 group cisco-support
 secret 5 $1$QW7Y$AyHwDt.lwp/E3x87.YXFD0
!
call-home
 service active
 contact smart-licensing
 profile CiscoTAC-1
  active
  destination transport-method http
 !
!
interface Loopback0
 no shutdown
 ipv4 address 10.1.1.4 255.255.255.255
 ipv6 address 2001:1ab::4/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/0
 no shutdown
 description link to R7
 ipv4 address 10.4.7.4 255.255.255.0
 ipv6 address 2001:1ab:4:7::4/64
!
interface GigabitEthernet0/0/0/1
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/2
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/3
 no shutdown
 shutdown
!
router isis LAB
 is-type level-2-only
 net 49.0100.1111.1111.0004.00
 log adjacency changes
 address-family ipv4 unicast
  metric-style wide
  advertise passive-only
  segment-routing mpls sr-prefer
  segment-routing prefix-sid-map advertise-local
  mpls ldp auto-config
 !
 address-family ipv6 unicast
  metric-style wide
  advertise passive-only
  segment-routing mpls sr-prefer
  segment-routing prefix-sid-map advertise-local
 !
 interface Loopback0
  passive
  address-family ipv4 unicast
   prefix-sid absolute 17004
  !
  address-family ipv6 unicast
   prefix-sid absolute 17604
  !
 !
 interface GigabitEthernet0/0/0/0
  point-to-point
  address-family ipv4 unicast
   mpls ldp sync
  !
  address-family ipv6 unicast
  !
 !
!
mpls ldp
 address-family ipv4
  discovery targeted-hello accept
  label
   local
    allocate for host-routes
   !
  !
 !
!
segment-routing
 global-block 17000 23999
 mapping-server
  prefix-sid-map
   address-family ipv4
    10.1.1.5/32 5 range 1
   !
   address-family ipv6
    2001:1ab::5/128 605 range 1
   !
  !
 !
!
mpls label range table 0 16400 16499
end

