!! IOS XR Configuration 7.9.2
!! Last configuration change at Fri Jul 11 21:57:01 2025 by user1
!
hostname P2
username user1
 group root-lr
 group cisco-support
 secret 10 $6$oisxy/9SjTrv5y/.$gB78Qby54oKSmO6FUIkS7y76Ceu/DcLKIkIRGUf1XfXBfSjDCVQbSKJKUpTQMLHjjd2WGTct2IslPu0YdwNl4.
!
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.8 255.255.255.255
 ipv6 address 2001:1ab::8/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/0
 no shutdown
 description link to PE3
 ipv4 address 10.10.38.8 255.255.255.0
 ipv6 address 2001:1ab:38::8/64
!
interface GigabitEthernet0/0/0/1
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/2
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/3
 no shutdown
 description link to PE4
 ipv4 address 10.10.48.8 255.255.255.0
 ipv6 address 2001:1ab:48::8/64
!
interface GigabitEthernet0/0/0/4
 no shutdown
 description link to PE2
 ipv4 address 10.10.28.8 255.255.255.0
 ipv6 address 2001:1ab:28::8/64
!
interface GigabitEthernet0/0/0/5
 no shutdown
 description link to PE5
 ipv4 address 10.10.58.8 255.255.255.0
 ipv6 address 2001:1ab:58::8/64
!
router isis ISIS1
 is-type level-2-only
 net 49.0001.0100.0000.0008.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 8
   prefix-sid algorithm 140 index 148
   prefix-sid algorithm 150 index 158
   prefix-sid algorithm 160 index 168
  !
  address-family ipv6 unicast
   prefix-sid index 508
   prefix-sid algorithm 140 index 548
   prefix-sid algorithm 150 index 558
   prefix-sid algorithm 160 index 568
  !
 !
 interface GigabitEthernet0/0/0/0
  affinity flex-algo RED
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/3
  affinity flex-algo GREEN
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/4
  affinity flex-algo GREEN
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/5
  affinity flex-algo RED
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
!
segment-routing
!
end

