Professional Documents
Culture Documents
MPLS Overview
MPLS Overview
MPLS Overview
Overview
Jay Kumarasamy
jayk@cisco.com
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Day in the Life of a Packet
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Summary
ATM Cell Header GFC VPI VCI PTI CLP HEC DATA
Label
Label
2001 Cisco Systems, Inc.
www.cisco.com 9
Agenda
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Day in the Life of a Packet
171.68.40/24 171.68.10/24
Rtr-A Rtr-B Rtr-C
171.68.40/24 171.68.10/24
Rtr-A Rtr-B Rtr-C
In In Address Out Out In In Address Out Out
I/F Lab Prefix I/F Lab I/F Lab Prefix I/F Lab
0 - 171.68.10 1 30 0 30 171.68.10 1 40 In In Address Out Out
I/F Lab Prefix I/F Lab
... ... ...
Next-Hop... ... ... ... ...
Next-Hop... ... 0 40 171.68.10 1 -
... ... ...
Next-Hop... ...
171.68.10/24
171.68.40/24 Rtr-A Rtr-B Rtr-C
• LDP
Maps unicast IP destinations into labels
• RSVP, CR-LDP
Used in traffic engineering
• BGP
External labels (VPN)
• PIM
For multicast states label mapping
2001 Cisco Systems, Inc.
www.cisco.com 17
Agenda
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Day in the Life of a Packet
LSP follows IGP shortest path LSP diverges from IGP shortest path
171.68.44/24
Use label 4 for Use label “implicit-null”
FEC 171.68/16 for FEC 171.68/16
171.68.10/24
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Summary
2001 Cisco Systems, Inc.
www.cisco.com 22
ATM LSRs
• ATM switches forward cells, not packets
• Label Dist is Downstream on-demand, Ordered
• IGP label is carried in the VPI/VCI field
• Merging LSR:
Ability to use the same label for different FECs if outgoing
interface is the same
Save label space on ATM-LSRs
Cell interleave problem
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Summary
2001 Cisco Systems, Inc.
www.cisco.com 26
Loops and TTL
Label =
39
IP packet
TTL = 6
LSR-6
LSR-6 --> 25
Label =
Hops=4 21 IP
IP packet packet
IGP domain with a label TTL = 6 TTL = 6 Egress
distribution protocol LSR-4 LSR-5
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Day in the Life of a Packet
2001 Cisco Systems, Inc.
www.cisco.com 30
LDP Concepts
• Discovery messages
• Used to discover and maintain the presence of
new peers
• Hello packets (UDP) sent to all-routers multicast
address
• Once neighbor is discovered, the LDP session is
established over TCP
• Session messages
• Establish, maintain and terminate LDP sessions
• Advertisement messages
• Create, modify, delete label mappings
• Notification messages
• Error signalling
• MPLS Concepts
• LSRs and labels
• Label assignment and distribution
• Label Switch Paths
• ATM LSRs
• Loops and TTL
• LDP overview
• Day in the Life of a Packet
1 P1 P 2 0
PE
PE 0 0
Use label “implicit-null”
0 Use label 4 for Use label 7 for for FEC 171.68/16
FEC 171.68/16 FEC 171.68/16
171.68.10/24
R outing E xchange
IP R outing P rotocols
IP R outing T able
Label R em oved
L3 lookup
O utgoing IP P ackets
Incom ing IP P ackets
Forward Inform ation B lock (FIB )
Forwarding P lane
2001 Cisco Systems, Inc.
www.cisco.com 36
Day in the life of a Packet
Database Layout
OSPF IS IS BGP LD P
FIB
fas t-adjac enc y
inc om ing-tag
fas ttag-rew rite
tag_rew rite [ ]
tag_info
tag_has h
D es t. IP addres s
tag_rew rite
ID B v ectors
output-if TFIB
enc aps tfib_entry ip_turbo_fs
tfib_entry
inc om ing-tag tag_rew rite tag_optim um _fs
loadinfo tfib_entry
outgoing-tag ip2_tag_optim um _fs
tag_info tfib_entry
IP
no
rew rite - Output QoS Classification
info, do - S etting output QoS m arking
Layer-3 - Do output rate-lim it/policing
M P LS lookup
- Platform specific W RE D
done in the final transm it transm it
path packet