!! IOS XR Configuration 7.9.2
!! Last configuration change at Fri Jul 11 21:56:09 2025 by user1
!
hostname P1
username user1
 group root-lr
 group cisco-support
 secret 10 $6$fgMcm094egV89m0.$i117iCSBTbGYBc/69tA8fDiLuLXrm4ldBoWSWkd5CJPlQsf6l/0RpqhK6FzyYY/m8ppRuUCA6AzcqIAqnqlcJ.
!
call-home
 service active
 contact smart-licensing
 profile CiscoTAC-1
  active
  destination transport-method email disable
  destination transport-method http
 !
!
interface Loopback0
 no shutdown
 ipv4 address 10.1.1.7 255.255.255.255
 ipv6 address 2001:1ab::7/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/0
 no shutdown
 description link to PE2
 ipv4 address 10.10.27.7 255.255.255.0
 ipv6 address 2001:1ab:27::7/64
!
interface GigabitEthernet0/0/0/1
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/2
 no shutdown
 description link to PE1
 ipv4 address 10.10.17.7 255.255.255.0
 ipv6 address 2001:1ab:17::7/64
!
interface GigabitEthernet0/0/0/3
 no shutdown
 description link to PE6
 ipv4 address 10.10.67.7 255.255.255.0
 ipv6 address 2001:1ab:67::7/64
!
interface GigabitEthernet0/0/0/4
 no shutdown
 description link to PE5
 ipv4 address 10.10.57.7 255.255.255.0
 ipv6 address 2001:1ab:57::7/64
!
interface GigabitEthernet0/0/0/5
 no shutdown
 shutdown
!
router isis ISIS1
 is-type level-2-only
 net 49.0001.0100.0000.0007.00
 distribute link-state
 affinity-map RED bit-position 20
 affinity-map GREEN bit-position 10
 address-family ipv4 unicast
  metric-style wide
  advertise passive-only
  mpls traffic-eng level-2-only
  mpls traffic-eng router-id Loopback0
  segment-routing mpls sr-prefer
 !
 address-family ipv6 unicast
  metric-style wide
  advertise passive-only
  router-id Loopback0
  single-topology
  segment-routing mpls sr-prefer
 !
 flex-algo 140
 !
 flex-algo 150
 !
 flex-algo 160
 !
 interface Loopback0
  passive
  address-family ipv4 unicast
   prefix-sid index 7
   prefix-sid algorithm 140 index 147
   prefix-sid algorithm 150 index 157
   prefix-sid algorithm 160 index 167
  !
  address-family ipv6 unicast
   prefix-sid index 507
   prefix-sid algorithm 140 index 547
   prefix-sid algorithm 150 index 557
   prefix-sid algorithm 160 index 567
  !
 !
 interface GigabitEthernet0/0/0/0
  affinity flex-algo GREEN
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/2
  affinity flex-algo GREEN
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/3
  affinity flex-algo RED
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/4
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
!
segment-routing
!
end

