0% found this document useful (0 votes)
27 views48 pages

Label Distribution Protocol

Uploaded by

Pak Chann
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views48 pages

Label Distribution Protocol

Uploaded by

Pak Chann
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 48

Label Distribution Protocol

Multiprotocol Label Switching

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-1
Objectives
• Describe LDP is the protocol used to exchange the MPLS labels
• Describe how LDP neighbor adjacency is established
• Describe the LDP Link Hello Message
• Describe the LDP Session Negotiation
• Describe the use of the LDP Targeted Hello Message to form LDP
neighbor adjaceny between non directly connected LSRs
• Describe LDP Session Protection using a backup targeted hello
• Describe LDP Graceful Restart and NonStop Routing (NSR)
• Describe how the forwarding structures used by MPLS are
populated
• Explain the LSP
• Explain the MPLS Label Allocation and Distribution process
• Show how IP packets are propagated across an MPLS domain
• Define the steady state condition when all the labels are exchanged
by LDP and the LIBs, LFIBs and FIBs are completely populated
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-2
Objectives (Cont.)
• Explain Label Advertisement Control and Label Acceptance Control
• Explain the how IP Aggregation in the core can break an LSP into two
segments
• Describe loop detection using the MPLS TTL field
• Describe the disabling of TTL propagation to hide the core routers in the
MPLS domain
• Show a steady state condition in the MPLS domain
• Show how a link failure is managed in an MPLS domain
• Show how a link recovery is managed in an MPLS domain
• Describe the three IP switching mechanisms (Process Switching, Fast
Switching and Cisco Express Forwarding)
• Explain the sequence of events that occurs when process switching and
fast switching are used for destinations that are learned through BGP
• Explain the sequence of events that occurs when CEF switching is used
for destinations that are learned through BGP
• Describe CEF on Cisco IOS XE and Cisco IOS XR platforms
• Describe the show commands used to monitor CEF operations
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-3
Label Distribution Protocol
• MPLS introduces a label field that is used for forwarding decisions.
• Although labels are locally significant, they must be advertised to
directly reachable peers.
- Option 1 is to include this parameter in existing IP routing protocols.
- Option 2 is to create a new protocol to exchange labels.
• The second option has been used, because there are too many existing
IP routing protocols that would have to be modified to carry labels.
• The new protocol is called Label Distribution Protocol (LDP).

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-4
LDP Neighbor Session Establishment

MPLS/IP
UDP: Hello

TCP: Labels

• LDP establishes a session in two steps:


- Hello messages are periodically sent on all MPLS-enabled interfaces.
- MPLS-enabled routers respond to received hello messages by attempting to
establish a session with the source of the hello messages.
• An LDP link hello message is a UDP packet that is sent to the “all
routers on this subnet” multicast address (224.0.0.2 or FF02::2).
• TCP is used to establish the session.
• Both TCP and UDP use well-known LDP port number 646.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-5
LDP Link Hello Message
IP Header UDP Header LDP Hello Message

Source Address = 1.0.0.1 Source Port = 1050


Transport Address = 1.0.0.1 LDP ID = 1.0.0.1:0
Destination Address = 224.0.0.2 Destination Port = 646

Well-Known Multicast IP Well-Known Port Optional TLV Used to 6-Byte TLV Identifying
Address Identifying All Number Identify Source IP Router and Label
Routers on Subnet Used for LDP Address for LDP Session Space

• Hello messages are sent to all routers that are reachable through an
interface.
• LDP uses well-known port number 646 with UDP for hello messages.
• A 6-byte LDP identifier (TLV) identifies the router
(first 4 bytes) and label space (last 2 bytes).
• The source address that is used for an LDP session can be set by
adding the transport address TLV to the hello message.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-6
LDP Neighbor Discovery

• An LDP session between two neighbors is established from the router


with the higher IP address

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-7
LDP Session Negotiation

• Peers first exchange initialization messages.


• The session is ready to exchange label mappings after receiving the first
keepalive.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-8
LDP Discovery of Nonadjacent Neighbors
• LDP neighbor discovery of nonadjacent neighbors differs from normal
discovery only in the addressing of hello packets:
- Hello packets use unicast IP addresses instead of multicast addresses.
• When a neighbor is discovered, the mechanism to establish a session
is the same

Targeted
Hello
Primary Link

Link Hello

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-9
LDP Session Protection
R2

Targeted
R1 R3
Traffic Hello
Primary Link
X
Link Hello
Session

• When a link comes up, IP converges earlier and much faster than MPLS LDP:
- This may result in MPLS traffic loss until MPLS convergence.
• The LDP session protection minimizes traffic loss, provides faster
convergence, and protects existing LDP (link) sessions.
• Backup targeted hellos maintain LDP sessions when primary link adjacencies
go down.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-10
LDP Graceful Restart and Nonstop Routing
• LDP graceful restart provides a control plane mechanism to ensure high
availability and allows detection and recovery from failure conditions
while preserving NSF services.
• Graceful restart recovers from control plane failures without impacting
forwarding.
• Without LDP graceful restart, when an established session fails, the
corresponding forwarding states are cleaned immediately from the
restarting and peer nodes:
- In this example, LDP forwarding restarts from the beginning, causing a
potential loss of data and connectivity.
• LDP NSR functionality makes failures, such as RP failover, invisible to
routing peers with minimal to no disruption of convergence performance.
• LDP NSR does not require protocol extensions and does not force
software upgrades on other routers in the network.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-11
Forwarding Structures
• Forwarding structures that are used by MPLS need to be populated.
• The FIB is populated two ways:
- A routing table, which is populated by a routing protocol
- An MPLS label that is added to the FIB by LDP
• The LFIB is populated by LDP.
• LDP is responsible for the advertisement and redistribution of MPLS
labels between MPLS routers.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-12
Label-Switched Path
• An LSP is a sequence of LSRs that forwards labeled packets of a
certain forwarding equivalence class.
- MPLS unicast IP forwarding builds LSPs based on the output of IP routing
protocols.
- LDP advertises labels only for individual segments in the LSP.
• LSPs are unidirectional.
- Return traffic uses a different LSP (usually the reverse path because most
routing protocols provide symmetrical routing).
• An LSP can take a different path from the one chosen by an IP routing
protocol (MPLS TE).

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-13
LSP Building

• The IP routing protocol determines the path.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-14
LSP Building (Cont.)
C F Network X
A
LIB (G)
D
Network LSR Label
X Local 34
77 16

p
po
34 I X I pop

LFIB (D)
In Out Next Hop
B
G 34 pop I

LIB (A)
E H
Network LSR Label
X Local 33 LIB (B) LIB (D)
X B 77 Network LSR Label Network LSR Label
X Local 77 X Local 16
X D 16 X G 34
LFIB (A)
In Out Next Hop LFIB (B) LFIB (D)
33 77 B In Out Next Hop In Out Next Hop
77 16 D 16 34 G

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-15
Label Allocation and Distribution
Label allocation and distribution in a MPLS network follows
these steps:
1. IP routing protocols build the IP routing table.
2. Each LSR assigns a label to every destination in the IP routing table
independently.
3. LSRs announce their assigned labels to all other LSRs.
4. Every LSR builds its LIB, LFIB, and FIB data structures based on
received labels.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-16
Label Allocation
Label for X is 21 Label for X is 25 Label for X is 34 Label for X is POP
IP
MPLS/IP
A B C D
Network X

Edge LSR LSR LSR Edge LSR

• Each router generates a label for each network in a routing table:


- Labels have local significance.
- Label allocation is asynchronous.
• For path discovery and loop avoidance, LDP relies on routing protocols.
• Networks originating on the outside of the MPLS domain are not
assigned any label on the edge LSR; instead, the POP label is
advertised.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-17
Label Advertisement
1. Router B allocates, stores,
and advertises the label.
FIB (B) LFIB (B) LIB (B)
XC In Out Next Hop Network LSR Label
IP
MPLS/IP 25 Untag C X Local 25
A B C D
X = 25 X = 25
Network X

Edge LSR LSR LSR Edge LSR

FIB (A) LFIB (A) LIB (A)


2. Router A allocates,
X  B  25 In Out Next Hop Network LSR Label stores, and advertises the
21 25 B X Local 21 label. It also receives a label
X B 25 from B and stores it.

• A router that receives a label from a next hop also stores the label
in the FIB.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-18
Label Advertisement (Cont.)
4. Router B receives a label
from C and stores it.

FIB (B) LFIB (B) LIB (B)


X  C  34 In Out Next Hop Network LSR Label
IP 25 34 C X Local 25
MPLS/IP X C 34
A B C D
X = 34 X = 34
Network X

Edge LSR LSR LSR Edge LSR

FIB (C) LFIB (C) LIB (C)

3. Router C allocates, XD In Out Next Hop Network LSR Label


stores, and advertises the 34 Untag D X Local 34
label. It also receives and X B 25
stores a label from B.

• A router stores a label from a neighbor, even if the neighbor is not a next
hop for a destination.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-19
Label Advertisement (Cont.)
5. Router D advertises
POP for network X.

FIB (D) LFIB (D) LIB (D)


X  Conn In Out Next Hop Network LSR Label

IP X Local POP
MPLS/IP
A B C D
X = POP
Network X

Edge LSR LSR LSR Edge LSR

FIB (C) LFIB (C) LIB (C)


6. Router C allocates,
XD In Out Next Hop Network LSR Label
stores, and advertises the
label. It also receives a label 34 POP D X Local 34
from B and stores it. X B 25
X D POP

• Networks originating on the outside of the MPLS domain are not


assigned any label on the edge LSR; instead, the POP label is
advertised.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-20
Packet Propagation
4. IP lookup is
2. Label lookup is performed performed in the FIB.
in the LFIB. Label is switched. Network X is directly
connected.
LFIB (B)
FIB (D)
In Out Next Hop
X  Conn
IP 25 34 C
MPLS/IP
A B C D
IP: X X = 25 X = 34 IP: X
Network X

Edge LSR LSR LSR Edge LSR


FIB (A)
LFIB (C)
X  B  25
In Out Next Hop
34 POP D
1. IP lookup is performed in
the FIB. Packet is labeled.
3. Label lookup is performed
in the LFIB. Label is removed.

• PHP optimizes MPLS performance by eliminating one LFIB lookup on


router D.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-21
Packet Propagation Without PHP
2. Label lookup is performed 4. Label lookup is 5. IP lookup is
in the LFIB. Label is switched. performed in the LFIB. performed in the FIB.
Label is removed. Network X is directly
connected.
LFIB (B)
In Out Next Hop LFIB (D) FIB (D)
25 34 C In Out X  Conn
IP 47 pop
MPLS/IP
A B C D
IP: X X = 25 X = 34 X = 47
Network X

Edge LSR LSR LSR Edge LSR


FIB (A)
LFIB (C)
X  B  25
In Out Next Hop
34 47 D
1. IP lookup is performed in
the FIB. Packet is labeled.
3. Label lookup is performed
in the LFIB. Label is switched.

• PHP optimizes MPLS performance by eliminating one LFIB lookup on


router D.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-22
Steady State
• Steady state occurs after all the labels are exchanged and LIB, LFIB,
and FIB structures are completely populated.
• It takes longer for LDP to exchange labels than it takes for a routing
protocol to converge.
• There is no network downtime before the LDP fully exchanges labels.
• In the meantime, packets can be routed using FIB, if labels are not yet
available.
• After the steady state is reached, all packets are label-switched, except
on the ingress and egress routers.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-23
Label Control
Label Advertisement Control:
• For scalability and security reasons
• LDP configured to perform outbound filtering for local label
advertisement, for one or more prefixes to one more peers
• Also referred to as LDP outbound

Label Acceptance Control:


• For security reasons, or to conserve memory
• A label binding acceptance configured for a set of prefixes from a
given peer
• Also referred to as LDP inbound label filtering

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-24
Impact of IP Aggregation on LSPs
Aggregation
Point
10.1.0.0/16 10.1.0.0/16 10.1.1.0/24 10.1.1.0/24 IGP

10.1.1.0/24 10.1.1.0/24 10.1.1.0/24


LDP
L = 55 L= 33 L = pop

10.1.0.0/16 10.1.0.0/16
L = 23 L= pop
IP
MPLS/IP
A B C D E

10.1.1.0/24

Edge LSR LSR LSR Edge LSR

23 10.1.1.1 10.1.1.1 33 10.1.1.1 10.1.1.1


IP lookup is performed in the FIB
on router C. IP packet is routed.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-25
Impact of IP Aggregation on LSPs (Cont.)
• IP aggregation breaks an LSP into two segments.
• Aggregation should not be used where end­to­end LSPs are required;
these are some examples:
- MPLS VPNs
- MPLS TEs
- MPLS-enabled ATM network
- Transit BGP where the core routers are not running BGP

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-26
Loop Detection
• LDP relies on loop detection mechanisms that are built into the IGPs
that are used to determine the path.
• If, however, a loop is generated (that is, misconfiguration with static
routes), the TTL field in the label header is used to prevent the
indefinite looping of packets.
• TTL functionality in the label header is equivalent to TTL in the IP
headers.
• TTL is usually copied from the IP headers to the label headers
(TTL propagation).

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-27
Normal TTL Operation
The TTL is decreased IP The TTL is decreased
and copied into the
Label and copied back into The
label header. TTL TTL TTL field of the IP header.

IP
A B C D
5 4 4 3 4 2

Edge LSR LSR LSR Edge LSR


Only the TTL in the top-
of-stack entry is modified.

• Cisco routers have TTL propagation enabled by default.


• On ingress, the TTL is copied from the IP header to the label header.
• On egress, the TTL is copied from the label header to the IP header.
• Labeled packets are dropped when the TTL is decreased to 0.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-28
Disabling TTL Propagation
• TTL propagation can be disabled.
• The IP TTL value is not copied into the TTL field of the label, and the
label TTL is not copied back into the IP TTL.
• Instead, the value 255 is assigned to the label header TTL field on the
ingress LSR.
• Disabling TTL propagation hides core routers in the MPLS domain.
• Traceroute across an MPLS domain does not show any core routers.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-29
Impact of Disabling TTL Propagation
• Traceroute across an MPLS domain does not show core routers.
• TTL propagation must be disabled on all label switch routers.
• Mixed configurations (some LSRs with TTL propagation enabled and
some LSRs with TTL propagation disabled) could result in faulty
traceroute output.
• TTL propagation can be enabled for forwarded traffic only.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-30
Steady State Operation
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X C X C 47
IP
MPLS/IP
A B C D

Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label
E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 47 C

• Steady state occurs after the LSRs have exchanged the labels and the
LIB, LFIB, and FIB data structures are completely populated.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-31
Link Failure Actions
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X C X C 47
IP
MPLS/IP
A B C D

X Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label
E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 47 C

• Routing protocol neighbors and LDP neighbors are lost after a link
failure.
• Entries are removed from various data structures.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-32
Routing Protocol Convergence
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X E X E --
IP
MPLS/IP
A B C D

X Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 47 C

• Routing protocols rebuild the IP routing table and the IP forwarding


table.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-33
MPLS Convergence
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X E X E 75
IP
MPLS/IP
A B C D

X Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label
E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 75 E

• The LFIB and labeling information in the FIB are rebuilt immediately
after the routing protocol convergence, based on labels stored in the
LIB.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-34
MPLS Convergence After a Link Failure
• MPLS convergence in frame-mode MPLS does not affect the overall
convergence time.
• MPLS convergence occurs immediately after the routing protocol
convergence, based on the labels that are already stored in the LIB.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-35
Link Recovery
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X E X E 75
IP
MPLS/IP
A B C D

Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label
E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 75 E

• Routing protocol neighbors are discovered after a link recovery.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-36
Link Recovery (Cont.)
Routing Table (B) FIB (B)
Network Next Hop Network LSR Label
X C X C 47
IP
MPLS/IP
A B C D

Network X

Edge LSR LSR LSR Edge LSR

LIB (B)
Network LSR Label
E
X Local 25 LFIB (B)
X C 47 In Out Next Hop
X E 75 25 47 C

• IP routing protocols rebuild the IP routing table.


• The FIB and the LFIB are also rebuilt, but the label information might be
lacking.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-37
Link Recovery: MPLS Convergence
• Routing protocol convergence optimizes the forwarding path after a link
recovery.
• The LIB might not contain the label from the new next hop by the time
the IGP convergence is complete.
• End-to-end MPLS connectivity might be intermittently broken after link
recovery.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-38
Evolution of Switching Mechanisms
The Cisco IOS platform supports three IP switching mechanisms:
• Routing table-driven switching—process switching
- Full lookup for every packet
• Cache-driven switching—fast switching
- Most recent destinations entered in the cache
- First packet always process-switched
• Topology-driven switching
- Cisco Express Forwarding (prebuilt FIB table)

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-39
Cisco Express Forwarding
Cisco IOS XE Software:
• Label switching requires that Cisco Express Forwarding be enabled on
the router.
• Cisco Express Forwarding requires a software image that includes
Cisco Express Forwarding and IP routing enabled on the device.
• Cisco Express Forwarding is enabled by default on the Cisco ASR 1000
Series Aggregation Services Routers.
Router# show ip cef
Prefix Next Hop Interface
[...]
10.2.61.8/24 192.168.100.1 FastEthernet1/0/0
192.168.101.1 FastEthernet2/1/0

• Reveals if Cisco Express Forwarding is enabled by default on your


platform.
• If not, enable it with ip cef command.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-40
Cisco Express Forwarding
Cisco IOS XR Software:
• Label switching on a Cisco router requires that Cisco Express
Forwarding be enabled.
• Cisco Express Forwarding is mandatory for Cisco IOS XR
software, and it does not need to be enabled explicitly.
• Cisco Express Forwarding offers these benefits:
- Improved performance
- Scalability
- Resilience

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-41
Standard IP Switching

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-42
Cisco Express Forwarding Switching

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-43
Monitoring IPv4 Cisco Express Forwarding

RP/0/RSP0/CPU0:PE1# show cef ipv4 192.168.178.0/24 detail


Mon Oct 24 07:05:52.465 UTC
192.168.178.0/24, version 1, attached, connected, internal 0xc0000c1 (ptr 0xad95
8254) [1], 0x0 (0xacf50cb0), 0x0 (0x0)
Updated Oct 20 21:36:09.871
remote adjacency to GigabitEthernet0/0/0/1
Prefix Len 24, traffic index 0, precedence routine (0)
gateway array (0xaccf8560) reference count 1, flags 0x0, source rib (4),
[2 type 3 flags 0x10101 (0xace24758) ext 0x0 (0x0)]
LW-LDI[type=3, refc=1, ptr=0xacf50cb0, sh-ldi=0xace24758]
via GigabitEthernet0/0/0/1, 4 dependencies, weight 0, class 0 [flags 0x8]
path-idx 0
remote adjacency

Load distribution: 0 (refcount 2)

Hash OK Interface Address


0 Y GigabitEthernet0/0/0/1 remote

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-44
Summary
• MPLS uses LDP to exchange labels.
• UDP multicast is used to discover adjacent LDP neighbors, while TCP
is used to establish a session.
• LDP link hello message contains destination IP address, destination
port and the actual hello message.
• LDP session negotiation is a three-step process.
• An MPLS-enabled router can be configured to send a directed LDP
hello message as a unicast UDP packet that is specifically addressed
to the nonadjacent router.
• LDP session protection lets you configure LDP to automatically protect
sessions with all or a given set of peers.
• LDP graceful restart provides a control plane mechanism to ensure
high availability and allows detection and recovery from failure
condition.
• MPLS uses two forwarding structures which have to be populated
using routing protocol and LDP.
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-45
Summary (Cont.)
• A label-switched path (LSP) is a sequence of LSRs that forwards
labeled packets for a particular Forwarding Equivalence Class (FEC).
• Labels are generated locally and then advertised to adjacent routers.
• PHP optimizes MPLS performance (one less LFIB lookup).
• MPLS is fully functional when the routing protocol and LDP have
populated all the tables. Such a state is called the steady state.
• You can configure LDP to perform outbound filtering for local label
advertisement for one or more prefixes to one or more LDP peers.
• Route summarization in an MPLS-enabled networks breaks LSP into
two paths.
• The TTL functionality in MPLS is equivalent to that of traditional IP
forwarding.
• TTL propagation can be disabled to hide the core routers from the end
users.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-46
Summary (Cont.)
• Although it takes longer for LDP to exchange labels (compared with an
IGP), a network can use the FIB table in the meantime.
• Link recovery requires that an LDP session be established (or
reestablished), which adds to the convergence time of LDP.
• The Cisco IOS platform supports three IP switching mechanisms:
process switching, fast switching, and CEF.
• In standard IP switching, the first packet that arrives is process
switched and all subsequent packets are fast switched.
• In CEF switching, the FIB table is built in advance before a packet for
a destination is received.
• On IOS and IOS XE, CEF is required for MPLS.
• CEF is enabled on Cisco IOS XR and cannot be disabled.
• To monitor CEF, you can use various show commands.

© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-47
© 2012 Cisco and/or its affiliates. All rights reserved. SPCORE v1.01—1-48

You might also like