mpls traffic-eng router-id 192.168.70.1
!
interface Loopback0
passive
address-family ipv4 unicast
!
!
interface GigabitEthernet0/1/0/0
address-family ipv4 unicast
!
!
interface GigabitEthernet0/1/0/1
address-family ipv4 unicast
!
!
interface GigabitEthernet0/1/0/2
address-family ipv4 unicast
!
!
interface GigabitEthernet0/1/0/3
address-family ipv4 unicast
!
!
!
rsvp
interface GigabitEthernet0/1/0/0
bandwidth 1000000 1000000
!
interface GigabitEthernet0/1/0/1
bandwidth 1000000 1000000
!
interface GigabitEthernet0/1/0/2
bandwidth 1000000 1000000
!
interface GigabitEthernet0/1/0/3
bandwidth 1000000 1000000
!
!
mpls traffic-eng
interface GigabitEthernet0/1/0/0
attribute-names red purple
!
interface GigabitEthernet0/1/0/1
attribute-names red orange
!
interface GigabitEthernet0/1/0/2
attribute-names green purple
!
interface GigabitEthernet0/1/0/3
attribute-names green orange
!
affinity-map red 1
affinity-map blue 2
affinity-map black 80
affinity-map green 4
affinity-map white 40
affinity-map orange 20
affinity-map purple 10
affinity-map yellow 8
!
Related Topics
Assigning Color Names to Numeric Values, on page 268
Associating Affinity-Names with TE Links, on page 270
Associating Affinity Constraints for TE Tunnels, on page 271
Flexible Name-based Tunnel Constraints, on page 180
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
348
Implementing MPLS Traffic Engineering
Configure Flexible Name-based Tunnel Constraints: Example