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-labeled-unicast
      address-family ipv4-srte
      address-family link-state
   !
   neighbor 192.168.0.102
      remote-as 65002
      address-family ipv4-labeled-unicast
   !
   neighbor 192.168.0.105
      remote-as 65002
      address-family ipv4-labeled-unicast
   !
   neighbor 192.168.0.106
      remote-as 65002
      address-family ipv4-labeled-unicast
   !
   neighbor 192.168.0.111
      remote-as 65002
      address-family ipv4-labeled-unicast
!
traffic-eng affinities
   affinity-map
      name BLUE bit-position 0
      name YELLOW bit-position 1
      name ORANGE bit-position 2
   !
   affinity-set BLUE_ONLY
      constraint include-all
      name BLUE
   !
   affinity-set BLUE_OR_ORANGE
      constraint include-any
      name BLUE
      name ORANGE
   !
   affinity-set EXCLUDE_YELLOW_AND_ORANGE
      constraint exclude-any
      name ORANGE
      name YELLOW
   !
   affinity-set ORANGE_ONLY
      constraint include-all
      name ORANGE
   !
   affinity-set YELLOW_ONLY
      constraint include-all
      name YELLOW
   !
   affinity-set YELLOW_OR_ORANGE
      constraint include-any
      name ORANGE
      name YELLOW
!
traffic-eng nodes
   !
   node 2.2.2.2
      ipv4 address 2.2.2.2
      !
      neighbor 10.100.16.101
         affinity ORANGE
         bandwidth 10 gbps
         bandwidth-group 101
   !
   node 5.5.5.5
      ipv4 address 5.5.5.5
      !
      neighbor 10.100.18.103
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 103
   !
   node 6.6.6.6
      ipv4 address 6.6.6.6
      !
      neighbor 10.100.17.102
         affinity ORANGE
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 102
   !
   node 11.11.11.11
      ipv4 address 11.11.11.11
      !
      neighbor 10.100.19.104
         affinity YELLOW
         bandwidth 10 gbps
         bandwidth-group 104
      !
      neighbor 10.100.20.105
         affinity BLUE
         bandwidth 10 gbps
         bandwidth-group 105
!
traffic-eng policies
   !
   policy R11_R1_BLUE_OR_ORANGE_IPV4
      headend 11.11.11.11 topology-id 101
      endpoint 1.1.1.1 color 3
      binding-sid 966001
      priority 5 5
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         metric igp
         affinity-set BLUE_OR_ORANGE
         bandwidth 100 mbps
   !
   policy R1_ISP4_ANY_COLOR_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 10.100.19.104 color 5
      binding-sid 966002
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         metric te
         bandwidth 100 mbps
   !
   policy R1_ISP4_EPE_ONLY
      endpoint 10.100.19.104 service-loopback 103.11.11.11
      epe-only
      priority 7 7
      install direct labeled-unicast 192.168.0.101
      !
      candidate-path preference 100
         bandwidth 100 mbps
   !
   policy R1_ISP5_BLUE_ONLY_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 10.100.20.105 service-loopback 102.11.11.11
      binding-sid 15004
      priority 7 7
      install direct labeled-unicast 192.168.0.101
      !
      candidate-path preference 100
         metric te
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_NULL_EXCLUDE_YELLOW_AND_ORANGE_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 0.0.0.0 color 7
      binding-sid 966003
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         metric igp
         affinity-set EXCLUDE_YELLOW_AND_ORANGE
         bandwidth 100 mbps
   !
   policy R1_NULL_YELLOW_ONLY_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 0.0.0.0 color 6
      binding-sid 966004
      priority 7 7
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         metric igp
         affinity-set YELLOW_ONLY
         bandwidth 100 mbps
   !
   policy R1_R11_BLUE_ONLY_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 11.11.11.11 service-loopback 100.11.11.11
      binding-sid 15001
      priority 7 7
      install direct labeled-unicast 192.168.0.101
      !
      candidate-path preference 100
         metric igp
         affinity-set BLUE_ONLY
         bandwidth 100 mbps
   !
   policy R1_R11_EP_LOOSE_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 11.11.11.11 color 9
      binding-sid 966005
      priority 4 4
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R25_LOOSE
         bandwidth 100 mbps
   !
   policy R1_R11_EXCLUDE_SOME_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 11.11.11.11 color 10
      binding-sid 966006
      priority 4 4
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path EXCLUDE_SOME
         bandwidth 100 mbps
   !
   policy R1_R11_YELLOW_OR_ORANGE_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 11.11.11.11 color 2
      binding-sid 966007
      priority 6 6
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         metric igp
         affinity-set YELLOW_OR_ORANGE
         bandwidth 100 mbps
   !
   policy R1_R9_EP_STRICT_IPV4
      headend 1.1.1.1 topology-id 101
      endpoint 9.9.9.9 color 8
      binding-sid 966008
      priority 4 4
      install direct srte 192.168.0.101
      !
      candidate-path preference 100
         explicit-path R2_R6_R9_STRICT
         bandwidth 100 mbps
!
traffic-eng peer-groups
!
traffic-eng explicit-paths
   !
   explicit-path EXCLUDE_SOME
      index 10 exclude 4.4.4.4
      index 20 loose 7.7.7.7
      index 30 exclude 10.100.13.11
      index 40 exclude 10.100.14.11
   !
   explicit-path R25_LOOSE
      index 10 loose 202.0.2.5
   !
   explicit-path R2_R6_R9_STRICT
      index 10 strict 10.100.1.2
      index 20 strict 10.100.4.6
      index 30 strict 10.100.10.9
!
management api http-commands
   protocol http
      port 80
   protocol https
      port 443
!
management syslog
!
management licenses
   license general
!
end
