If you anticipate having multiple tunnels to share
the same configuration, you can reduce your configuration time by
using tunnel profiles to configure your tunnels.
In the profile, 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 profile configuration tasks are relevant only for
traffic engineering networks.
To configure a tunnel profile:
Create an MPLS tunnel profile and enter Tunnel Profile
Configuration mode.
host1(config)#mpls tunnels profile Lisbon
(Optional) Configure the LSP to announce its endpoint
to an IGP.
When an endpoint is dynamically learned
from the specified routing protocol, MPLS searches its tunnel profiles
for a match. The dynamic tunnel is established using the settings
from the first matching profile.