[Contents] [Prev] [Next] [Index] [Report an Error]

# MPLS Tunnel Configuration Tasks

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.

1. Create the MPLS tunnel interface.
   `
   host1(config)#interface tunnel mpls:boston
   `
2. (Optional) Configure the LSP to announce its endpoint to an IGP (sometimes referred to as registering the endpoint).
   `
   host1(config-if)#tunnel mpls autoroute announce isis
   `
3. (Optional) Specify a tunnel metric to be used by an IGP in its SPF calculation.
   `
   host1(config-if)#tunnel mpls autoroute metric absolute 100
   `
4. (Optional) Configure the path options used for the tunnel.
   `
   host1(config-if)#tunnel mpls path-option 3 dynamic isis
   `
5. (Optional) Configure the bandwidth required for the tunnel.
   `
   host1(config-if)#tunnel mpls bandwidth 1240
   `
6. (Optional) Configure preemption hold or setup priority.
   `
   host1(config-if)#tunnel mpls traffic-eng priority 4 4
   `
7. (Optional) Configure resource class affinity.
   `
   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.

8. (Optional) Configure retry timer options to apply to a specific tunnel to set up an LSP after a route or setup failure.
   `
   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
   `
9. (Optional) Associate a text description with the tunnel.
   `
   host1(config-if)#tunnel mpls description southshore
   `
10. Configure the tunnel endpoint.
    `
    host1(config-if)#tunnel destination 10.12.21.5
    `

#### Related Topics

- MPLS Global Configuration Tasks
- MPLS Interface Configuration Tasks
- MPLS Interface Configuration Tasks
- MPLS Tunnel Profile Configuration Tasks
- Additional LDP Configuration Tasks
- Additional RSVP-TE Configuration Tasks
- interface tunnel
- tunnel destination
- tunnel mpls affinity
- tunnel mpls autoroute announce
- tunnel mpls autoroute metric
- tunnel mpls bandwidth
- tunnel mpls description
- tunnel mpls no-route retries
- tunnel mpls no-route retry-time
- tunnel mpls path-option
- tunnel mpls priority
- tunnel mpls retries
- tunnel mpls retry-time

[Contents] [Prev] [Next] [Index] [Report an Error]