Table Of Contents
MPLS Traffic Engineering—AutoTunnel Mesh Groups
Prerequisites for MPLS Traffic Engineering—AutoTunnel Mesh Groups
Restrictions for MPLS Traffic Engineering—AutoTunnel Mesh Groups
Information About MPLS Traffic Engineering—AutoTunnel Mesh Groups
AutoTunnel Mesh Groups Description and Benefits
Access Lists for Mesh Tunnel Interfaces
AutoTunnel Template Interfaces
OSPF Flooding of Mesh Group Information
How to Configure MPLS Traffic Engineering—AutoTunnel Mesh Groups
Configuring a Mesh of TE Tunnel LSPs
Enabling Autotunnel Mesh Groups Globally
Creating an Access List Using a Name
Creating an Autotunnel Template Interface
Specifying the Range of Mesh Tunnel Interface Numbers
Showing Configuration Information About Tunnels
Monitoring Your Autotunnel Mesh Network
Configuring IGP Flooding for Autotunnel Mesh Groups
Configuration Examples for MPLS Traffic Engineering—Autotunnel Mesh Groups
Configuring a Mesh of TE Tunnel LSPs: Examples
Enabling Autotunnel Mesh Groups Globally: Example
Creating an Access List Using a Name: Example
Creating a Template Interface: Example
Specifying the Range of Mesh Tunnel Interface Numbers: Example
Configuring IGP Flooding for Autotunnel Mesh Groups: Example
clear mpls traffic-eng auto-tunnel mesh
mpls traffic-eng auto-tunnel mesh
mpls traffic-eng auto-tunnel mesh tunnel-num
show interface tunnel configuration
show mpls traffic-eng auto-tunnel mesh
show running interface auto-template
tunnel destination access-list
Feature Information for MPLS Traffic Engineering—AutoTunnel Mesh Groups
MPLS Traffic Engineering—AutoTunnel Mesh Groups
First Published: January 27, 2004Last Updated: August 6, 2007This document shows how to configure autotunnel mesh groups for Multiprotocol Label Switching (MPLS) traffic engineering (TE) label switch routers (LSRs).
The MPLS Traffic Engineering—AutoTunnel Mesh Groups feature allows a network administrator to configure TE label-switched paths (LSPs) by using a few command-line interface (CLI) commands.
In a network topology where edge TE LSRs are connected by core LSRs, the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature automatically constructs a mesh of TE LSPs among the provider edge (PE) routers.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for MPLS Traffic Engineering—AutoTunnel Mesh Groups" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
Restrictions for MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
Information About MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
How to Configure MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
Configuration Examples for MPLS Traffic Engineering—Autotunnel Mesh Groups
•
Feature Information for MPLS Traffic Engineering—AutoTunnel Mesh Groups
Prerequisites for MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
Be knowledgeable about MPLS TE. See the "Additional References" section.
•
Decide how you will set up autotunnels (that is, identify the tunnel commands that you will include in the template interface).
•
Identify a block of addresses that you will reserve for mesh tunnel interfaces.
Restrictions for MPLS Traffic Engineering—AutoTunnel Mesh Groups
•
Mesh groups do not support interarea tunnels because the destinations of those tunnels do not exist in the local area TE database.
•
You cannot enable autotunnel mesh groups on a router that is also configured with stateful switchover (SSO) redundancy. This restriction does not prevent an MPLS TE tunnel that is automatically configured via TE Autotunnel from being successfully recovered on a midpoint router along the LSP's path if that router experiences an SSO switchover.
Information About MPLS Traffic Engineering—AutoTunnel Mesh Groups
To configure autotunnel mesh groups, you need information about the following:
•
AutoTunnel Mesh Groups Description and Benefits
•
Access Lists for Mesh Tunnel Interfaces
•
AutoTunnel Template Interfaces
•
OSPF Flooding of Mesh Group Information
AutoTunnel Mesh Groups Description and Benefits
An autotunnel mesh group (referred to as a mesh group) is a set of connections between edge LSRs in a network. There are two types of mesh groups:
•
Full—All the edge LSRs are connected. Each PE router has a tunnel to each of the other PE routers.
•
Partial—Some of the edge LSRs are not connected to each other by tunnels.
In a network topology where edge TE LSRs are connected by core LSRs, the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature automatically constructs a mesh of TE LSPs among the provider edge (PE) routers.
Initially, you must configure each existing TE LSR to be a member of the mesh by using a minimal set of configuration commands. When the network grows (that is, when one or more TE LSRs are added to the network as PE routers), you do not need to reconfigure the existing TE LSR members of that mesh.
Mesh groups have the following benefits:
•
Minimize the initial configuration of the network. You configure one template interface per mesh, and it propagates to all mesh tunnel interfaces, as needed.
•
Minimize future configurations resulting from network growth. The feature eliminates the need to reconfigure each existing TE LSR to establish a full mesh of TE LSPs whenever a new PE router is added to the network.
•
Enable existing routers to set up TE LSPs to new PE routers.
•
Enable the construction of a mesh of TE LSPs among the PE routers automatically.
Access Lists for Mesh Tunnel Interfaces
The access list determines the destination addresses for the mesh tunnel interfaces. It is useful if you preallocate a block of related IP addresses. You can use that block of addresses to control the PE routers to which a full or partial mesh of TE tunnel LSPs is established. The access list allows matches for only the addresses that are learned and stored in the TE topology database.
For example, you can create an access list that matches all 10.1.1.1 IP addresses. You configure a template with the access list, then the template creates mesh tunnel interfaces to destinations within the TE topology database that match destinations in that access list.
Whenever the TE topology database is updated (for example, when a new TE LSR is inserted into the IGP), the destination address is stored in the TE topology database of each router in the IGP. At each update, the Mesh Group feature compares the destination address contained in the database to IP addresses in the access list associated with all template interfaces. If there is a match, the Mesh Group feature establishes a mesh tunnel interface to the tunnel destination IP address.
AutoTunnel Template Interfaces
An autotunnel template interface is a logical entity; that is, it is a configuration for a tunnel interface that is not tied to specific tunnel interfaces. It can be applied dynamically, when needed.
Mesh tunnel interfaces are tunnel interfaces that are created, configured dynamically (for example, by the applying [or cloning] of a template interface), used, and then freed when they are no longer needed.
A mesh tunnel interface obtains its configuration information from a template, except for the tunnel's destination address, which it obtains from the TE topology database that matches an access list or from the IGP mesh group advertisement.
The template interface allows you to enter commands once per mesh group. These commands specify how mesh tunnel interfaces are created. Each time a new router is added to the network, a new mesh tunnel interface is created. The configuration of the interface is duplicated from the template. Each mesh tunnel interface has the same path constraints and other parameters configured on the template interface. Only the tunnel destination address is different.
OSPF Flooding of Mesh Group Information
A former release of the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature uses an address-based discovery to identify mesh group members. Cisco IOS Release 12.0(29)S introduces an Open Shortest Path First (OSPF)-based discovery for identifying mesh group members.
For OSPF to advertise or flood mesh group information, you need to configure a mesh group in OSPF and add that mesh group to an autotemplate interface. When the configuration is complete, OSPF advertises the mesh group IDs to all LSRs. MPLS TE LSPs automatically connect the edge LSRs in each mesh group. For configuration information, see the "Configuring IGP Flooding for Autotunnel Mesh Groups" section.
OSPF can advertise mesh group IDs for an OSPF area. OSPF is the only IGP supported in the Cisco IOS 12.0(29)S, 12,2(33)SRA, and 12.(33)SXH releases of the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature.
How to Configure MPLS Traffic Engineering—AutoTunnel Mesh Groups
Perform the following procedures to configure the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature:
•
Configuring a Mesh of TE Tunnel LSPs (required)
•
Specifying the Range of Mesh Tunnel Interface Numbers (optional)
•
Showing Configuration Information About Tunnels (optional)
•
Monitoring Your Autotunnel Mesh Network (required)
•
Configuring IGP Flooding for Autotunnel Mesh Groups (optional)
Configuring a Mesh of TE Tunnel LSPs
Perform the following tasks on each PE router in your network to configure a mesh of TE tunnel LSPs:
•
Enabling Autotunnel Mesh Groups Globally
•
Creating an Access List Using a Name
•
Creating an Autotunnel Template Interface
Note
You can perform these tasks in any order.
Enabling Autotunnel Mesh Groups Globally
Perform the following task to enable autotunnel mesh groups globally. Perform this task on all PE routers in your network that you want to be part of an autotunnel mesh group.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mpls traffic-eng auto-tunnel mesh
4.
end
DETAILED STEPS
Creating an Access List Using a Name
Perform the following task to create an access list using a name.
The access list determines the destination addresses for the mesh tunnel interfaces. You can use an access list to control the PE routers to which a full or partial mesh of TE tunnel LSPs is established. The access list allows matches for only the addresses that are learned and stored in the TE topology database.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip access-list {standard | extended} access-list-name
4.
permit source [source-wildcard]
5.
end
DETAILED STEPS
Creating an Autotunnel Template Interface
Perform the following task to create an autotunnel template interface. This helps minimize the initial configuration of the network. You configure one template interface per mesh, and it propagates to all mesh tunnel interfaces, as needed.
Note
You can enter various commands. The commands shown below are used to create a minimal configuration.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface auto-template interface-num
4.
ip unnumbered type number
5.
tunnel mode {aurp | cayman | dvmrp | eon | gre | ipip | iptalk | mpls | nos}
6.
tunnel mpls traffic-eng autoroute announce
7.
tunnel mpls traffic-eng priority setup-priority [hold-priority]
8.
tunnel mpls traffic-eng auto-bw [collect-bw] [frequency seconds] [max-bw kbps] [min-bw kbps]
9.
tunnel mpls traffic-eng path-option number {dynamic | explicit {name path-name | path-number}} [lockdown]
10.
tunnel destination access-list num
11.
end
DETAILED STEPS
Specifying the Range of Mesh Tunnel Interface Numbers
Perform the following task to specify the range of mesh tunnel interface numbers.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mpls traffic-eng auto-tunnel mesh tunnel-num min num max num
4.
end
DETAILED STEPS
Showing Configuration Information About Tunnels
Perform the following task to show tunnel configuration information, such as tunnel interface and mesh tunnel configuration.
SUMMARY STEPS
1.
enable
2.
show running interface auto-template num
3.
show interface tunnel num configuration
4.
exit
DETAILED STEPS
Step 1
enable
Use this command to enable privileged EXEC mode. Enter your password if prompted. For example:
Router> enableRouter#Step 2
show running interface auto-template num
Use this command to display interface configuration information for a tunnel interface. For example:
Router# show running interface auto-template 1interface auto-template1ip unnumbered Loopback0no ip directed-broadcastno keepalivetunnel destination access-list 1tunnel mode mpls traffic-engtunnel mpls traffic-eng autoroute announcetunnel mpls traffic-eng path-option 1 dynamicThis output shows that autotunnel template interface auto-template1 uses an access list (access-list 1) to determine the destination addresses for the mesh tunnel interfaces.
Step 3
show interface tunnel num configuration
Use this command to display the configuration of the mesh tunnel interface. For example:
Router# show interface tunnel 5 configurationinterface tunnel 5ip unnumbered Loopback0no ip directed-broadcastno keepalivetunnel destination access-list 1tunnel mode mpls traffic-engtunnel mpls traffic-eng autoroute announcetunnel mpls traffic-eng path-option 1 dynamicStep 4
exit
Use this command to exit to user EXEC mode. For example:
Router# exitRouter>
Monitoring Your Autotunnel Mesh Network
Perform the following task to monitor your autotunnel mesh network.
SUMMARY STEPS
1.
enable
2.
show mpls traffic-eng tunnels property auto-tunnel mesh [brief]
3.
show mpls traffic-eng auto-tunnel mesh
4.
exit
DETAILED STEPS
Step 1
enable
Use this command to enable privileged EXEC mode. Enter your password if prompted. For example:
Router> enableRouter#Step 2
show mpls traffic-eng tunnels property auto-tunnel mesh [brief]
Use this command to monitor mesh tunnel interfaces. This command restricts the output of the show mpls traffic-eng tunnels command to display only mesh tunnel interfaces. For example:
Router# show mpls traffic-eng tunnels property auto-tunnel mesh briefSignalling Summary:LSP Tunnels Process: runningRSVP Process: runningForwarding: enabledPeriodic reoptimization: every 3600 seconds, next in 491 secondsPeriodic FRR Promotion: Not RunningPeriodic auto-bw collection: disabledTUNNEL NAME DESTINATION UP IF DOWN IFSTATE/PROTrouter_t64336 10.2.2.2 - Se2/0up/uprouter_t64337 10.3.3.3 - Se2/0up/upDisplayed 2 (of 2) heads, 0 (of 0) midpoints, 0 (of 0) tailsStep 3
show mpls traffic-eng auto-tunnel mesh
Use this command to display the cloned mesh tunnel interfaces of each autotemplate interface and the current range of mesh tunnel interface numbers. For example:
Router# show mpls traffic-eng auto-tunnel meshAuto-Template1:Using access-list 1 to clone the following tunnel interfaces:Destination Interface----------- ---------10.2.2.2 Tunnel6433610.3.3.3 Tunnel64337Mesh tunnel interface numbers: min 64336 max 65337Step 4
exit
Use this command to exit to user EXEC mode. For example:
Router# exitRouter>
Troubleshooting Tips
You can configure mesh tunnel interfaces directly. However, you cannot delete them manually, and manual configuration is not permanent. The configuration is overwritten when the template changes or the mesh tunnel interface is deleted and recreated. If you attempt to manually delete a mesh tunnel interface, an error message appears.
You can enter the show mpls traffic-eng tunnels destination address command to display information about tunnels that are destined for a specified IP address.
Enter the show mpls traffic-eng tunnels property auto-tunnel mesh command to display information about mesh tunnel interfaces.
Configuring IGP Flooding for Autotunnel Mesh Groups
Perform the following task to configure IGP flooding for autotunnel mesh groups. Use this task to configure an OSPF-based discovery for identifying mesh group members and advertising the mesh group IDs to all LSRs.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mpls traffic-eng auto-tunnel mesh
4.
router ospf process-id
5.
mpls traffic-eng mesh-group mesh-group-id interface-type interface-number area area-id
6.
exit
7.
Repeat steps 4 and 5 at other LSRs to advertise the mesh group numbers to which they belong.
8.
interface auto-template interface-num
9.
tunnel destination mesh-group mesh-group-id
10.
end
DETAILED STEPS
Configuration Examples for MPLS Traffic Engineering—Autotunnel Mesh Groups
This section provides the following configuration examples for the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature:
•
Configuring a Mesh of TE Tunnel LSPs: Examples
•
Specifying the Range of Mesh Tunnel Interface Numbers: Example
•
Configuring IGP Flooding for Autotunnel Mesh Groups: Example
Configuring a Mesh of TE Tunnel LSPs: Examples
This section contains the following configuration examples for configuring a mesh of TE tunnel LSP:
•
Enabling Autotunnel Mesh Groups Globally: Example
•
Creating an Access List Using a Name: Example
•
Creating a Template Interface: Example
Enabling Autotunnel Mesh Groups Globally: Example
The following example shows how to enable autotunnel mesh groups globally:
configure terminal!mpls traffic-eng auto-tunnel meshendCreating an Access List Using a Name: Example
The following examples shows how to create an access list using a name to determine the destination addresses for the mesh tunnel interfaces:
configure terminal!ip access-list standard a1permit 10.0.0.0 0.255.255.255endIn this example, any IP address in the TE topology database that matches access list a1 causes the creation of a mesh tunnel interface with that destination address.
Creating a Template Interface: Example
This example shows how to create a template interface. In the following example, a template is created and configured with a typical set of TE commands. The mesh group created from the template consists of mesh tunnel interfaces with destination addresses that match access list a1.
Note
You can enter various commands. The following commands show a typical configuration.
configure terminal!interface Auto-Template 1ip unnumbered Loopback0tunnel mode mplstunnel mpls traffic-eng autoroute announcetunnel mpls traffic-eng priority 1 1tunnel mpls traffic-eng auto-bwtunnel mpls traffic-eng path-option 1 dynamictunnel destination access-list a1endSpecifying the Range of Mesh Tunnel Interface Numbers: Example
In the following example, the lowest mesh tunnel interface number can be 1000, and the highest mesh tunnel interface number can be 2000:
configure terminal!mpls traffic-eng auto-tunnel mesh tunnel-num min 1000 max 2000endConfiguring IGP Flooding for Autotunnel Mesh Groups: Example
In the following example, OSPF is configured to advertise the router membership in mesh group 10:
configure terminal!mpls traffic-eng auto-tunnel meshrouter ospf 100mpls traffic-eng mesh-group 10 loopback 0 area 100exit!interface auto-template 1tunnel destination mesh-group 10endAdditional References
The following sections provide references related to the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature.
Related Documents
Related Topic Document TitleConfiguration tasks for MPLS traffic engineering
Part 3: MPLS Traffic Engineering in the Cisco IOS Multiprotocol Label Switching Configuration Guide, Release 12.4
MPLS traffic engineering command descriptions
Cisco IOS Multiprotocol Label Switching Command Reference, Release 12.2 SR
Standards
MIBs
MIBs MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents modified commands only.
•
clear mpls traffic-eng auto-tunnel mesh
•
mpls traffic-eng auto-tunnel mesh
•
mpls traffic-eng auto-tunnel mesh tunnel-num
•
show interface tunnel configuration
•
show mpls traffic-eng auto-tunnel mesh
•
show mpls traffic-eng tunnels
•
show running interface auto-template
•
tunnel destination access-list
•
tunnel destination mesh-group
clear mpls traffic-eng auto-tunnel mesh
To remove all the mesh tunnel interfaces and re-create them, use the clear mpls traffic-eng auto-tunnel mesh command in privileged EXEC mode.
clear mpls traffic-eng auto-tunnel mesh
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Examples
The following example shows how to remove all mesh tunnel interfaces and re-create them:
Router# clear mpls traffic-eng auto-tunnel meshRelated Commands
interface auto-template
To create the template interface, use the interface auto-template command in global configuration mode. To delete this interface, use the no form of this command.
interface auto-template interface-num
no interface auto-template
Syntax Description
Command Default
No default behavior or values.
Command Modes
Global configuration
Command History
Usage Guidelines
The space before the interface-num argument is optional.
Use the shutdown command to disable mesh tunnel interface creation in this template.
Examples
The following example shows how to create template interface 1:
Router(config)# interface auto-template 1Related Commands
mpls traffic-eng auto-tunnel mesh
To enable autotunnel mesh groups globally, use the mpls traffic-eng auto-tunnel mesh command in global configuration mode. To disable this feature, use the no form of this command.
mpls traffic-eng auto-tunnel mesh
no mpls traffic-eng auto-tunnel mesh
Syntax Description
This command has no arguments or keywords.
Command Default
Autotunnel mesh groups are not enabled globally.
Command Modes
Global configuration
Command History
Examples
The following example shows how to enable autotunnel mesh groups globally:
Router(config)# mpls traffic-eng auto-tunnel meshRelated Commands
mpls traffic-eng auto-tunnel mesh tunnel-num
To configure a range of mesh tunnel interface numbers, use the mpls traffic-eng auto-tunnel mesh tunnel-num command in global configuration mode. To use the default values, use the no form of this command.
mpls traffic-eng auto-tunnel mesh tunnel-num min num max num
no mpls traffic-eng auto-tunnel mesh tunnel-num
Syntax Description
Command Default
The min default is 64336. The max default is 65335.
Command Modes
Global configuration
Command History
Usage Guidelines
If you change an access control list (ACL) and tunnels are deleted because they no longer match the ACL, tunnels that are recreated might not be numbered sequentially; that is, the range of tunnel numbers might not be sequential.
Examples
The following example shows how to specify 1000 as the beginning number of the mesh tunnel interface and 2000 as the ending number:
Router(config)# mpls traffic-eng auto-tunnel mesh tunnel-num min 1000 max 2000Related Commands
Command Descriptionshow mpls traffic-eng auto-tunnel mesh
Displays the cloned mesh tunnel interfaces of each autotemplate interface and the current range of mesh tunnel interface numbers.
mpls traffic-eng mesh-group
To configure a mesh group in an Interior Gateway Protocol (IGP) to allow Multiprotocol Label Switching (MPLS) traffic engineering (TE) label switch routers (LSRs) that belong to the same mesh group to signal tunnels to the local router, use the mpls traffic-eng mesh-group command in router configuration mode. To disable signaling of tunnels from LSRs in the same mesh group to the local router, use the no form of this command.
mpls traffic-eng mesh-group mesh-group-id interface-type interface-number area area-id
no mpls traffic-eng mesh-group mesh-group-id interface-type interface-number area area-id
Syntax Description
mesh-group-id
Number that identifies a specific mesh group.
interface-type
Type of interface.
interface-number
Interface number.
area area-id
Identifies an IGP area.
Command Default
No tunnels are s

