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
!
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 4.4.4.4
      !
      neighbor 10.100.8.101
         affinity YELLOW
         bandwidth 10 gbps
   !
   node 6.6.6.6
      !
      neighbor 10.100.9.102
         affinity BLUE
         affinity YELLOW
         bandwidth 10 gbps
!
traffic-eng policies
   !
   policy R1_ISP2_BLUE_ONLY
      headend 1.1.1.1 topology-id 101
      endpoint 10.100.9.102 color 104
      binding-sid 15104
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_NULL_YELLOW_ONLY
      headend 1.1.1.1 topology-id 101
      endpoint 0.0.0.0 color 105
      binding-sid 15105
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_R3_YELLOW_ONLY
      headend 1.1.1.1 topology-id 101
      endpoint 3.3.3.3 color 103
      binding-sid 15103
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_R5_EXPLICIT
      headend 1.1.1.1 topology-id 101
      endpoint 5.5.5.5 color 101
      binding-sid 15101
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R3_R4_R6_STRICT
         bandwidth 100 mbps
   !
   policy R1_R6_BLUE_ONLY
      headend 1.1.1.1 topology-id 101
      endpoint 6.6.6.6 color 102
      binding-sid 15102
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
!
traffic-eng peer-groups
!
traffic-eng explicit-paths
   !
   explicit-path R3_R4_R6_STRICT
      index 10 strict 10.100.2.3
      index 20 strict 10.100.5.4
      index 30 strict 10.100.6.6
!
management api http-commands
   protocol http
      port 80
   protocol https
      port 443
!
management syslog
!
management licenses
   license general
!
end
