Академический Документы
Профессиональный Документы
Культура Документы
10.3
NN47263-505, 04.01
October 2010
Copyright
Except where expressly stated otherwise, no use should be made of
materials on this site, the Documentation(s) and Product(s) provided
by Avaya. All content on this site, the documentation(s) and the
product(s) provided by Avaya including the selection, arrangement and
design of the content is owned either by Avaya or its licensors and is
Configuration MPLS
October 2010
Contents
Chapter 1: New in this release.................................................................................................9
Other changes...................................................................................................................................................9
Chapter 2: Introduction...........................................................................................................11
Navigation........................................................................................................................................................11
Configuration MPLS
October 2010
Configuration MPLS
October 2010
Configuration MPLS
October 2010
Configuration MPLS
October 2010
Configuration MPLS
October 2010
Configuration MPLS
October 2010
Other changes
This document is rebranded to Avaya.
Configuration MPLS
October 2010
10
Configuration MPLS
October 2010
Chapter 2: Introduction
This document describes the operation and configuration of the MPLS features on the Avaya Secure
Router 2330/4134.
Navigation
MPLS fundamentals on page 13
LDP fundamentals on page 23
RSVP-TE fundamentals on page 31
MPLS Pseudowire fundamentals on page 43
Static LSP configuration on page 47
LDP LSP configuration on page 51
RSVP-TE LSP configuration on page 77
MPLS Pseudowire configuration on page 123
Configuration examples on page 135
Configuration MPLS
October 2010
11
Introduction
12
Configuration MPLS
October 2010
MPLS elements
The following sections describe the elements of MPLS networks.
Configuration MPLS
October 2010
13
MPLS fundamentals
Supported interfaces
The Avaya Secure Router 2330/4134 supports MPLS on the following interfaces:
WAN interfaces supporting PPP or HDLC encapsulation:
- T1/E1 interfaces
- CT3/DS3 interfaces
- Serial and HSSI interfaces
WAN interfaces running MLPPP are not supported.
All SR2330 Ethernet ports, and VLAN interfaces containing these ports.
SR4134 Chassis Ethernet ports, and VLAN interfaces containing only Chassis Ethernet
ports.
SR4134 Module Ethernet ports and VLAN interfaces that contain any of these ports are
not supported.
Interface-specific MPLS parameter configurations are not supported for VLAN interfaces. In
which case, the global MPLS parameters apply to MPLS over VLAN.
MPLS cannot operate on IPSec-enabled (crypto) interfaces.
MPLS label
The following sections provide additional detail about the MPLS label distribution.
14
Configuration MPLS
October 2010
MPLS label
Label description
As traffic enters the MPLS network, each packet is marked with a label. A label, in its simplest
form, identifies the path a packet should traverse. An MPLS label is carried or encapsulated
in between the Layer 2 and the Layer 3 header. The receiving router examines the packet
for its label content to determine the next hop. Once a packet has been labeled, the rest of the
journey of the packet through the MPLS network is based on label switching. The label values
are of local significance only, meaning that they pertain only to hops between LSRs.
Label allocation
As traffic enters the MPLS network, the ingress LSR groups traffic requiring similar treatment
into forward equivalence classes (FECs). Each transit LSR maps the FECs to incoming and
outgoing labels. Each downstream router advertise the FEC-to-label assignments to the
upstream router.
Operations on labels
The Secure Router 2330/4134 supports the following label operations:
Push: adds a new label onto the packet.
Pop: removes the label from the packet.
Swap: replaces the existing label with a new label.
Configuration MPLS
October 2010
15
MPLS fundamentals
NHLFE
The Next Hop Label Forwarding Entry (NHLFE) specifies the actions to take for each labeled
packet. The details it provides include:
next hop for the packet
the operation to perform on the label: push, pop, swap
ILM
The Incoming Label Map (ILM) maps each incoming label to a set of NHLFEs. MPLS uses the
ILM to determine the action to perform on incoming labeled packets.
FTN
The FEC-to-NHLFE (FTN) maps each FEC to a set of NHLFEs. MPLS uses FTN to determine
the label to apply and the action to perform on incoming unlabeled packets.
Implicit null
In implicit null mode, the Secure Router 2330/4134 router advertises the implicit null label (label
3) for LSPs that it terminates. Label 3 indicates that the upstream router must remove the outer
label before forwarding the packet to the egress router, without replacing it with another label.
Upon receipt, the Secure Router 2330/4134 router does not have to process the outer label,
16
Configuration MPLS
October 2010
and forwards the packet based on the next inner label or the destination address in the
encapsulated IP header.
Explicit null
In explicit null mode, the Secure Router 2330/4134 router advertises the explicit null label (label
0) for LSPs that it terminates. The upstream router uses label 0 as the outgoing label for the
packet, which indicates to the Secure Router 2330/4134 router that it is the final hop on the
LSP. Upon receipt, the Secure Router 2330/4134 router pops the label without performing a
label lookup, and forwards the packet based on the next inner label or the destination address
in the encapsulated IP header.
In explicit-null mode, the system marks the EXP bits in the explicit-null label to match the EXP
bits of the popped label, so that Diff-Serv treatment is preserved at the egress LER.
PHP disabled
If PHP is disabled, the Secure Router 2330/4134 router advertises a normal label (from the
range 2064-524288) for an LSP when sending a label mapping to the upstream router. Upon
receipt of a packet, the Secure Router 2330/4134 router performs a label lookup, then pops
the label and forwards the packet based on the next inner label (if present) or the destination
address in the encapsulated IP header.
Configuration MPLS
October 2010
17
MPLS fundamentals
Because each egress LSP is assigned a different label, this option allows traffic statistic
collection for individual egress LSPs.
LSP routes
When you configure an LSP on an ingress router, the ingress router configures an associated
host route toward the egress router. The host route address is the destination address of the
LSP. The default administrative distance of the route is set to 10, which is higher than all routes
other than direct interfaces and static routes.
The route is configured with a 32-bit mask, which ensures that the route is a longer match and
therefore more specific than all other subnet routes.
Types of LSPs
There are three types of LSP:
Static LSP
LDP LSP
RSVP-signaled LSP
18
Configuration MPLS
October 2010
Types of LSPs
Static LSP
Static LSPs are manually configured LSPs. No label distribution protocol is enabled. For each
LSR along the LSP path, you must manually configure LSP labels, similar to static routes. The
following figure shows the label actions that each LSR must perform along the LSP path.
LDP LSP
LDP allows routers to discover neighbors and to establish LDP sessions with them so that they
can exchange label mapping information. An LDP LSR identifies the best routes, as selected by
the underlying IGP, and binds a locally significant label to each, then propagates this binding
to neighbors.
RSVP-TE-signaled LSPs
Resource Reservation Protocol with traffic engineering extensions (RSVP-TE) is a label
signaling protocol that allows you to set up traffic-engineered LSPs through the MPLS network.
RSVP-TE allows an ingress router to set up traffic-engineered LSPs (also called tunnels)
through the MPLS network. The intermediate and egress routers accept RSVP-TE signaling
messages from the ingress router to set up and maintain the LSP and dynamically assign
labels.
Where LDP LSPs are dynamic, RSVP-TE tunnels are user-initiated: you need only configure
the ingress router. You can use RSVP-TE to create tunnels that avoid points of congestion in
the network.
RSVP-TE-signaled LSPs can be one of two types: explicit-path LSP or constrained-path LSP.
Explicit-path LSP
With explicit-path LSPs, you can manually specify the intermediate hops along the LSP. Each
hop in the explicit-path LSP is either strict or loose. If the hop is strict, the LSP must go to the
Configuration MPLS
October 2010
19
MPLS fundamentals
specified address directly, without traversing any intermediary nodes. If the hop is loose, the
RSVP-TE relies on IGP lookups to determine the best route to the specified address.
Constrained-path LSP
With constrained-path LSP, the router uses the Constrained Shortest Path First (CSPF)
protocol to determine the LSP path. In this case, RSVP-TE and CSPF must be enabled on all
routers along the LSP path.
With CSPF LSPs, you can specify traffic engineering parameters that must be met by each
LSR in order to create the LSP.
Standards compliance
The Secure Router 2330/4134 implementation of MPLS complies with the following RFCs:
RFC 2702, Requirements for Traffic Engineering Over MPLS
RFC 3031, MPLS Architecture
RFC 3032, Label Stack Encoding
RFC 3036, LDP Specification
RFC 3215, LDP State Machine
RFC 2205, Resource ReSerVation Protocol (RSVP)--Version 1 Functional Specifications
RFC 2209, RSVPVersion 1 Message Processing Rules
RFC 2961, RSVP Refresh Overhead Reduction Extensions
RFC 3209, RSVP-TE: Extensions to RSVP for LSP Tunnels
RFC 3210, Applicability Statement for Extensions to RSVP for LSP-tunnels
RFC 4090, Fast Reroute Extensions to RSVP-TE for LSP Tunnels
The Secure Router 2330/4134 implementation of MPLS pseudowire complies with the
following RFCs:
draft-ietf-pwe3-arch-07.txt,sept-2004, PWE3 Architecture.
draft-ietf-pwe3-requirements-08.txt,June-2004, Requirements for Pseudo-Wire
Emulation Edge-to-Edge
draft-ietf-pwe3-control-protocol-06.txt,Sept-2004, Pseudowire Setup and Maintenance
using LDP (draft-martini-l2circuit-trans-mpls-13.txt, June-2004)
20
Configuration MPLS
October 2010
Standards compliance
Configuration MPLS
October 2010
21
MPLS fundamentals
22
Configuration MPLS
October 2010
LDP overview
LDP allows routers to discover neighbors and to establish LDP sessions so they can exchange
label mapping information. Each LDP router identifies the best routes, as selected by the
underlying IGP, and binds a locally significant label to each, then propagates this binding to
neighbors.
LDP discovery
LDP discovery is the process by which LDP routers discover neighboring routers, for the
purpose of exchanging label-to-FEC binding information. LDP routers exchange LDP Hello
messages to form a Hello adjacency, prior to establishing an LDP session.
Configuration MPLS
October 2010
23
LDP fundamentals
Basic discovery
LDP uses basic discovery to find directly-connected routers with which to exchange label
information. The router transmits multicast UDP Hello messages to all routers on the subnet.
When the neighbor responds with Hello messages to the local router, the two routers form a
Hello adjacency.
Extended discovery
Extended discovery allows an LDP router to discover peers that are not directly connected
to it, and to establish LDP sessions with them. The router transmits unicast UDP Hello
messages to a specific peer router, which may or may not be directly connected to it. If the
peer responds to these targeted Hello messages, the pair form an extended Hello adjacency
and normal LDP session establishment procedures follow.
LDP sessions
When MPLS routers have formed an LDP Hello adjacency, they establish an LDP session.
LDP sessions are bidirectional and allow LDP peers to learn each others label-to-FEC
bindings. The LDP session is identified by the pair of LDP IDs: the LDP ID of the local router
and LDP ID of the peer router.
If the Secure Router 2330/4134 connects to a peer node over multiple interfaces, the LDP ID
pair (that is, local LDP ID, peer LDP ID) is the same for each Hello adjacency between the two
nodes. When this occurs, only one LDP session is established between the two LSRs, with all
Hello adjacencies being part of that session. The LDP session remains active as long as at
least one Hello adjacency to the peer router is up; thus, a link failure does not impact the LDP
control path as long as there is at least one physical connection to the peer.
24
Configuration MPLS
October 2010
LDP overview
Session
Advertisement
Notification
Configuration MPLS
October 2010
25
LDP fundamentals
26
Configuration MPLS
October 2010
Configuration MPLS
October 2010
27
LDP fundamentals
Independent
In independent mode, an LSR advertises label mappings for FECs at any time, regardless of
whether it is the egress for the FEC or has received a label mapping from the next hop for the
FEC. FEC-to-label bindings are advertised as soon as the next hop has been recognized.
In independent downstream-on-demand mode, an LSR can answer requests for label
mappings immediately, without waiting for a label mapping from the next hop. In independent
downstream unsolicited mode, an LSR can advertise a label mapping for an FEC to neighbors
whenever it is prepared to label-switch that FEC.
Ordered
In ordered mode, an LSR only advertises label mappings for an FEC when it is the egress
router for the FEC, or when it has received a label mapping from the current next hop for the
28
Configuration MPLS
October 2010
FEC. If neither of these conditions are met, the LSR must wait for a label mapping from a
downstream neighbor before it can map the FEC to a label and advertise the binding to an
upstream neighbor. In this way, an LSP is set up from egress to ingress, hop-by-hop.
Configuration MPLS
October 2010
29
LDP fundamentals
30
Configuration MPLS
October 2010
RSVP-TE overview
RSVP-TE allows an ingress router to set up traffic-engineered LSPs (also called tunnels)
through the MPLS network. You can use RSVP-TE to create tunnels that avoid points of
congestion in the network or load balance across of available network resources. Where LDP
LSPs are dynamic, RSVP-TE tunnels are user-initiated.
RSVP tunnels are persistent: that is, when an LSP goes down, the router attempts to reestablish the LSP, based on a configurable retry limit and retry interval. When the node reaches
the retry limit without restoring the LSP, no further attempts are made to establish the LSP
until it is administratively disabled and re-enabled.
Control messages
RSVP-TE is a soft-state protocol. LSRs exchange periodic control messages to refresh state
information, and any non-refreshed states time out automatically. This allows RSVP-TE to
adapt to changes in topology and resource availability, and to recover from any failures more
quickly.
RSVP-TE uses two primary messages to set up and maintain tunnels: the Path message, to
request resources and label bindings, and the Resv message, to confirm available resources
and distribute label-to-FEC bindings. You can control how often the Path and Resv messages
are sent, and how long the Avaya Secure Router 2330/4134 waits before removing forwarding
states and resource reservations after receiving a control message.
Table 2: RSVP-TE message types
Message
Description
Path
Resv
Configuration MPLS
October 2010
31
RSVP-TE fundamentals
Message
Description
PathTear
ResvTear
PathErr
ResvErr
ResvConfirm
32
Configuration MPLS
October 2010
Configuration MPLS
October 2010
33
RSVP-TE fundamentals
Fixed filter
A fixed filter (FF) reservation creates a distinct resource reservation for each sender in a
specified list. Each reservation is specific to a sender, and is not shared with any other sender in
the session. Fixed filter reservation is appropriate for traffic flows that are independent but likely
to be transmitted at the same time (such as video applications).
RSVP-TE tunnels reserved with fixed filter (FF) style never share bandwidth with other LSPs.
The tunnel consumes its own share of the bandwidth on all links traversed.
Shared explicit
A shared explicit (SE) reservation creates a single resource reservation that is shared by all
senders in a specified list.
RSVP-TE tunnels reserved with shared explicit (SE) style in the same RSVP session can share
bandwidth on common links. SE style is usually used when traffic can only flow on one of the
LSPs in the session at a given time, for instance, for primary and backup LSPs, or when
performing LSP optimization or modification. LSPs that belong to different sessions, even when
SE style is used, cannot share bandwidth.
34
Configuration MPLS
October 2010
Setup priority
The setup priority determines if a new LSP can preempt an existing LSP. The setup priority of
the new LSP must be higher than the hold priority of an existing LSP for the existing LSP to
be preempted.
Please note that for a trunk, the setup priority should not be higher than the hold priority.
Hold priority
The hold priority determines the degree to which an LSP holds onto its reservation for a session
after the LSP has been set up successfully. When the hold priority is high, the existing LSP is
less likely to give up its reservation.
Configuration MPLS
October 2010
35
RSVP-TE fundamentals
Once established, explicitly routed RSVP-TE tunnels are pinned: changes in the network
topology (for example, when the IGP learns of a better route) have no impact on the LSP path. If
the LSP is torn down (for example, because of a link failure), the node attempts to reestablish the LSP and uses the most recent IGP information to setup the LSP path.
Route Recording
Route recording describes the actual path taken by an LSP, as a list of all the nodes traversed
from ingress to egress. When route recording is enabled, each node records its LSR ID in the
Route Record Object (RRO) of the Path message before forwarding it to the next hop.
Route recording is a useful diagnostic tool when examining the path of an LSP (particularly for
LSPs with loose hops, that rely on the IGP for the best path), or for loop detection.
Refresh reduction
Due to the soft-state nature of RSVP, LSRs must exchange control messages periodically to
refresh installed state information in each node. Additionally, because control messages are
sent as IP datagrams (with no guaranteed delivery), periodic refresh messages cover any lost
messages. However, as the number of RSVP-TE sessions increases, so does the volume of
control traffic between nodes.
Refresh reduction allows you to reduce the amount of RSVP control traffic in the network. To
provide RSVP refresh reduction, the Secure Router 2330/4134 supports reliable messaging.
Reliable messaging
Reliable messaging provides an acknowledgement mechanism between RSVP-TE neighbors
to confirm that control messages have been delivered successfully. Since message loss can
be detected independently, RSVP does not have to rely on periodic refresh messages to
recover from any dropped messages, and the refresh interval can be longer. This reduces the
amount of control traffic between RSVP-TE neighbors.
A receiver acknowledges successful RSVP message delivery with either an ACK message
(that references the original messages ID) or piggy-backed in another RSVP message.
36
Configuration MPLS
October 2010
If the failed LSR comes back up, the LSP reverts to the original protected path.
Node protection
The Secure Router 2330/4134 also supports fast reroute with node protection. In this case,
if an LSR fails, the alternate path initiated by the upstream router bypasses the failed router
completely, reconnecting to the original LSP path at the next downstream router.
Configuration MPLS
October 2010
37
RSVP-TE fundamentals
38
Configuration MPLS
October 2010
Administrative groups
Administrative groups
Administrative groups are manually assigned attributes that describe the "color" of links, so
that links with the same color are in one class. These groups are used to implement different
policy-based LSP setups.
With RSVP-TE, you can specify the administrative groups to include or exclude in the primary
or secondary path for an LSP. The available options are:
include-any:
all links must belong to at least one of the administrative groups listed in the includeany list.
include-all
all links must belong to all of the administrative groups listed in the include-all list
exclude-any
none of the links must have a color found in the list of groups.
MPLS QoS
MPLS QoS provides support for global DSCP-to-EXP mapping on the ingress LER, and global
EXP-to-DSCP mapping on the egress LER. On the ingress LER, MPLS QoS also supports
flow-based EXP marking for inbound traffic, and class-based queueing for outbound traffic.
The following sections provide an overview of the supported MPLS QoS features. For detailed
QoS configuration information, see Configuration Traffic Management (NN47263-601).
Configuration MPLS
October 2010
39
RSVP-TE fundamentals
40
DSCP
EXP
Critical Control
Traffic
Class Selector 7
Network Control
Traffic
Class Selector 6
Real Time
EF
Class 1
AF 4X
Class 2
AF 3X
Class 3
AF 2X
Class 4
AF 1X
Best Effort
Default
Configuration MPLS
October 2010
MPLS QoS
Class-based queueing
MPLS QoS also supports class based queuing of per-EXP traffic, based on the EXP value of
the data after applying the global DSCP-to-EXP mapping, and flow-based EXP marking, if
applicable.
EXP
DSCP
Class Selector 7
Class Selector 6
EF
Platinum, Class 1
AF 41
Gold, Class 2
AF 31
Silver, Class 3
AF 21
Configuration MPLS
October 2010
41
RSVP-TE fundamentals
Bronze, Class 4
AF 11
Best Effort
The EXP-to-DSCP functionality depends on the configured MPLS tunnel mode. The tunnel
modes control whether the DiffServ markings for IP packets remain independent from, or are
a function of, the MPLS label EXP values. These modes are only applicable when labels are
pushed or popped. They have no influence on the label swapping on intermediate LSRs.
There are three tunnel modes that control the application of EXP values in various scenarios:
Uniform mode
Changes made to the EXP value on the uppermost label are applied to all labels in the stack,
including the IP packet.
In the egress LER, the changes to the EXP values along the MPLS network path are reflected
into the packet by appropriately re-marking the DSCP value based on the global EXP-toDSCP mapping table.
Pipe mode
Changes made to the EXP value on the uppermost label are propagated to other MPLS labels
but not to the IP packet. Here, the DSCP value in the IP packet remains unchanged, but the
PHB at the egress LER is chosen based on the removed EXP value.
Short-pipe mode
Changes made to the EXP value on the uppermost label are propagated to other MPLS labels
but not to the IP packet. Here, the DSCP value in the IP packet remains unchanged, and the
PHB at the egress LER is chosen based on the removed EXP value.
42
Configuration MPLS
October 2010
Configuration MPLS
October 2010
43
44
Configuration MPLS
October 2010
TE LSP, or an LDP LSP. However, to dynamically generate and transmit virtual circuit label
mapping messages between the peers, MPLS pseudowire uses only LDP. As a result, in order
to enable dynamic MPLS pseudowire, an LDP session must be configured between the peers
regardless of the type of LSP that is used to establish the pseudowire.
With remote peers, a targeted LDP session is required. With directly connected peers, a local
LDP session is sufficient.
If multiple LSPs are configured between the peers when a dynamic virtual circuit is enabled,
the LER adheres to the following order of precedence to choose the LSP to use:
1. Static LSP
2. RSVP-TE LSP
3. LDP LSP
Configuration MPLS
October 2010
45
VLAN Rewrite
Typically, when Ethernet over MPLS is emulating VLAN, the VLAN IDs at each end of the link
must have the same value. The Secure Router 2330/4134 supports the VLAN rewrite feature,
which allows you to use different VLAN IDs at each end of the link.
46
Configuration MPLS
October 2010
Configuration MPLS
October 2010
47
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure a static FTN entry, enter:
[no] mpls static-ftn <FEC/Mask> <outgoing-label> <next-hop>
<outgoing-if-name>
Table 5: Variable definitions
Variable
Value
[no]
<FEC/Mask>
<outgoing-label>
48
<next-hop>
<outgoing-if-name>
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure a static ILM entry, enter:
[no] mpls static-ilm <label-in> <if-name-in> [pop] | [swap
<label-out> <next-hop> <if-name-out>]
Table 6: Variable definitions
Variable
Value
[no]
<label-in>
<if-name-in>
[pop]
swap
<label-out>
<next-hop>
<if-name-out>
Procedure steps
To display the static FTN entry configurations, enter:
Configuration MPLS
October 2010
49
Procedure steps
To display the static ILM entry configurations, enter:
show mpls static-ilm
Procedure steps
To display the static FTN entries, enter:
show mpls stats-ftn
Procedure steps
To display the static ILM entries, enter:
show mpls stats-ilm
50
Configuration MPLS
October 2010
Configuration MPLS
October 2010
51
Important:
If you configure ECMP using LDP LSPs, you must enable LDP (using the mpls protocolldp command) on all interfaces that are used in the ECMP configuration.
52
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To specify a bundle name for the loopback interface, enter:
interface loopback <loopback-if-name>
3. To configure the loopback address, enter:
ip address <loopback-ip> <subnet-mask>
4. To exit from the loopback configuration, enter:
exit
5. To configure the router-id, enter:
[no] router-id <router-id>
Table 7: Variable definitions
Variable
Value
<loopback-if-name>
<loopback-ip>
<subnet-mask>
[no]
Configuration MPLS
October 2010
53
Variable
<router-id>
Value
Specifies the router ID. This value must be a valid loopback
address.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To enable LDP, enter:
router ldp
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To specify the targeted LDP peer, enter:
targeted-peer <targeted-peer-ip>
Table 8: Variable definitions
Variable
<targeted-peer-ip>
54
Configuration MPLS
Value
Specifies the IPv4 address of the targeted peer.
October 2010
Variable
Value
For the targeted peer IP, specify the address which is
configured as the transport address on the peer side
(preferably a loopback address).
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the targeted peer hello interval, enter:
[no] targeted-peer-hello-interval <1-65535>
Table 9: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the targeted peer hello interval, enter:
Configuration MPLS
October 2010
55
Value
<bundle-name>
<0/1-0/4>
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the targeted peer hold time, enter:
[no] targeted-peer-hold-time <1-65535>
Table 11: Variable definitions
Variable
Value
[no]
<1-65535>
56
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the targeted peer hold time, enter:
[no] ldp targeted-peer-hold-time <1-65535>
Table 12: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure explicit null labels, enter:
[no] explicit-null
Table 13: Variable definitions
Variable
[no]
Configuration MPLS
Value
Disables explicit null labels.
October 2010
57
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the transport address, enter:
[no] transport-address <transport-ip-address>
Table 14: Variable definitions
Variable
Value
[no]
<transport-ip-address>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure loop detection, enter, enter:
[no] loop-detection
58
Configuration MPLS
October 2010
Value
Disables loop-detection.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the loop detection count, enter, enter:
[no] loop-detection-count <1-255>
Table 16: Variable definitions
Variable
Value
[no]
<1-255>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To enable request retries, enter, enter:
Configuration MPLS
October 2010
59
[no] request-retry
Table 17: Variable definitions
Variable
[no]
Value
Disables request retries.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the request retry timeout, enter:
[no] request-retry-timeout <1-65535>
Table 18: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
60
Configuration MPLS
October 2010
router ldp
3. To propagate the release of labels to downstream routers, enter, enter:
[no] propagate-release
Table 19: Variable definitions
Variable
[no]
Value
Disables the release of labels to downstream routers.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the label control mode, enter:
[no] control-mode {independent | ordered}
Table 20: Variable definitions
Variable
Value
[no]
independent
ordered
Configuration MPLS
October 2010
61
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure label advertisement, enter, enter:
[no] advertise-labels [for any to none] | {for <prefix-acl>
to [any | <peer-acl>] }
Table 21: Variable definitions
Variable
Value
[no]
<prefix-acl>
[any | <peer-acl>]
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the label advertisement mode, enter:
[no] advertisement-mode {downstream-unsolicited}
62
Configuration MPLS
October 2010
Value
[no]
{downstream-unsolicited}
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the label advertisement mode, enter:
[no] ldp advertisement-mode {downstream-unsolicited}
Table 23: Variable definitions
Variable
Value
[no]
{downstream-unsolicited}
Configuration MPLS
October 2010
63
If an LDP session is already operational, any changes made to the retention mode apply only to
labels received after the router processes the mode change command. All previously received
labels remain unchanged.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the label retention mode, enter:
[no] label-retention-mode {liberal}
Table 24: Variable definitions
Variable
Value
[no]
{liberal}
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the label retention mode, enter:
[no] ldp label-retention-mode {liberal}
64
Configuration MPLS
October 2010
Value
[no]
{liberal}
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the hello interval, enter:
[no] hello-interval <1-65535>
Table 26: Variable definitions
Variable
Value
[no]
<1-65535>
Configuration MPLS
October 2010
65
(224.0.0.2). Receipt of a hello packet from another LSR creates a hello adjacency with that
LSR.
For optimum performance, set the hello-interval value to no more than one-third the hold time
value.
The hello interval you configure for an interface overrides the global value.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the hello interval, enter:
[no] ldp hello-interval <1-65535>
Table 27: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the hold time, enter:
[no] hold-time <1-65535>
Table 28: Variable definitions
Variable
[no]
66
Configuration MPLS
Value
Sets the hold time to the default value (15 seconds).
October 2010
Variable
<1-65535>
Value
Specifies the hold time in seconds.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the hold time, enter:
[no] ldp hold-time <1-65535>
Table 29: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
Configuration MPLS
October 2010
67
router ldp
3. To configure the keepalive interval, enter:
[no] keepalive-interval <1-65535>
Table 30: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the keepalive interval, enter:
[no] ldp keepalive-interval <1-65535>
Table 31: Variable definitions
Variable
Value
[no]
<1-65535>
68
Configuration MPLS
October 2010
time a keepalive packet is received from the peer in question. For optimum performance, set
this value to no more than three times the keepalive interval value
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
router ldp
3. To configure the keepalive timeout, enter:
[no] keepalive-timeout <1-65535>
Table 32: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the keepalive timeout, enter:
[no] ldp keepalive-timeout <1-65535>
Configuration MPLS
October 2010
69
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the interface, enter:
interface [bundle <wan_bundle_name> | ethernet <0/1-0/4> |
vlan <vid>]
3. To enable MPLS on the interface, enter:
mpls ip
4. To enable the LDP protocol for the interface, enter:
mpls protocol-ldp
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose LDP configuration mode, enter:
70
Configuration MPLS
October 2010
router ldp
3. To enable multicast hellos on the interface, enter:
[no] multicast-hellos
Table 34: Variable definitions
Variable
[no]
Value
Disables multicast hellos on all interfaces.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To enable multicast hellos on the interface, enter:
[no] ldp multicast-hellos
Table 35: Variable definitions
Variable
[no]
Value
Disables multicast hellos on the interface.
Configuration MPLS
October 2010
71
Value
Displays LDP information for the specified interface. If this
value is not specified, information for all interfaces is
displayed.
72
Configuration MPLS
October 2010
Value
Displays advertise-label information in addition to LDP LSP
information.
Value
<A.B.C.D/M>
[detail]
Value
Displays advertise-label information in addition to LDP LSP
host information.
Configuration MPLS
October 2010
73
Value
Displays advertise-label information in addition to LDP LSP
prefix information.
Value
<A.B.C.D>
detail
74
Configuration MPLS
October 2010
Value
<A.B.C.D>
all
Configuration MPLS
Value
Clears IP prefix list of advertise-labels.
October 2010
75
76
Configuration MPLS
October 2010
Configuration MPLS
October 2010
77
78
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To specify a bundle name for the loopback interface, enter:
interface loopback <loopback-if-name>
3. To configure the loopback address, enter:
ip address <loopback-ip> <subnet-mask>
4. To exit from the loopback configuration, enter:
exit
5. To configure the router-id, enter:
[no] router-id <router-id>
Configuration MPLS
October 2010
79
Value
<loopback-if-name>
<loopback-ip>
<subnet-mask>
[no]
<router-id>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To enable RSVP-TE, enter:
router rsvp
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the interface, enter:
interface [bundle <wan_bundle_name> | ethernet
<chassis_ethernet_port> | vlan <vid>]
3. To enable MPLS on the interface, enter:
mpls ip
4. To enable the RSVP-TE protocol for the interface, enter:
mpls protocol-rsvp
80
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure the LSP name
[no] mpls traffic-eng-lsp <LSP-name>
Table 45: Variable definitions
Variable
Value
[no]
<LSP-name>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the traffic engineering LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To specify the IP address for tunnel ingress, enter:
from <ingress-IP>
Configuration MPLS
October 2010
81
Value
<LSP-name>
<ingress-IP>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the egress address, enter:
[no] to <egress-IP>
Table 47: Variable definitions
Variable
Value
<LSP-name>
[no]
<egress-IP>
82
Configuration MPLS
October 2010
configure LSPs to use an explicit path. The LSP is then established only along the manually
configured path.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To enable or disable CSPF, enter:
{no-cspf | cspf}
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure CSPF status, enter:
{primary | secondary} {no-cspf | cspf}
Table 48: Variable definitions
Variable
Value
primary
secondary
no-cspf
cspf
Configuration MPLS
October 2010
83
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the traffic engineering path, enter:
mpls traffic-eng-path <path-name>
3. To configure hop, enter:
[no] hop-address <hop-address> [loose|strict]
Table 49: Variable definitions
Variable
Value
[no]
<hop-address>
loose
Specifies loose hops: the route taken form one router to the
next need not be a direct path: messages exchanged
between the two routers can pass through other routers.
strict
Specifies strict hops: the route taken from one router to the
next must be a directly connected path. This ensures that
routing is enforced on the basis of each link.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls-traffic-eng-lsp <LSP-name>
3. To associate an explicit route with the LSP, enter:
84
Configuration MPLS
October 2010
Value
[no]
primary
secondary
<path-name>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure route record list as an explicit route, enter:
[no] {primary | secondary} reuse-route-record
Table 51: Variable definitions
Variable
Value
[no]
primary
secondary
Configuration MPLS
October 2010
85
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To specify RSVP-TE LSP bandwidth, enter:
[no] [primary|secondary] {bandwidth <bandwidth> [k|m|g]}
Table 52: Variable definitions
Variable
Value
[no]
primary
secondary
Procedure steps
1. To enter the configuration mode, enter:
86
Configuration MPLS
October 2010
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the filter style, enter:
[no] {primary | secondary} filter {fixed | shared-explicit}
Table 53: Variable definitions
Variable
Value
primary
secondary
fixed
shared-explicit
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure retry limit, enter:
[no] {primary | secondary} retry-limit <1-65535>
Table 54: Variable definitions
Variable
primary
Configuration MPLS
Value
Specifies the primary LSP.
October 2010
87
Variable
Value
secondary
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the retry timer, enter:
[no] {primary | secondary} retry-timer <1-600>
Table 55: Variable definitions
Variable
Value
[no]
primary
secondary
<1-600>
Procedure steps
1. To enter the configuration mode, enter:
88
Configuration MPLS
October 2010
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the setup priority for RSVP-TE LSP, enter:
[no] {primary | secondary} setup-priority <0-7>
Table 56: Variable definitions
Variable
Value
[no]
primary
secondary
<0-7>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the hold priority, enter:
[no] {primary | secondary} hold-priority <0-7>
Table 57: Variable definitions
Variable
Value
[no]
primary
secondary
<0-7>
Configuration MPLS
October 2010
89
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the CSPF retry limit, enter:
[no] {primary | secondary} cspf-retry-limit <1-65535>
Table 58: Variable definitions
Variable
Value
[no]
primary
secondary
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure CSPF retry timer, enter:
[no] {primary | secondary} cspf-retry-timer <1-600>
90
Configuration MPLS
October 2010
Value
[no]
primary
secondary
<1-600>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the hop limit, enter:
[no] {primary | secondary} hop-limit <1-255>
Table 60: Variable definitions
Variable
Value
[no]
primary
secondary
<1-255>
Configuration MPLS
October 2010
91
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure label recording, enter:
[no] {primary | secondary} label-record
Table 61: Variable definitions
Variable
Value
[no]
primary
secondary
label-record
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure route recording, enter:
{primary|secondary} {no-record-route | record-route}
Table 62: Variable definitions
Variable
92
Value
primary
secondary
no-record-route
record-route
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To create an administrative group, enter:
[no] mpls admin-group <admin-group-name> <0-31>
Table 63: Variable definitions
Variable
Value
[no]
<admin-group-name>
<0-31>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [bundle <bundle-name> | ethernet <0/1-0/4> | vlan
<vid>]
3. To assign the interface to an administrative group, enter:
[no] mpls admin-group <admin-group-name>
Configuration MPLS
October 2010
93
Value
[no]
<admin-group-name>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the administrative groups to include in the LSP, enter:
[no] {primary | secondary} include-any <admin-group-name>
Table 65: Variable definitions
Variable
Value
[no]
primary
secondary
<admin-group-name>
94
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the administrative groups to exclude, enter:
[no] {primary | secondary} exclude-any <admin-group-name>
Table 66: Variable definitions
Variable
Value
[no]
primary
secondary
<admin-group-name>
Disabling affinity
Disable the use of sending out session attribute objects with resource affinity data.
With affinity enabled, the LSP can match desired attributes, represented by affinity bits, to link
attributes. This allows the LSP to include (include-any) or exclude (exclude-any) the configured
administrative groups in the LSP.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure affinity, enter:
{primary | secondary} {no-affinity | affinity}
Table 67: Variable definitions
Variable
Value
primary
secondary
Configuration MPLS
October 2010
95
Variable
Value
no-affinity
Disables affinity.
affinity
Enables affinity.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure one-to-one fast reroute protection, enter:
[no] primary fast-reroute protection one-to-one
Table 68: Variable definitions
Variable
[no]
Value
Disables one-to-one fast reroute protection.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
96
Configuration MPLS
October 2010
Value
Disables node protection.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the fast reroute bandwidth, enter:
[no] primary fast-reroute bandwidth <bandwidth>
Table 70: Variable definitions
Variable
Value
[no]
<bandwidth>
Procedure steps
1. To enter the configuration mode, enter:
Configuration MPLS
October 2010
97
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the administrative groups to include, enter:
[no] primary fast-reroute include-any <groupname>
Table 71: Variable definitions
Variable
Value
[no]
<groupname>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the administrative groups to exclude, enter:
[no] primary fast-reroute exclude-any <groupname>
Table 72: Variable definitions
Variable
98
Value
[no]
<groupname>
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure fast reroute setup priority, enter:
[no] primary fast-reroute setup-priority <0-7>
Table 73: Variable definitions
Variable
Value
[no]
<0-7>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the hold priority, enter:
[no] primary fast-reroute hold-priority <0-7>
Configuration MPLS
October 2010
99
Value
[no]
<0-7>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the fast reroute hop limit, enter:
[no] primary fast-reroute hop-limit <1-255>
Table 75: Variable definitions
Variable
Value
[no]
<1-255>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the LSP detour identification method, enter:
[no] detour-identification {path | sender-template}
100
Configuration MPLS
October 2010
Value
[no]
path
sender-template
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the extended tunnel ID, enter:
[no] ext-tunnel-id <A.B.C.D>
Table 77: Variable definitions
Variable
[no]
Configuration MPLS
Value
Deletes the extended tunnel ID.
October 2010
101
Variable
<A.B.C.D>
Value
IPv4 representation for extended tunnel ID.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To configure the LSP update method, enter:
update-type {make-before-break | break-before-make }
Table 78: Variable definitions
Variable
Value
make-before-break
break-before-make
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. Restart the LSP, enter:
102
Configuration MPLS
October 2010
traffic-eng-lsp-restart
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure hello exchanges with a specific neighbor, enter:
[no] neighbor <neighbor-IP-address>
Table 79: Variable definitions
Variable
Value
[no]
<neighbor-IP-address>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To specify the source address, enter, enter:
Configuration MPLS
October 2010
103
Value
[no]
<loopback-IP-address>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure explicit null labels, enter:
[no] explicit-null
Table 81: Variable definitions
Variable
[no]
Value
Disable explicit null labels.
Configuring Penultimate-Hop-Popping
With the PHP state set to enabled on the router (the default state), an egress router sends
either implicit null or explicit null labels for LSPs. If you disable PHP using the no-php command,
the egress router sends neither implicit null nor explicit null labels. Rather, it sends nonreserved labels (labels from the label pool range allotted to RSVP) to the upstream router.
Use the show rsvp command to display the status of Penultimate-Hop-Popping.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
104
Configuration MPLS
October 2010
router rsvp
3. To configure PHP, enter:
[php | no-php ]
Table 82: Variable definitions
Variable
Value
php
no-php
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To enable or disable loop detection, enter:
[no-loop-detection | loop-detection]
Table 83: Variable definitions
Variable
Value
loop-detection
no-loop-detection
Procedure steps
1. To enter the configuration mode, enter:
Configuration MPLS
October 2010
105
configure terminal
2. To specify the mpls tunnel-mode, enter, enter:
[no] mpls tunnel-mode {pipe | short-pipe | uniform}
Table 84: Variable definitions
Variable
Value
[no]
pipe
short-pipe
uniform
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the hello receipt, enter:
[no] hello-receipt
Table 85: Variable definitions
Variable
[no]
106
Configuration MPLS
Value
Disables hello receipt.
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the hello receipt, enter:
[no] rsvp hello-receipt
Table 86: Variable definitions
Variable
[no]
Value
Disables hello receipt.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the hello interval, enter:
[no] hello-interval <1-65535>
Configuration MPLS
October 2010
107
Value
Specifies the hello interval in seconds.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the hello interval, enter:
[no] rsvp hello-interval <1-65535>
Table 88: Variable definitions
Variable
Value
<1-65535>
[no]
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
108
Configuration MPLS
October 2010
router rsvp
3. To configure the Hello timeout, enter:
[no] hello-timeout <1-65535>
Table 89: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the Hello timeout, enter:
[no] rsvp hello-timeout <1-65535>
Table 90: Variable definitions
Variable
Value
[no]
<1-65535>
Configuration MPLS
October 2010
109
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the keep multiplier, enter:
[no] keep-multiplier <1-255>
Table 91: Variable definitions
Variable
Value
[no]
<1-255>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the keep multiplier, enter:
[no] rsvp keep-multiplier <1-255>
Table 92: Variable definitions
Variable
110
Value
[no]
<1-255>
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the refresh time, enter:
[no] refresh-time <1-65535>
Table 93: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the refresh time, enter:
Configuration MPLS
October 2010
111
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure refresh reduction advertisement, enter:
[no] refresh-reduction
Table 95: Variable definitions
Variable
[no]
Value
Disables refresh reduction capability advertisement.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure refresh reduction advertisement, enter:
112
Configuration MPLS
October 2010
Value
Disable refresh reduction capability advertisement on the
interface.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure message acknowledgement, enter:
[no] message-ack
Table 97: Variable definitions
Variable
[no]
Value
Disables message acknowledgement.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure message acknowledgement, enter:
[no] rsvp message-ack
Configuration MPLS
October 2010
113
Value
Disables message acknowledgement.
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To choose RSVP configuration mode, enter:
router rsvp
3. To configure the acknowledgement wait timeout, enter:
[no] ack-wait-timeout <1-65535>
Table 99: Variable definitions
Variable
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select an MPLS interface, enter:
interface [ bundle <bundle-name> | ethernet <0/1-0/4>]
3. To configure the acknowledgement wait timeout
114
Configuration MPLS
October 2010
Value
[no]
<1-65535>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the LSP, enter:
mpls traffic-eng-lsp <LSP-name>
3. To map a route to the LSP, enter:
[no] map-route <ipaddr/mask>
Table 101: Variable definitions
Variable
Value
[no]
<ipaddr/mask>
Configuration MPLS
October 2010
115
Procedure steps
To display the session-related information for LSPs, enter:
show mpls traffic-eng-lsp session [up|down] [detail]
Table 102: Variable definitions
Variable
Value
up
down
[detail]
Procedure steps
To display the LSP session count, enter:
show mpls traffic-eng-lsp session count
Procedure steps
To display the session-related information for egress router, enter:
116
Configuration MPLS
October 2010
Value
up
down
[detail]
Procedure steps
To display the session-related information for the specified router, enter:
show mpls traffic-eng-lsp session egress <A.B.C.D>
Table 104: Variable definitions
Variable
<A.B.C.D>
Value
IPv4 address of the router being specified as the egress
router.
Procedure steps
To display the session-related information for ingress router, enter:
show mpls traffic-eng-lsp session ingress [up|down] [detail]
Table 105: Variable definitions
Variable
Value
up
down
[detail]
Configuration MPLS
October 2010
117
Procedure steps
To display the session-related information for the specified router, enter:
show mpls traffic-eng-lsp session ingress <A.B.C.D>
Table 106: Variable definitions
Variable
<A.B.C.D>
Value
IPv4 address of the router being specified as the ingress
router.
Procedure steps
To display the session-related information for specific sessions, enter:
show mpls traffic-eng-lsp session <lsp-name> [primary |
secondary]
Table 107: Variable definitions
Variable
Value
<lsp-name>
primary
secondary
Procedure steps
To display the session-related information for specific sessions, enter:
118
Configuration MPLS
October 2010
Value
up
down
[detail]
Procedure steps
To clear enter:
clear mpls traffic-eng-lsp [ingress | non-ingress | all | <LSPname>]
Table 109: Variable definitions
Variable
Value
ingress
non-ingress
all
<LSP-name>
Configuration MPLS
October 2010
119
Value
Displays RSVP-TE information for the specified interface. If
this value is not specified, information for all interfaces is
displayed.
Value
Specifies the IPv4 address of the neighbor.
Procedure steps
To display the RSVP-TE statistics, enter:
120
Configuration MPLS
October 2010
Procedure steps
To display the RSVP version, enter:
show rsvp version
Procedure steps
To display the traffic engineering path, enter:
show mpls traffic-eng-path <path-name>
Table 112: Variable definitions
Variable
<path-name>
Value
Specifies the path name.
Procedure steps
To display the MPLS tunnel mode, enter:
Configuration MPLS
October 2010
121
Value
<session-tunnel-id>
all
122
Configuration MPLS
October 2010
Configuration MPLS
October 2010
123
124
Configuration MPLS
October 2010
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure a Layer 2 virtual circuit, enter:
[no] mpls l2-circuit <VC-name> <VC-ID> <peer-ip> [<VCgroupname>]
Table 114: Variable definitions
Variable
Value
<VC-name>
<VC-ID>
Configuration MPLS
October 2010
125
Variable
Value
<peer-ip>
[<VC-groupname>]
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the interface, enter:
interface ethernet <slot/port>
3. To configure the interface as a Layer 2 switchport, enter:
switchport
4. To configure the Layer 2 interface mode as L2VPN, enter:
switchport mode l2vpn
5. To bind the interface to the Layer 2 circuit, enter:
mpls l2-circuit <VC-name>
6. Configure the encapsulation for the bound interface:
encapsulation {ethernet | vlan}
Procedure steps
1. To enter the configuration mode, enter:
126
Configuration MPLS
October 2010
configure terminal
2. To select the interface, enter:
interface vlan vlan<vid>
3. To bind the interface to the Layer 2 circuit, enter:
mpls l2-circuit <VC-name>
4. Configure the encapsulation for the bound interface:
encapsulation {ethernet | vlan}
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To select the interface, enter:
interface bundle <wan-bundle>
3. Configure a link for the bundle:
link [t1 | e1 | ct3 | ds3 | serial | hssi] <slot/port>
4. Configure the encapsulation for the bundle:
encapsulation {hdlc | ppp}
5. To bind the interface to the Layer 2 circuit, enter:
mpls l2-circuit <VC-name>
6. To configure the encapsulation for the bound virtual circuit interface, enter:
encapsulation {hdlc | ppp}
Configuration MPLS
October 2010
127
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure a static FTN entry for a Layer 2 virtual circuit, enter:
[no] mpls static-l2-circuit-ftn <VC-ID> <label-out> <peerip> <incoming-l2-if-name> <outgoing-if-name>
Table 115: Variable definitions
Variable
Value
<VC-ID>
<label-out>
<peer-ip>
<incoming-l2-if-name>
<outgoing-if-name>
Procedure steps
1. To enter the configuration mode, enter:
configure terminal
2. To configure a static ILM entry for a Layer 2 virtual circuit, enter:
[no] mpls static-l2-circuit-ilm <VC-ID> <label-in> <peer-ip>
<incoming-if-name> <outgoing-l2-if-name>
128
Configuration MPLS
October 2010
Value
<VC-ID>
<label-in>
<peer-ip>
<incoming-if-name>
<outgoing-l2-if-name>
Procedure steps
To display the static Layer 2-circuit FTN entry, enter:
show mpls static-l2-circuit-ftn
Procedure steps
To display the static Layer 2-circuit ILM entry, enter:
show mpls static-l2-circuit-ilm
Procedure steps
To display the Layer 2-circuit virtual circuit summary, enter:
Configuration MPLS
October 2010
129
Procedure steps
To display the Layer 2 virtual circuit data, enter:
show mpls l2-circuit [<VC-name>]
Procedure steps
To display the Layer 2 virtual circuit group data
show mpls l2-circuit-group [<VC-group-name>]
Procedure steps
To display the Layer 2 virtual circuit statistics, enter:
show mpls stats-vc
Procedure steps
To display the Layer 2 virtual circuit table, enter:
show mpls table-vc
130
Configuration MPLS
October 2010
Procedure steps
To display the MPLS-enabled interfaces, enter:
show mpls interface
Procedure steps
To display the interface statistics, enter:
show mpls stats-interface
Configuration MPLS
October 2010
131
Common procedures
Procedure steps
To display the originating LSP statistics, enter:
show mpls stats-lsp
Procedure steps
To display the MPLS forwarding table, enter:
show mpls table-forwarding
Procedure steps
To display the incoming label map table, enter:
show mpls table-ilm
Procedure steps
To clear MPLS statistics, enter:
clear mpls statistics [ftn | ilm | interface | lsp | vc]
Table 117: Variable definitions
Variable
132
Value
ftn
ilm
Configuration MPLS
October 2010
Variable
Value
interface
lsp
vc
Clears VC Statistics
Configuration MPLS
October 2010
133
Common procedures
134
Configuration MPLS
October 2010
Refer to the following sections for instructions to configure the static LSPs shown in this
example.
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure an IP address for Ethernet 0/2, enter:
Configuration MPLS
October 2010
135
Configuration examples
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure an IP address for Ethernet 0/3, enter:
interface ethernet 0/3 ip address 192.168.0.1 16 exit
3. To configure an MPLS static FTN entry on Secure Router 4134 2, enter:
mpls static-ftn 192.168.3.0/24 1020 192.168.1.1 ethernet0/3
4. To configure an MPLS static ILM entry on Secure Router 4134 2, enter:
mpls static-ilm 1000 ethernet0/2 swap 1010 192.168.3.2
ethernet5/5
5. To display the configured static FTN entry, enter:
show mpls static-ftn
6. To display the configured static ILM entry, enter:
show mpls static-ilm
136
Configuration MPLS
October 2010
Procedure steps
1. Configuring loopback address:
interface loopback 0
ip address 192.168.0.10 32
exit
2. Configure the router-id:
router-id 192.168.0.10
3. Configure LDP at router level:
router ldp explicit-null exit
4. Configure LDP at interface level
interface bundle WAN1
link t1 2/1
encapsulation ppp
ip address 192.168.0.1 16
5. Enable MPLS at interface level:
mpls ip
6. Enable LDP at interface level:
Configuration MPLS
October 2010
137
Configuration examples
mpls protocol-ldp
exit
7. Configure OSPF:
router ospf 1
redistribute connected
network 192.168.0.0/16 area 0
exit
Refer to the following sections for instructions on how to configure the RSVP-TE LSPs for the
SR4134 1 and SR4134 2 shown in the preceding figure.
Procedure steps
1. To enter configuration mode, enter:
138
Configuration MPLS
October 2010
configure terminal
2. To configure a loopback address, enter:
interface loopback 0
ip address 192.168.1.10 255.255.255.255
exit
3. To configure the router-id, enter:
router-id 192.168.1.10
4. To configure RSVP at the router level, enter:
router rsvp
exit
5. To configure interface properties for LSP1, enter:
interface ethernet 0/2
ip address 192.168.1.1 16
6. To enable MPLS at the interface level, enter:
mpls ip
7. To enable RSVP at the interface level, enter:
mpls protocol-rsvp
exit
8. To configure RSVP LSP1, enter:
mpls traffic-eng-lsp LSP1
9. To specify the source address (usually the router-id), enter:
from 192.168.1.10
10. To specify the tunnel destination address, enter:
to 192.168.0.21
11. To map a route (FEC) to the LSP, enter:
map-route 10.3.0.0 16
exit
12. To configure OSPF on the router, enter:
router ospf 1
redistribute connected
network 192.168.1.0/16 area 0
exit
Configuration MPLS
October 2010
139
Configuration examples
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure a loopback address, enter:
interface loopback 1
ip address 192.168.0.21 255.255.255.255
exit
3. To configure the router-id, enter:
router-id 192.168.0.21
4. To configure RSVP at router level, enter:
router rsvp
exit
5. To configure interface properties for LSP2, enter:
interface ethernet 0/3
ip address 192.168.0.1 16
6. To enable MPLS at the interface level, enter:
mpls ip
7. To enable RSVP at the interface level, enter:
mpls protocol-rsvp
exit
8. To configure RSVP LSP2, enter:
mpls traffic-eng-lsp LSP2
9. To specify the source address (usually the router-id), enter:
from 192.168.0.21
10. To specify the tunnel destination address, enter:
to 192.168.1.10
11. To map route to the LSP, enter:
map-route 10.3.1.0 16
140
Configuration MPLS
October 2010
exit
12. To configure OSPF on the router, enter:
router ospf 2
redistribute connected
network 192.168.0.0/16 area 1
exit
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure the RSVP LSP with one-to-one fast reroute:
mpls traffic-eng-lsp LSP1
primary fast-reroute protection one-to-one
exit
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure the RSVP LSP with one-to-one fast reroute:
mpls traffic-eng-lsp LSP2
primary fast-reroute protection one-to-one
exit
Configuration MPLS
October 2010
141
Configuration examples
Procedure steps
1. To enter configuration mode, enter:
configure terminal
2. To configure an Ethernet module QoS policy map and class for redirection, enter:
qos module
policy-map rsvp-lsp
class-map pbr-interface
3. To configure rules to classify packets to be re-directed to the specified interface,
enter:
match ipv4 src-address 10.1.2.0/24
4. To redirect packets matching the class to a specific RSVP LSP, enter:
pbr-redirect lsp LSP1
pop
5. To apply the policy map to an Ethernet module interface, enter:
interface ethernet 6/12
qos module
service-policy input rsvp-lsp
6. To display the policy configuration, enter:
show qos module policy-map rsvp-lsp
142
Configuration MPLS
October 2010
Refer to the following sections for instructions to configure the pseudowire connections shown
in this example.
Configuration MPLS
October 2010
143
Configuration examples
144
Configuration MPLS
October 2010
Refer to the following sections for instructions to configure the pseudowire connections shown
in this example.
Configuration MPLS
October 2010
145
Configuration examples
146
Configuration MPLS
October 2010
interface WAN bundle (WAN1) is tunneled through PW1 and LSP1 to SR 2330/4134 2. The
PW1 and LSP1 use the chassis Ethernet Interface 0/4 for signaling.
Configuration MPLS
October 2010
147
Configuration examples
exit
9. To configure RSVP LSP1, enter:
mpls label-switching-lsp LSP1
to 2.2.2.2
exit
10. To configure OSPF, enter:
router ospf 1
network redistribute connected
network 90.2.0.0/16 area 0
exit
Refer to the following sections for instructions on how to configure the static pseudowire
connections shown in this example.
148
Configuration MPLS
October 2010
SR4134 1 configuration
Procedure steps
1. Configure an underlying LSP to SR4134 2, either using RSVP-TE, LDP, or static
LSP, as described in the preceding examples.
2. To configure an MPLS Layer 2-circuit PW, enter:
mpls l2-circuit PW1 100 192.168.0.21
3. To configure the WAN1 PPP bundle interface, enter:
interface bundle WAN1
link t1 2/2
encapsulation ppp
exit
4. To configure an MPLS static Layer 2-VPN FTN entry, enter:
mpls static-l2-circuit-ftn 100 1050 192.168.0.21 WAN1
ethernet0/2
5. To configure an MPLS static Layer 2-VPN ILM entry, enter:
mpls static-l2-circuit-ilm 100 1040 192.168.0.21 ethernet0/2
WAN1
6. To display the configured static Layer 2-VPN FTN entry, enter:
show mpls static-l2-circuit-ftn
7. To display the configured static Layer 2-VPN ILM entry, enter:
show mpls static-l2-circut-ilm
SR4134 2 configuration
Procedure steps
1. Configure an underlying LSP to SR4134 1, either using RSVP-TE, LDP, or static
LSP, as described in the preceding examples.
2. To configure an MPLS Layer 2-circuit PW, enter:
mpls l2-circuit PW1 100 192.168.1.10
3. To configure the WAN2 PPP bundle, enter:
interface bundle WAN2
link t1 2/2
Configuration MPLS
October 2010
149
Configuration examples
encapsulation ppp
exit
4. To configure an MPLS static Layer 2-VPN FTN entry, enter:
mpls static-l2-circuit-ftn 100 1040 192.168.0.10 WAN2
ethernet0/3
5. To configure an MPLS static Layer 2-VPN ILM entry, enter:
mpls static-l2-circuit-ilm 100 1050 192.168.0.10 ethernet0/3
WAN2
6. To display the configured static Layer 2-VPN FTN entry, enter:
show mpls static-l2-circuit-ftn
7. To display the configured static Layer 2-VPN ILM entry, enter:
show mpls static-l2-circut-ilm
150
Configuration MPLS
October 2010