router general
   spf delay 200
   spf holddown 5000
   spf rapid-runs 3
   srte distinguisher 1
   reoptimization interval 3600
!
router bgp 65001
   router-id 111.111.111.111
   !
   neighbor 192.168.0.101
      remote-as 65002
      address-family ipv4-srte
      address-family link-state
   !
   neighbor 2001:192::101
      remote-as 65002
      address-family ipv6-srte
      address-family link-state
!
traffic-eng affinities
   affinity-map
      name BLUE bit-position 0
      name YELLOW bit-position 1
   !
   affinity-set BLUE_ONLY
      constraint include-all
      name BLUE
   !
   affinity-set YELLOW_ONLY
      constraint include-all
      name YELLOW
!
traffic-eng nodes
   !
   node 5.5.5.5
      !
      neighbor 10.100.26.101
         affinity BLUE
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 101
      !
      neighbor 10.100.27.102
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 102
      !
      neighbor 2001:100:26::101
         affinity BLUE
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 101
      !
      neighbor 2001:100:27::102
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 102
   !
   node 12.12.12.12
      !
      neighbor 10.100.28.103
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 103
      !
      neighbor 2001:100:28::103
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 103
   !
   node 15.15.15.15
      !
      neighbor 10.100.29.104
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 102
      !
      neighbor 10.100.30.105
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 105
      !
      neighbor 2001:100:29::104
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 104
      !
      neighbor 2001:100:30::105
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 105
!
traffic-eng policies
   !
   policy R1_ISP3_YELLOW_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 10.100.28.103 color 101
      binding-sid 15005
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R5_loose_IPV4
         metric igp
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_ISP3_YELLOW_IPV6
      headend 1.1.1.1 topology-id 101
      endpoint 2001:100:28::103 color 101
      binding-sid 15006
      priority 7 7
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path R5_loose_IPV6
         metric igp
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_ISP3_YELLOW_IPV6_MIXED
      headend 1.1.1.1 topology-id 101
      endpoint 2001:100:28::103 color 102
      binding-sid 15007
      priority 7 7
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path R5_loose_IPV4
         metric igp
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_ISP4_BLUE_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 10.100.29.104 color 114
      binding-sid 15014
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R6_R11_loose_IPV4
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_ISP4_BLUE_IPV6
      headend 1.1.1.1 topology-id 101
      endpoint 2001:100:29::104 color 115
      binding-sid 15015
      priority 7 7
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path R6_R11_loose_IPV6
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R11_BLUE_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 11.11.11.11 color 100
      binding-sid 15003
      priority 5 5
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R6_loose_IPV4
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R11_BLUE_IPV6
      headend 1.1.1.1 topology-id 101
      endpoint 2002::11 color 100
      binding-sid 15004
      priority 5 5
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path R6_loose_IPV6
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R15_STRICT_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 15.15.15.15 color 103
      binding-sid 15008
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R4_R6_R9_R10_R11_R13_strict_IPV4
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R15_STRICT_IPV6
      headend 1.1.1.1 topology-id 101
      endpoint 2002::15 color 103
      binding-sid 15009
      priority 7 7
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path R4_R6_R9_R10_R11_R13_strict_IPV6
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R15_STRICT_MIXED
      headend 1.1.1.1 topology-id 101
      endpoint 15.15.15.15 color 104
      binding-sid 15010
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R4_R6_R9_R10_R11_R13_strict_MIXED
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R16_LOOSE_ANYCAST_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 16.16.16.16 color 111
      binding-sid 15011
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path ANYCAST_IPV4
         metric igp
         bandwidth 100 mbps
   !
   policy R1_R16_LOOSE_ANYCAST_IPV6
      headend 1.1.1.1 topology-id 101
      endpoint 2002::16 color 111
      binding-sid 15012
      priority 7 7
      install direct srte 2001:192::101
      !
      candidate-path preference 100
         explicit-path ANYCAST_IPV6
         metric igp
         bandwidth 100 mbps
   !
   policy R1_R16_LOOSE_ANYCAST_MIXED
      headend 1.1.1.1 topology-id 101
      endpoint 16.16.16.16 color 112
      binding-sid 15013
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path ANYCAST_MIXED
         metric igp
         bandwidth 100 mbps
!
traffic-eng peer-groups
!
traffic-eng explicit-paths
   !
   explicit-path ANYCAST_IPV4
      index 10 loose 56.56.56.56
      index 20 loose 11.11.12.12
   !
   explicit-path ANYCAST_IPV6
      index 10 loose 2002::56
      index 20 loose 2002::1112
   !
   explicit-path ANYCAST_MIXED
      index 10 loose 56.56.56.56
      index 20 loose 2002::1112
   !
   explicit-path R4_R6_R9_R10_R11_R13_strict_IPV4
      index 10 strict 10.100.2.4
      index 20 strict 10.100.8.6
      index 30 strict 10.100.13.9
      index 40 strict 10.100.14.10
      index 50 strict 10.100.15.11
      index 60 strict 10.100.17.13
   !
   explicit-path R4_R6_R9_R10_R11_R13_strict_IPV6
      index 10 strict 2001:100:2::4
      index 20 strict 2001:100:8::6
      index 30 strict 2001:100:13::9
      index 40 strict 2001:100:14::10
      index 50 strict 2001:100:15::11
      index 60 strict 2001:100:17::13
   !
   explicit-path R4_R6_R9_R10_R11_R13_strict_MIXED
      index 10 strict 10.100.2.4
      index 20 strict 10.100.8.6
      index 30 strict 2001:100:13::9
      index 40 strict 2001:100:14::10
      index 50 strict 2001:100:15::11
      index 60 strict 10.100.17.13
   !
   explicit-path R5_loose_IPV4
      index 10 loose 5.5.5.5
   !
   explicit-path R5_loose_IPV6
      index 10 loose 2002::5
   !
   explicit-path R6_R11_loose_IPV4
      index 10 loose 6.6.6.6
      index 20 loose 11.11.11.11
   !
   explicit-path R6_R11_loose_IPV6
      index 10 loose 2002::6
      index 20 loose 2002::11
   !
   explicit-path R6_loose_IPV4
      index 10 loose 6.6.6.6
   !
   explicit-path R6_loose_IPV6
      index 10 loose 2002::6
!
management api http-commands
   protocol http
      port 80
   protocol https
      port 443
!
management syslog
!
management licenses
   license general
!
end
