Podcast
Questions and Answers
What type of packets do Targeted Hello messages use?
What type of packets do Targeted Hello messages use?
What is the purpose of a Targeted Hello message?
What is the purpose of a Targeted Hello message?
What is the role of the LSR with the larger transport address in LDP session establishment?
What is the role of the LSR with the larger transport address in LDP session establishment?
What is sent by LSRA to LSRB after the TCP connection is established?
What is sent by LSRA to LSRB after the TCP connection is established?
Signup and view all the answers
What happens if LSRB rejects some parameters in the Initialization message?
What happens if LSRB rejects some parameters in the Initialization message?
Signup and view all the answers
What is the purpose of the Keepalive message in LDP session establishment?
What is the purpose of the Keepalive message in LDP session establishment?
Signup and view all the answers
What is the role of the LSR with the smaller transport address in LDP session establishment?
What is the role of the LSR with the smaller transport address in LDP session establishment?
Signup and view all the answers
What is negotiated in the Initialization message?
What is negotiated in the Initialization message?
Signup and view all the answers
What is the purpose of targeted Hello messages in MPLS LDP sessions?
What is the purpose of targeted Hello messages in MPLS LDP sessions?
Signup and view all the answers
What happens to the LDP session when the links between neighbor LSRs go down?
What happens to the LDP session when the links between neighbor LSRs go down?
Signup and view all the answers
How do Router 1 and Router 2 exchange targeted Hello messages?
How do Router 1 and Router 2 exchange targeted Hello messages?
Signup and view all the answers
What is the default behavior of an LSR regarding targeted Hello messages?
What is the default behavior of an LSR regarding targeted Hello messages?
Signup and view all the answers
What is the purpose of the mplsldp discovery targeted-hello accept command?
What is the purpose of the mplsldp discovery targeted-hello accept command?
Signup and view all the answers
Which router mandates the protocol used for a targeted session?
Which router mandates the protocol used for a targeted session?
Signup and view all the answers
What is LDP session protection?
What is LDP session protection?
Signup and view all the answers
What happens when a link directly connecting the LSRs comes back up?
What happens when a link directly connecting the LSRs comes back up?
Signup and view all the answers
What does the transit LSR do with the mapping in the Label Mapping message?
What does the transit LSR do with the mapping in the Label Mapping message?
Signup and view all the answers
What is the purpose of a proxy egress LSP?
What is the purpose of a proxy egress LSP?
Signup and view all the answers
What happens when penultimate hop popping (PHP) is enabled?
What happens when penultimate hop popping (PHP) is enabled?
Signup and view all the answers
What type of LDP session is established between routers that are not directly connected?
What type of LDP session is established between routers that are not directly connected?
Signup and view all the answers
What is the purpose of a targeted Hello message?
What is the purpose of a targeted Hello message?
Signup and view all the answers
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What is the purpose of LDP?
What is the purpose of LDP?
Signup and view all the answers
What type of message is sent by the LSR to its nondirectly connected neighbor?
What type of message is sent by the LSR to its nondirectly connected neighbor?
Signup and view all the answers
What type of peer does LDP maintain the presence of?
What type of peer does LDP maintain the presence of?
Signup and view all the answers
What is required for MPLS routers to distribute labels among routers?
What is required for MPLS routers to distribute labels among routers?
Signup and view all the answers
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
Signup and view all the answers
What happens to the LDP session if the session hold time is not specified?
What happens to the LDP session if the session hold time is not specified?
Signup and view all the answers
What is the role of Link Hello messages in LDP?
What is the role of Link Hello messages in LDP?
Signup and view all the answers
What is mapped directly in LDP?
What is mapped directly in LDP?
Signup and view all the answers
What is the purpose of adjacencies in LDP?
What is the purpose of adjacencies in LDP?
Signup and view all the answers
What happens when a direct link for a local LDP session fails?
What happens when a direct link for a local LDP session fails?
Signup and view all the answers
What is the main purpose of LDP session protection?
What is the main purpose of LDP session protection?
Signup and view all the answers
What type of messages are exchanged to establish a local LDP session?
What type of messages are exchanged to establish a local LDP session?
Signup and view all the answers
What happens to the LDP session when the direct link recovers?
What happens to the LDP session when the direct link recovers?
Signup and view all the answers
What is formed between the remote LDP session and local LDP session?
What is formed between the remote LDP session and local LDP session?
Signup and view all the answers
What happens to the LDP LSP traffic when the direct link fails?
What happens to the LDP LSP traffic when the direct link fails?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What is an additional feature that can be configured to enhance LDP session protection?
What is an additional feature that can be configured to enhance LDP session protection?
Signup and view all the answers
What is the result of a forced change in the LDP router ID?
What is the result of a forced change in the LDP router ID?
Signup and view all the answers
What type of label space is used by LC-ATM interfaces?
What type of label space is used by LC-ATM interfaces?
Signup and view all the answers
What is the purpose of the extended discovery mechanism?
What is the purpose of the extended discovery mechanism?
Signup and view all the answers
What is the result of an LSR receiving a Link Hello message on a specified interface?
What is the result of an LSR receiving a Link Hello message on a specified interface?
Signup and view all the answers
What is associated with a destination prefix in an LDP label binding?
What is associated with a destination prefix in an LDP label binding?
Signup and view all the answers
What is the encapsulation method used for Link Hello messages?
What is the encapsulation method used for Link Hello messages?
Signup and view all the answers
What is the purpose of the basic discovery mechanism?
What is the purpose of the basic discovery mechanism?
Signup and view all the answers
What is the result of a teardown of existing LDP sessions?
What is the result of a teardown of existing LDP sessions?
Signup and view all the answers
What is the purpose of establishing a proxy egress LSP?
What is the purpose of establishing a proxy egress LSP?
Signup and view all the answers
What type of LDP session is established between routers that are not directly connected?
What type of LDP session is established between routers that are not directly connected?
Signup and view all the answers
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
Signup and view all the answers
What happens to the LDP session when the links between neighbor LSRs go down?
What happens to the LDP session when the links between neighbor LSRs go down?
Signup and view all the answers
What is the purpose of LDP session protection?
What is the purpose of LDP session protection?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What is the purpose of a targeted Hello message in MPLS LDP?
What is the purpose of a targeted Hello message in MPLS LDP?
Signup and view all the answers
What is negotiated in the Initialization message?
What is negotiated in the Initialization message?
Signup and view all the answers
What is the role of the active LSR in a targeted session?
What is the role of the active LSR in a targeted session?
Signup and view all the answers
What is sent by a nondirectly connected LSR to its neighbor?
What is sent by a nondirectly connected LSR to its neighbor?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What is the purpose of LDP session protection?
What is the purpose of LDP session protection?
Signup and view all the answers
What is the result of penultimate hop popping (PHP) being enabled?
What is the result of penultimate hop popping (PHP) being enabled?
Signup and view all the answers
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What is the purpose of the mplsldp discovery targeted-hello accept command?
What is the purpose of the mplsldp discovery targeted-hello accept command?
Signup and view all the answers
What is the primary function of Targeted Hello messages in LDP session establishment?
What is the primary function of Targeted Hello messages in LDP session establishment?
Signup and view all the answers
What is the purpose of the Initialization message in LDP session establishment?
What is the purpose of the Initialization message in LDP session establishment?
Signup and view all the answers
What happens when the LSR with the larger transport address initiates a TCP connection?
What happens when the LSR with the larger transport address initiates a TCP connection?
Signup and view all the answers
What is the result if LSRB rejects some parameters in the Initialization message?
What is the result if LSRB rejects some parameters in the Initialization message?
Signup and view all the answers
What is the purpose of the transport address in LDP session establishment?
What is the purpose of the transport address in LDP session establishment?
Signup and view all the answers
What is exchanged between LSRs to establish an LDP session?
What is exchanged between LSRs to establish an LDP session?
Signup and view all the answers
What is the role of the LSR with the smaller transport address in LDP session establishment?
What is the role of the LSR with the smaller transport address in LDP session establishment?
Signup and view all the answers
What is the result of successful LDP session establishment?
What is the result of successful LDP session establishment?
Signup and view all the answers
What happens to the LDP adjacency when a direct link for a local LDP session fails?
What happens to the LDP adjacency when a direct link for a local LDP session fails?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What type of messages are exchanged to establish a remote LDP session?
What type of messages are exchanged to establish a remote LDP session?
Signup and view all the answers
What happens to the LDP LSP traffic when the direct link fails?
What happens to the LDP LSP traffic when the direct link fails?
Signup and view all the answers
What is the purpose of configuring a session hold time?
What is the purpose of configuring a session hold time?
Signup and view all the answers
What is formed between the remote LDP session and local LDP session in LDP session protection?
What is formed between the remote LDP session and local LDP session in LDP session protection?
Signup and view all the answers
What happens to the LDP session when the direct link recovers?
What happens to the LDP session when the direct link recovers?
Signup and view all the answers
What is the main purpose of LDP session protection?
What is the main purpose of LDP session protection?
Signup and view all the answers
What is the primary purpose of LDP Discovery messages?
What is the primary purpose of LDP Discovery messages?
Signup and view all the answers
What type of adjacency is established by exchanging Target Hello messages between two LSRs?
What type of adjacency is established by exchanging Target Hello messages between two LSRs?
Signup and view all the answers
What is the format of an LDP identifier?
What is the format of an LDP identifier?
Signup and view all the answers
Which protocol is used to transmit LDP Session, Advertisement, and Notification messages?
Which protocol is used to transmit LDP Session, Advertisement, and Notification messages?
Signup and view all the answers
What type of peer can be maintained by multiple neighbors?
What type of peer can be maintained by multiple neighbors?
Signup and view all the answers
What is the purpose of LDP adjacencies?
What is the purpose of LDP adjacencies?
Signup and view all the answers
What is a label space in LDP?
What is a label space in LDP?
Signup and view all the answers
What is required to establish an LDP session?
What is required to establish an LDP session?
Signup and view all the answers
What does a router do if the mplsldp router-id command is not executed?
What does a router do if the mplsldp router-id command is not executed?
Signup and view all the answers
What is the effect of issuing the mplsldp router-id command with the force keyword?
What is the effect of issuing the mplsldp router-id command with the force keyword?
Signup and view all the answers
What happens to the LDP router ID if the specified interface is down when the mplsldp router-id interface force command is issued?
What happens to the LDP router ID if the specified interface is down when the mplsldp router-id interface force command is issued?
Signup and view all the answers
Why might the normal method for determining the LDP router ID be undesirable?
Why might the normal method for determining the LDP router ID be undesirable?
Signup and view all the answers
What is the purpose of the mplsldp router-id command?
What is the purpose of the mplsldp router-id command?
Signup and view all the answers
What happens to MPLS forwarding activity when the LDP router ID is forced to change?
What happens to MPLS forwarding activity when the LDP router ID is forced to change?
Signup and view all the answers
What is a consequence of a forced change in the LDP router ID?
What is a consequence of a forced change in the LDP router ID?
Signup and view all the answers
What is the default method for determining the LDP router ID if the mplsldp router-id command is not executed?
What is the default method for determining the LDP router ID if the mplsldp router-id command is not executed?
Signup and view all the answers
What happens to the LDP session when the links between the neighbor LSRs go down?
What happens to the LDP session when the links between the neighbor LSRs go down?
Signup and view all the answers
What is the difference between an active and a passive LSR in targeted Hello message exchange?
What is the difference between an active and a passive LSR in targeted Hello message exchange?
Signup and view all the answers
What is the purpose of LDP session protection?
What is the purpose of LDP session protection?
Signup and view all the answers
What happens when a link directly connecting the LSRs comes back up?
What happens when a link directly connecting the LSRs comes back up?
Signup and view all the answers
What is necessary for an LSR to respond to requests for targeted Hello messages?
What is necessary for an LSR to respond to requests for targeted Hello messages?
Signup and view all the answers
What is the role of the active LSR in a targeted session?
What is the role of the active LSR in a targeted session?
Signup and view all the answers
What is the result of an LSR receiving a targeted Hello message with a response request?
What is the result of an LSR receiving a targeted Hello message with a response request?
Signup and view all the answers
What is the default behavior of an LSR regarding targeted Hello messages?
What is the default behavior of an LSR regarding targeted Hello messages?
Signup and view all the answers
What happens to the LDP session when the direct link between two nodes fails?
What happens to the LDP session when the direct link between two nodes fails?
Signup and view all the answers
What is the purpose of LDP session protection?
What is the purpose of LDP session protection?
Signup and view all the answers
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
Signup and view all the answers
What is formed between the remote LDP session and local LDP session in LDP session protection?
What is formed between the remote LDP session and local LDP session in LDP session protection?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What happens to the LDP LSP traffic when the direct link fails?
What happens to the LDP LSP traffic when the direct link fails?
Signup and view all the answers
What is an additional feature that can be configured to enhance LDP session protection?
What is an additional feature that can be configured to enhance LDP session protection?
Signup and view all the answers
What happens when the direct link recovers?
What happens when the direct link recovers?
Signup and view all the answers
What is the outcome when the session hold time elapses and the local adjacency does not recover?
What is the outcome when the session hold time elapses and the local adjacency does not recover?
Signup and view all the answers
What is the primary function of LDP in an MPLS network?
What is the primary function of LDP in an MPLS network?
Signup and view all the answers
What type of adjacencies does LDP maintain the presence of?
What type of adjacencies does LDP maintain the presence of?
Signup and view all the answers
What is the outcome when the session hold time is not specified?
What is the outcome when the session hold time is not specified?
Signup and view all the answers
What is required for MPLS routers to distribute labels among routers?
What is required for MPLS routers to distribute labels among routers?
Signup and view all the answers
What is the primary function of Link Hello messages in LDP?
What is the primary function of Link Hello messages in LDP?
Signup and view all the answers
What is the result of a local adjacency being torn down?
What is the result of a local adjacency being torn down?
Signup and view all the answers
What is the purpose of LDP in establishing LSPs?
What is the purpose of LDP in establishing LSPs?
Signup and view all the answers
What is the purpose of a Targeted Hello message in LDP?
What is the purpose of a Targeted Hello message in LDP?
Signup and view all the answers
What is the role of the Keepalive message in LDP session establishment?
What is the role of the Keepalive message in LDP session establishment?
Signup and view all the answers
What is required for MPLS routers to distribute labels among routers?
What is required for MPLS routers to distribute labels among routers?
Signup and view all the answers
What type of LDP session is established between routers that are not directly connected?
What type of LDP session is established between routers that are not directly connected?
Signup and view all the answers
What is the purpose of LDP session protection?
What is the purpose of LDP session protection?
Signup and view all the answers
What is associated with a destination prefix in an LDP label binding?
What is associated with a destination prefix in an LDP label binding?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
Signup and view all the answers
What is the primary function of LDP session protection?
What is the primary function of LDP session protection?
Signup and view all the answers
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
What happens to the remote adjacency if the local adjacency does not recover after the session hold time elapses?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What type of messages are exchanged to establish a remote LDP session?
What type of messages are exchanged to establish a remote LDP session?
Signup and view all the answers
What happens to the LDP LSP traffic when the direct link fails?
What happens to the LDP LSP traffic when the direct link fails?
Signup and view all the answers
What is an additional feature that can be configured to enhance LDP session protection?
What is an additional feature that can be configured to enhance LDP session protection?
Signup and view all the answers
What is formed between the remote LDP session and local LDP session?
What is formed between the remote LDP session and local LDP session?
Signup and view all the answers
What is the purpose of the extended discovery mechanism?
What is the purpose of the extended discovery mechanism?
Signup and view all the answers
What is the primary purpose of extended discovery in MPLS LDP?
What is the primary purpose of extended discovery in MPLS LDP?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What type of LDP session is established between routers that are not directly connected?
What type of LDP session is established between routers that are not directly connected?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What is the purpose of a proxy egress LSP?
What is the purpose of a proxy egress LSP?
Signup and view all the answers
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
What is the term for the process of establishing an LDP session between nondirectly connected LSRs?
Signup and view all the answers
What is the role of the transit LSR in label distribution?
What is the role of the transit LSR in label distribution?
Signup and view all the answers
What is sent by the LSR to its nondirectly connected neighbor in extended discovery?
What is sent by the LSR to its nondirectly connected neighbor in extended discovery?
Signup and view all the answers
What is the primary benefit of LDP session protection in terms of LSP convergence?
What is the primary benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
Which mechanism is used by LDP session protection to maintain a session between LDP peers when the basic peer discovery mechanism fails?
Which mechanism is used by LDP session protection to maintain a session between LDP peers when the basic peer discovery mechanism fails?
Signup and view all the answers
What is the purpose of targeted Hello messages in MPLS LDP sessions?
What is the purpose of targeted Hello messages in MPLS LDP sessions?
Signup and view all the answers
What is the result of configuring an LSR to respond to requests for targeted Hello messages?
What is the result of configuring an LSR to respond to requests for targeted Hello messages?
Signup and view all the answers
What is the role of the active LSR in a targeted LDP session?
What is the role of the active LSR in a targeted LDP session?
Signup and view all the answers
What happens to the LDP session when the links between neighbor LSRs go down?
What happens to the LDP session when the links between neighbor LSRs go down?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What is the purpose of the extended discovery mechanism in LDP session protection?
What is the purpose of the extended discovery mechanism in LDP session protection?
Signup and view all the answers
What is the purpose of Extended Discovery in LDP?
What is the purpose of Extended Discovery in LDP?
Signup and view all the answers
What is the benefit of LDP session protection in terms of LSP convergence?
What is the benefit of LDP session protection in terms of LSP convergence?
Signup and view all the answers
What is required to establish an MPLS traffic engineering tunnel interface?
What is required to establish an MPLS traffic engineering tunnel interface?
Signup and view all the answers
What is the term for the process of establishing an LDP session between non-directly connected LSRs?
What is the term for the process of establishing an LDP session between non-directly connected LSRs?
Signup and view all the answers
What happens to the LDP session if the session hold time is not specified?
What happens to the LDP session if the session hold time is not specified?
Signup and view all the answers
What is the purpose of adjacencies in LDP?
What is the purpose of adjacencies in LDP?
Signup and view all the answers
What is mapped directly in LDP?
What is mapped directly in LDP?
Signup and view all the answers
What is required for MPLS routers to distribute labels among routers?
What is required for MPLS routers to distribute labels among routers?
Signup and view all the answers
Study Notes
LDP Session Establishment
- Two LSRs exchange Hello messages to establish an LDP session.
- The LSR with the larger transport address serves as the active peer and initiates a TCP connection.
- After the TCP connection is established, the active peer sends an Initialization message to negotiate parameters used to establish an LDP session.
LDP Session Establishment Process
- Upon receipt of the Initialization message, the passive peer replies to the active peer in either of the following situations: • If the passive peer rejects some parameters, it sends a Notification message to terminate LDP session establishment. • If the passive peer accepts all parameters, it sends an Initialization message and a Keepalive message to the active peer.
Targeted Hello Messages
- Targeted Hello messages are encapsulated in UDP packets and carry unicast destination addresses and are sent using LDP port 646.
- A Targeted Hello message carries an LDP identifier and other information, such as the hello-hold time and transport address.
- If an LSR receives a Targeted Hello message, the LSR has a potential LDP peer.
Proxy Egress LSP
- A proxy egress extends an LSP to a non-LDP node.
- The extended LSP is called a proxy egress LSP.
- A penultimate LSR functions as a special proxy egress when penultimate hop popping (PHP) is enabled.
Nondirectly Connected MPLS LDP Sessions
- If the LSR is more than one hop from its neighbor, it is nondirectly connected to its neighbor.
- For these nondirectly connected neighbors, the LSR sends out a targeted Hello message as a UDP packet, but as a unicast message specifically addressed to that LSR.
- The nondirectly connected LSR responds to the Hello message and the two routers begin to establish an LDP session, which is called extended discovery.
LDP Session Protection
- LDP session protection is an enhancement to the basic peer discovery mechanism.
- If the basic peer discovery mechanism fails, LDP session protection uses an extended peer discovery mechanism to maintain a session between LDP peers.
- LDP session protection helps maintain an LDP session, eliminating the need to reestablish an LDP session or re-distribute labels.
Session Hold Time
- A session hold time can be configured to maintain an LDP session within a specified time period after a local adjacency established using Link Hello messages is torn down.
- If the local adjacency does not recover after the session hold time elapses, the remote adjacency is torn down, and the LDP session maintained using the remote adjacency is also torn down.
LDP Router ID and Sessions
- A change in the LDP router ID tears down existing LDP sessions, releases label bindings, and interrupts MPLS forwarding activity associated with the bindings.
LDP Bindings
- An LDP label binding is an association between a destination prefix and a label.
- Labels are allocated from a set of possible labels called a label space.
- There are two types of label spaces:
- Interface-specific: uses interface resources for labels, and an LDP platform may support zero, one, or more interface-specific label spaces.
- Platform-wide: a single platform-wide label space for use by interfaces that can share the same labels.
LDP Discovery Mechanisms
- LDP discovery mechanisms are used by LSRs to discover potential LDP peers.
- There are two types of LDP discovery mechanisms:
- Basic discovery mechanism: used to discover directly connected LSR peers on a link.
- Extended discovery mechanism: used to discover LSR peers that are not directly connected to a local LSR.
Basic Discovery Mechanism
- An LSR periodically sends Link LDP Hello messages to discover LDP peers and establish local LDP sessions with the peers.
- Link Hello messages are encapsulated in UDP packets with a specific multicast destination address and are sent using LDP port 646.
- A Link Hello message carries an LDP identifier and other information, such as the hello-hold time and transport address.
Extended Discovery Mechanism
- Used to discover LSR peers that are not directly connected to a local LSR.
- Establishes nondirectly connected MPLS LDP sessions by enabling the transmission of targeted Hello messages.
- Targeted Hello messages are encapsulated in UDP packets and carry unicast destination addresses and are sent using LDP port 646.
LDP Session Protection
- LDP session protection is an enhancement to the basic peer discovery mechanism.
- Uses an extended peer discovery mechanism to maintain a session between LDP peers if the basic peer discovery mechanism fails.
Process of Establishing an LDP Session
- Two LSRs exchange Hello messages to establish an LDP session.
- The process involves:
- Exchanging Hello messages carrying transport addresses.
- Establishing a TCP connection using the transport addresses.
- Negotiating parameters used to establish an LDP session, including LDP version, label advertisement mode, Keepalive hold timer value, maximum PDU length, and label space.
LDP Adjacency and Peer Relationships
- LDP adjacency maintains a peer relationship between two LSRs
- Two types of LDP adjacencies:
- Local adjacency: established by exchanging Link Hello messages between two LSRs
- Remote adjacency: established by exchanging Target Hello messages between two LSRs
LDP Messages
- Two LSRs exchange the following messages:
- Discovery message: used to notify or maintain the presence of an LSR on an MPLS network
- Session message: used to establish, maintain, or terminate an LDP session between LDP peers
- Advertisement message: used to create, modify, or delete a mapping between a specific FEC and label
- Notification message: used to provide advisory information or error information
Label Space and LDP Identifier
- Label space: defines a range of labels allocated between LDP peers
- LDP identifier: identifies a label space used by a specified LSR
- LDP identifier consists of 6 bytes: 4-byte LSR ID and 2-byte label space
- LDP identifier format: :
LDP Router ID
- LDP router ID determines the label space used by an LSR
- If the mplsldp router-id command is not executed, the router determines the LDP router ID as follows:
- Examines the IP addresses of all operational interfaces
- Selects the largest loopback address as the LDP router ID if available
- Otherwise, selects the largest IP address pertaining to an operational interface as the LDP router ID
- The mplsldp router-id command allows specifying the IP address of an interface as the LDP router ID
LDP Session Establishment and Maintenance
- LDP sessions are established between directly connected LSRs
- LDP sessions can be maintained using targeted Hello messages between nondirectly connected LSRs
- Targeted Hello messages can be sent in several ways:
- One router sends targeted Hello messages carrying a response request to another router
- Both routers send targeted Hello messages to each other
- LDP session protection can be implemented to maintain an LDP session and minimize packet loss
LDP Session Protection
- LDP session protection is an enhancement to the basic peer discovery mechanism
- Uses an extended peer discovery mechanism to maintain a session between LDP peers if the basic peer discovery mechanism fails
- Helps maintain an LDP session, eliminating the need to reestablish an LDP session or re-distribute labels
Session Hold Time
- Session hold time can be configured to maintain an LDP session within a specified time period
- If the local adjacency does not recover after the session hold time elapses, the remote adjacency is torn down, and the LDP session maintained using the remote adjacency is also torn down
Establishing MPLS LDP Sessions
- Nondirectly connected MPLS LDP sessions are established by enabling the transmission of targeted Hello messages.
- When a link between neighbor LSRs is up, both link and targeted Hellos maintain the LDP session.
- If a link between neighbor LSRs goes down, targeted Hellos maintain the session, allowing LSRs to retain labels learned from each other.
Targeted Hello Messages
- Targeted Hello messages are encapsulated in UDP packets and carry unicast destination addresses and are sent using LDP port 646.
- A Targeted Hello message carries an LDP identifier and other information, such as the hello-hold time and transport address.
- If an LSR receives a Targeted Hello message, it has a potential LDP peer.
LDP Session Protection
- LDP session protection is an enhancement to the basic peer discovery mechanism.
- If the basic peer discovery mechanism fails, LDP session protection uses an extended peer discovery mechanism to maintain a session between LDP peers.
- LDP session protection helps maintain an LDP session, eliminating the need to reestablish an LDP session or re-distribute labels.
Process of Establishing an LDP Session
- Two LSRs exchange Hello messages to establish an LDP session.
- The LSR with the larger transport address serves as the active peer and initiates a TCP connection.
- After the TCP connection is successfully established, the active peer sends an Initialization message to negotiate parameters used to establish an LDP session with the passive peer.
Session Hold Time
- A session hold time can be configured to maintain an LDP session.
- If a local adjacency established using Link Hello messages is torn down, a remote adjacency established using Targeted Hello messages continues to maintain an LDP session within the configured session hold time.
Proxy Egress
- A proxy egress extends an LSP to a non-LDP node.
- A proxy egress LSP can be established on a network with MPLS-incapable routers or in the Border Gateway Protocol (BGP) route load balancing scenario.
Nondirectly Connected MPLS LDP Sessions
- If the LSR is more than one hop from its neighbor, it is nondirectly connected to its neighbor.
- For these nondirectly connected neighbors, the LSR sends out a targeted Hello message as a UDP packet, but as a unicast message specifically addressed to that LSR.
Conclusion
- LDP is a set of procedures and messages by which LSRs create LSPs through a network by mapping network layer routing information directly to data link layer switched paths.
- LDP maintains the presence of a peer through the adjacencies and the type of peer depends on the type of neighbor that maintains it.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Learn about the process of establishing an LDP session between two LSRs, including the exchange of Hello messages and Initialization messages. Understand the roles of the active and passive peers in negotiating parameters.