Complete the following tasks to configure a tunnel interface. Configure the tunnel endpoint last; anything configured after the tunnel endpoint does not take effect until the tunnel is brought up the next time. You can perform all other tasks in any order.
![]() |
Note: Tunnel configuration tasks are relevant only for traffic engineering networks. |
- host1(config)#interface tunnel mpls:boston
- host1(config-if)#tunnel mpls autoroute announce
isis
- host1(config-if)#tunnel mpls autoroute metric
absolute 100
- host1(config-if)#tunnel mpls path-option 3
dynamic isis
- host1(config-if)#tunnel mpls bandwidth 1240
- host1(config-if)#tunnel mpls traffic-eng priority
4 4
- host1(config-if)#tunnel mpls traffic-eng affinity
0x000C3000 0xFFFFFFFC
This example of a masked affinity matches only links configured with attribute flags from 0x000C3000 to 0x000C3003.
- host1(config-if)#tunnel mpls no-route retries
100
- host1(config-if)#tunnel mpls no-route retry-time
45
- host1(config-if)#tunnel mpls retries 250
- host1(config-if)#tunnel mpls retry-time 65
- host1(config-if)#tunnel mpls description southshore
- host1(config-if)#tunnel destination 10.12.21.5