!! IOS XR Configuration 7.9.2
!! Last configuration change at Fri Jul 11 21:51:42 2025 by user1
!
hostname PE2
username user1
 group root-lr
 group cisco-support
 secret 10 $6$DsIUD/C3sH/y2D/.$aWJmSr7t3QL8s76m0i69v11sUx8NqIuYbMF.CN5MSh3H0gu7QErGvMcH2SfAo5YifEJjAlGr0ejdQ99kCS5hj.
!
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.2 255.255.255.255
 ipv6 address 2001:1ab::2/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 shutdown
!
interface GigabitEthernet0/0/0/0
 no shutdown
 description link to P1
 ipv4 address 10.10.27.2 255.255.255.0
 ipv6 address 2001:1ab:27::2/64
!
interface GigabitEthernet0/0/0/1
 no shutdown
 description link to PE3
 ipv4 address 10.10.23.2 255.255.255.0
 ipv6 address 2001:1ab:23::2/64
!
interface GigabitEthernet0/0/0/2
 no shutdown
 description link to PE5
 ipv4 address 10.10.25.2 255.255.255.0
 ipv6 address 2001:1ab:25::2/64
!
interface GigabitEthernet0/0/0/3
 no shutdown
 description link to PE1
 ipv4 address 10.10.12.2 255.255.255.0
 ipv6 address 2001:1ab:12::2/64
!
interface GigabitEthernet0/0/0/4
 no shutdown
 description link to P2
 ipv4 address 10.10.28.2 255.255.255.0
 ipv6 address 2001:1ab:28::2/64
!
interface GigabitEthernet0/0/0/5
 no shutdown
 shutdown
!
router isis ISIS1
 is-type level-2-only
 net 49.0001.0100.0000.0002.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 2
   prefix-sid algorithm 140 index 142
   prefix-sid algorithm 150 index 152
   prefix-sid algorithm 160 index 162
  !
  address-family ipv6 unicast
   prefix-sid index 502
   prefix-sid algorithm 140 index 542
   prefix-sid algorithm 150 index 552
   prefix-sid algorithm 160 index 562
  !
 !
 interface GigabitEthernet0/0/0/0
  affinity flex-algo GREEN
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/1
  affinity flex-algo RED
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/2
  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
  !
 !
!
segment-routing
!
end

