Podcast
Questions and Answers
What mechanism does MPLS use to forward packets?
What mechanism does MPLS use to forward packets?
Which of the following is a benefit of using MPLS in terms of scalability?
Which of the following is a benefit of using MPLS in terms of scalability?
What is the role of Forwarding Equivalent Classes (FEC) in MPLS?
What is the role of Forwarding Equivalent Classes (FEC) in MPLS?
How does MPLS facilitate the separation of routing and forwarding functionalities?
How does MPLS facilitate the separation of routing and forwarding functionalities?
Signup and view all the answers
What is one way that MPLS can enhance quality of service (QoS) for packets?
What is one way that MPLS can enhance quality of service (QoS) for packets?
Signup and view all the answers
What issue related to IP over ATM does MPLS address?
What issue related to IP over ATM does MPLS address?
Signup and view all the answers
What does MPLS allow packets to do that normal routing algorithms can't?
What does MPLS allow packets to do that normal routing algorithms can't?
Signup and view all the answers
Which layer of switching speed does MPLS emulate?
Which layer of switching speed does MPLS emulate?
Signup and view all the answers
What does the Time to Live (TTL) field in an MPLS header indicate?
What does the Time to Live (TTL) field in an MPLS header indicate?
Signup and view all the answers
Which of the following best describes the function of a Label Switch Router (LSR)?
Which of the following best describes the function of a Label Switch Router (LSR)?
Signup and view all the answers
What does the 'S' bit in the MPLS header indicate?
What does the 'S' bit in the MPLS header indicate?
Signup and view all the answers
Which attribute is NOT a possible classification attribute for a packet in MPLS?
Which attribute is NOT a possible classification attribute for a packet in MPLS?
Signup and view all the answers
What is the purpose of label stacking in MPLS?
What is the purpose of label stacking in MPLS?
Signup and view all the answers
What is the role of an Edge Label Router (LER) within an MPLS network?
What is the role of an Edge Label Router (LER) within an MPLS network?
Signup and view all the answers
What does the Traffic Class (TC) field in an MPLS header influence?
What does the Traffic Class (TC) field in an MPLS header influence?
Signup and view all the answers
In which of the following scenarios is label stacking particularly useful?
In which of the following scenarios is label stacking particularly useful?
Signup and view all the answers
What is the primary purpose of the control plane in MPLS architecture?
What is the primary purpose of the control plane in MPLS architecture?
Signup and view all the answers
Which table is built in the control plane to store labels exchanged between devices?
Which table is built in the control plane to store labels exchanged between devices?
Signup and view all the answers
Which of the following protocols is NOT mentioned as a label exchange protocol in MPLS?
Which of the following protocols is NOT mentioned as a label exchange protocol in MPLS?
Signup and view all the answers
What type of forwarding does the data plane in MPLS primarily utilize?
What type of forwarding does the data plane in MPLS primarily utilize?
Signup and view all the answers
When does a packet get assigned to a particular Forwarding Equivalence Class (FEC) in MPLS?
When does a packet get assigned to a particular Forwarding Equivalence Class (FEC) in MPLS?
Signup and view all the answers
Which table does the ingress router typically use for incoming packets?
Which table does the ingress router typically use for incoming packets?
Signup and view all the answers
Which of the following statements about MPLS operation is true?
Which of the following statements about MPLS operation is true?
Signup and view all the answers
What is the purpose of the Label Forwarding Information Base (LFIB) in MPLS?
What is the purpose of the Label Forwarding Information Base (LFIB) in MPLS?
Signup and view all the answers
What role does the label play in the forwarding process of an MPLS packet?
What role does the label play in the forwarding process of an MPLS packet?
Signup and view all the answers
How does an ingress Label Edge Router (LER) determine which label values to use for a packet?
How does an ingress Label Edge Router (LER) determine which label values to use for a packet?
Signup and view all the answers
What happens to the label at each Label Switching Router (LSR) during the forwarding process?
What happens to the label at each Label Switching Router (LSR) during the forwarding process?
Signup and view all the answers
What characteristic defines a Label Switched Path (LSP) in MPLS?
What characteristic defines a Label Switched Path (LSP) in MPLS?
Signup and view all the answers
Which of the following statements about Label Distribution Protocols is true?
Which of the following statements about Label Distribution Protocols is true?
Signup and view all the answers
What is the main advantage of using explicit routing in MPLS?
What is the main advantage of using explicit routing in MPLS?
Signup and view all the answers
What do labels have in terms of their significance across the network?
What do labels have in terms of their significance across the network?
Signup and view all the answers
What is a consequence of using hop-to-hop routing in MPLS networks?
What is a consequence of using hop-to-hop routing in MPLS networks?
Signup and view all the answers
What is the primary function of the Label Distribution Protocol (LDP)?
What is the primary function of the Label Distribution Protocol (LDP)?
Signup and view all the answers
Which type of messages does the LDP use to announce and maintain the presence of a Label Switching Router (LSR) in the network?
Which type of messages does the LDP use to announce and maintain the presence of a Label Switching Router (LSR) in the network?
Signup and view all the answers
What limitation exists for LSPs established by LDP?
What limitation exists for LSPs established by LDP?
Signup and view all the answers
In which mode does LDP typically operate to establish a full mesh of tunnels between routers?
In which mode does LDP typically operate to establish a full mesh of tunnels between routers?
Signup and view all the answers
Which feature distinguishes RSVP-TE from LDP?
Which feature distinguishes RSVP-TE from LDP?
Signup and view all the answers
What is a significant consequence of using LDP in an MPLS network?
What is a significant consequence of using LDP in an MPLS network?
Signup and view all the answers
What type of message does LDP use to create, change, and delete mappings between labels and FECs?
What type of message does LDP use to create, change, and delete mappings between labels and FECs?
Signup and view all the answers
What role do Notification messages play in LDP?
What role do Notification messages play in LDP?
Signup and view all the answers
Study Notes
MPLS Benefits
- Offers level 2 switching speed at level 3.
- Routers use labels to forward packets, which is faster than searching for destination IP addresses.
- Enables the use of Forwarding Equivalent Classes (FECs) for packet classification, allowing for flexibility in traffic handling without affecting forwarding routers.
- Packet payloads are not examined by forwarding routers which allows for traffic encryption and the transport of multiple protocols.
- Eliminates the need for multiple layers, such as ATM and IP, which simplifies network design and management.
- Separates routing and forwarding, allowing for the development of new routing protocols without affecting forwarding mechanisms.
- Facilitates the division of network functionalities: packet processing at the edges and forwarding in core nodes.
- Improves routing scalability by allowing routers to maintain only paths to end routers, reducing the need for complete routing tables.
- Provides mechanisms to handle data flows of different granularities.
- Supports Quality of Service (QoS) features by assigning priority labels to packets.
- Enables explicit routing for traffic engineering, policy enforcement, and supporting given QoS.
MPLS Technology Elements
-
Forwarding Equivalent Classes (FEC):
- A group of packets that share the same transport requirements.
- Defined in RFC 3031 - traffic policy that classifies traffic based on conditions or attributes.
- Possible attributes for classification include:
- Source and destination subnetwork combination.
- Destination subnetwork and application type combination.
- Source or destination port number.
- Packet assignment to an FEC happens once when it enters the network, and packets from the same FEC receive the same forwarding treatment.
-
Label Characteristics:
- Label consists of 20 bits identifying a specific FEC.
- MPLS header is inserted between level 2 and level 3 headers.
- TC (Traffic Class) field (3 bits): Used for defining Class of Service (CoS) to influence packet discarding algorithms in network queues. Previously known as EXP (Experimental).
- S (Stack bit): Indicates the presence of a label stack. A value of 1 signifies the last label on the stack.
- Time to Live: Decreases with each MPLS node hop and is used for packet management, preventing loops.
-
Label Stacking:
- Enables hierarchical operations in MPLS.
- Facilitates MPLS tunnel operation modes.
- Last-In First-Out buffer of labels used by applications like TE, VLL, VPLS, and VPN.
- Packets passing through multiple MPLS networks can be labeled several times, creating a MPLS hierarchy.
- Benefits include:
- Hierarchical network scalability.
- Limiting the number of LSPs (Label Switched Paths) between routers.
- Support for MPLS VPNs.
MPLS Routers: Label Switch Routers
-
Label Switch Router (LSR): Any router aware of MPLS labels.
-
Edge LSR (LER) or PE (Provider Edge router): Found at the edges of an MPLS network.
- Assigns and deletes packet labels.
- Delete the last label when forwarding is based on level 3 address (at the egress LER).
- Ingress LER acts as the head-end LSR, while Egress LER acts as the tail-end LSR.
- Supports multiple ports for different networks (Frame Relay, ATM, Ethernet).
-
Core Label Switch Router (Core LSR) or LSR or P (Provider router): High-speed routers in the core of an MPLS network.
- Use the highest stacked label to determine the next hop and the label operation (swap, pop, push).
-
Edge LSR (LER) or PE (Provider Edge router): Found at the edges of an MPLS network.
MPLS Architecture: Control Plane
- Responsible for routing information exchange and label exchange between neighboring devices.
- Builds a routing table (RIB) based on routing protocols.
- Routing protocols like OSPF, IGRP, EIGRP, IS-IS, RIP, and BGP are used in the control plane for L3 routing management. (Routing Protocol -> RIB)
- Employs a label exchange protocol to manage internal label creation, maintenance, and exchange with other devices.
- The label exchange protocol binds labels to networks learned through routing protocols and maintains these labels in a LIB (Label Information Base) table within the control plane.
- Label exchange protocols include:
- MPLS LDP.
- Cisco Tag Distribution Protocol (TDP) - older protocol.
- BGP (Border Gateway Protocol) - for MPLS VPNs.
- RSVP (Resource Reservation Protocol) - used by MPLS TE to facilitate label exchange. ( Label exchange protocol -> LIB)
- Builds two forwarding tables:
- FIB (Forwarding Information Base): Generated from information in the RIB.
- LFIB (Label Forwarding Information Base): Built based on the label exchange protocol and RIB.
- The ingress router usually utilizes the FIB table for incoming packets, matching the destination IP to the best prefix (network) and assigning a label before forwarding.
- The LFIB table (core LSR) includes label values and associations with the outgoing interface for each network prefix.
MPLS Architecture: Data Plane
- Also known as the forwarding plane.
- Responsible for forwarding based on destination addresses or labels.
- Functions as a simple forwarding engine independent of the routing protocol or label exchange protocol in use.
- Forwards packets to the appropriate interface based on the information in the LFIB or FIB tables.
MPLS Operation
- Key points:
- Packet assignment to an FEC occurs only once upon entering the network.
- Packets receive labels before forwarding to the next hop.
- Label-driven forwarding.
- No further analysis of packet's network layer header at subsequent hops.
- Label serves as an index into a table specifying the next hop and a new label. The old label is swapped with the new label and the packet forwarded.
- Ingress LER identifies the egress LER and corresponding LSP (Label Switched Path) for packet delivery.
- The used label value corresponds to the LSP.
- Ingress LER uses either LDP (Label Distribution Protocol) or RSVP-TE signaling protocols to learn label values.
- Ingress LER inserts an MPLS header into a packet before forwarding, encoding the packet's FEC using the label within the header.
- Subsequent LSRs:
- Utilize the label as an index into a label forwarding table (LFIB) to determine the next hop and a new label.
- Replace the old label with the new one and forward the packet.
- Egress LSR strips the label and forwards the packet to its destination based on the IP packet header.
Label-Switched Paths (LSPs)
- A specific unidirectional path assigned to each FEC.
- Traffic in the opposite direction requires a separate LSP.
- To establish an LSP, each LSR must:
- Assign an incoming label to the LSP for the corresponding FEC (labels have local significance).
- Inform the upstream node of the assigned label.
- Learn the label assigned by the downstream node to the LSP.
- A label distribution protocol is required for an LSR to inform others about its label/FEC bindings.
- A label forwarding table is constructed as a result of label distribution.
- MPLS provides two methods for LSP creation:
- Hop-to-hop routing: Each LSR independently selects the next hop for each FEC. Supports any routing protocol (OSPF, etc.).
-
Explicit routing: Similar to source routing. The ingress LSR defines the nodes that the packet must traverse through.
- Advantages:
- Flexibility in operator routing (policy-based, QoS-based).
- Ability to utilize routes other than the shortest path.
- Computation of routes based on constraints from a distributed topology database (traffic engineering).
- Advantages:
Label Exchange
- Requires a signaling protocol:
- LDP (Label Distribution Protocol): Creates Best Effort LSPs (BE). Does not support TE (Traffic Engineering).
-
RSVP-TE: Enables reservation of channels for large bandwidth transmissions.
- Originally for resource reservation, extended to propagate labels.
- Supports TE.
- CR-LDP (Constraint-Based Routing of LSPs): LDP extended to support constraints (TE).
Label Distribution Protocol (LDP)
- Application-level protocol for label relation distribution in LSRs (RFC 3036).
- Establishes LSPs by binding FECs to labels, building forwarding tables that map incoming and outgoing labels.
- LDP sessions are established between LDP pairs in the MPLS network (not necessarily adjacent, but LDP peers).
- LDP-established LSPs always follow the IGP shortest path (such as OSPF).
- Limited to the scope of the IGP, unable to traverse autonomous systems boundaries.
- Synchronization between IGP and LDP is necessary.
-
LDP Message types:
- Discovery messages: Announce and maintain LSR presence in a network (Hello packets).
- Session messages: Establish, maintain, and end sessions between LDP pairs.
- Advertisement messages: Create, modify, and delete label/FEC mappings.
- Notification messages: Convey signal errors.
LDP Operation
- Label distribution ensures that adjacent routers have a common view of FEC label bindings.
Label Distribution Modes
- LDP is used for establishing MPLS transport LSPs when traffic engineering is not required.
- Establishes LSPs that adhere to the existing IP routing table, particularly suitable for full mesh of LSPs among network routers.
- Operates in various modes to suit different requirements, the most common being unsolicited mode, which creates a full mesh of tunnels between routers.
-
Solicited Mode:
- Ingress router sends an LDP label request to the next hop router based on its IP routing table.
- The request is forwarded hop-by-hop through the network.
- Upon reaching the egress router, a return message is generated.
- The message confirms the LSP and informs each neighbor router about the label mapping to use on each link for that LSP.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Explore the advantages of MPLS in modern networking. This quiz covers essential benefits such as fast packet forwarding, traffic flexibility, and improved network design. Understand how MPLS allows for better scalability and supports multiple protocols with minimal complexity.