password 1
hostname rt1
log file isisd.log
!
!debug northbound
!debug isis events
!debug isis spf-events
!debug isis route-events
!debug isis sr-events
!debug isis lsp-gen
!
affinity-map red bit-position 0
affinity-map blue bit-position 1
affinity-map green bit-position 2
affinity-map yellow bit-position 3
affinity-map orange bit-position 4
!
interface lo
 ip router isis 1
 ipv6 router isis 1
 isis passive
!
interface eth-rt2
 ip router isis 1
 ipv6 router isis 1
 isis hello-multiplier 10
 isis network point-to-point
!
interface eth-rt3
 ip router isis 1
 ipv6 router isis 1
 isis hello-multiplier 10
 isis network point-to-point
!
router isis 1
 lsp-gen-interval 2
 net 49.0000.0000.0000.0001.00
 is-type level-1
 topology ipv6-unicast
 mpls-te on
 !
 flex-algo 201
  dataplane sr-mpls
  advertise-definition
  affinity exclude-any red
 !
 flex-algo 202
  dataplane sr-mpls
  advertise-definition
  affinity exclude-any blue
 !
 flex-algo 203
  dataplane sr-mpls
  advertise-definition
  affinity exclude-any green
 !
 flex-algo 204
  dataplane sr-mpls
  advertise-definition
  affinity include-any blue green
 !
 flex-algo 205
  dataplane sr-mpls
  advertise-definition
  affinity include-any red green
 !
 flex-algo 206
  dataplane sr-mpls
  advertise-definition
  affinity include-any red blue
 !
 flex-algo 207
  dataplane sr-mpls
  advertise-definition
  affinity include-all yellow orange
 !
 segment-routing on
 segment-routing global-block 20000 23999
 segment-routing node-msd 8
 segment-routing prefix 1.1.1.1/32 index 1
 segment-routing prefix 1.1.1.1/32 algorithm 201 index 101
 segment-routing prefix 1.1.1.1/32 algorithm 202 index 201
 segment-routing prefix 1.1.1.1/32 algorithm 203 index 301
 segment-routing prefix 1.1.1.1/32 algorithm 204 index 401
 segment-routing prefix 1.1.1.1/32 algorithm 205 index 501
 segment-routing prefix 1.1.1.1/32 algorithm 206 index 601
 segment-routing prefix 1.1.1.1/32 algorithm 207 index 701
 segment-routing prefix 2001:db8:1000::1/128 index 1001
 segment-routing prefix 2001:db8:1000::1/128 algorithm 201 index 1101
 segment-routing prefix 2001:db8:1000::1/128 algorithm 202 index 1201
 segment-routing prefix 2001:db8:1000::1/128 algorithm 203 index 1301
 segment-routing prefix 2001:db8:1000::1/128 algorithm 204 index 1401
 segment-routing prefix 2001:db8:1000::1/128 algorithm 205 index 1501
 segment-routing prefix 2001:db8:1000::1/128 algorithm 206 index 1601
 segment-routing prefix 2001:db8:1000::1/128 algorithm 207 index 1701
!
