To configure LDP and RSVP-TE, depending on your network topology and needs:
MPLS Global Configuration Tasks
Complete these tasks to configure a virtual router as an LSR. You perform these
commands in Global Configuration mode. The following sequence is arbitrary; you
can perform these tasks in any order.
Your choice of label distribution protocol determines whether the LDP or RSVP-TE
global tasks are appropriate for your network design.
MPLS global configuration tasks include the following sets of tasks:
MPLS Global Tasks
In a typical network, you perform only the first task. You might also perform the
optional configuration tasks, but typically do not need to do so.
1.
2.
3.
4.
5.
Configure LDP features depending on your network design.
See "Additional LDP Configuration Tasks" on page 277.
Configure RSVP-TE features depending on your network design.
See "Additional RSVP-TE Configuration Tasks" on page 282.
MPLS Global Tasks on page 265
LDP Global Tasks on page 266
RSVP-TE Global Tasks on page 268
Enable MPLS on a virtual router.
host1(config)#mpls
(Optional) Configure the time-to-live field placed in the MPLS header when a
label is first added to an IP packet.
host1(config)#mpls ip propagate-ttl forwarded
(Optional) Configure the tunneling model for differentiated services. See
"Configuring MPLS and Differentiated Services" on page 295 for more information
and command descriptions.
host1(config)#mpls tunnel-model uniform
(Optional) Specify whether to use the TOS value (the default condition) or the
UPC value of the packet as the value of the EXP bits when the router acts as an
LER.
host1(config)#mpls copy-upc-to-exp
(Optional) Specify whether the EXP bits for VPN MPLS labels can be modified
by EXP bit mapping or by policy for differentiated services.
host1(config)#mpls preserve-vpn-exp
Chapter 3: Configuring MPLS
MPLS Global Configuration Tasks
265