LDP, Label Distribution Protocol |
![]() |
Description | Glossary | RFCs | Publications | Obsolete RFCs |
Protocol suite: | ATM, TCP/IP. |
Protocol type: | Application layer protocol. |
Port: | 646 (TCP, UDP). |
MIME subtype: | |
SNMP MIBs: | iso.org.dod.internet.mgmt.mib-2.transmission.mplsStdMIB (1.3.6.1.2.1.10.166).
iso.org.dod.internet.mgmt.mib-2.transmission.mplsStdMIB.MPLS-LDP-STD-MIB (1.3.6.1.2.1.10.166.4). iso.org.dod.internet.mgmt.mib-2.transmission.mplsStdMIB.MPLS-LDP-ATM-STD-MIB (1.3.6.1.2.1.10.166.5). iso.org.dod.internet.mgmt.mib-2.transmission.mplsStdMIB.MPLS-LDP-FRAME-RELAY-STD-MIB (1.3.6.1.2.1.10.166.6). iso.org.dod.internet.mgmt.mib-2.transmission.mplsStdMIB.MPLS-LDP-GENERIC-STD-MIB (1.3.6.1.2.1.10.166.7). |
Working groups: | |
Links: | IANA: LDP name spaces. |
MAC header | IP header | TCP | UDP header | LDP header | Data ::: |
LDP header:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version | Length | ||||||||||||||||||||||||||||||
LSR ID | |||||||||||||||||||||||||||||||
Label space | Data ::: |
Version.
16 bits.
Version number of the protocol.
Length.
16 bits.
Total size of this message in bytes excluding the Version
and Length fields.
The maximum allowable length is negotiable when an LDP session is initialized.
Prior to completion of the negotiation the maximum allowable length is 4096 bytes.
LSR ID, Label Switched Router ID. 32 bits.
Label space. 16 bits.
Data. Variable length.
TLV record:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
U | F | Type | TLV length | ||||||||||||||||||||||||||||
Value ::: |
U, Unknown TLV. 1 bit.
U | Description |
---|---|
0 | A notification must be returned to the message originator and the entire message must be ignored. |
1 | The unknown TLV is silently ignored and the rest of the message is processed as if the unknown TLV did not exist. |
F, Forward unknown TLV.
1 bit.
Valid only when the U bit is set and the LDP message containing the unknown TLV is to be forwarded.
F | Description |
---|---|
0 | The unknown TLV is not forwarded with the containing message. |
1 | The unknown TLV is forwarded with the containing message. |
Type. 14 bits.
Type | Description | References |
---|---|---|
0x0100 | FEC. | RFC 3036, RFC 5036 |
0x0101 | Address List. | RFC 3036, RFC 5036 |
0x0103 | Hop Count. | RFC 3036, RFC 5036 |
0x0104 | Path Vector. | RFC 3036, RFC 5036 |
0x0200 | Generic Label. | RFC 3036, RFC 5036 |
0x0201 | ATM Label. | RFC 3036, RFC 5036 |
0x0202 | Frame Relay Label. | RFC 3036, RFC 5036 |
0x0203 | FT Protection TLV. | RFC 3479 |
0x0300 | Status. | RFC 3036, RFC 5036 |
0x0301 | Extended Status. | RFC 3036, RFC 5036 |
0x0302 | Returned PDU. | RFC 3036, RFC 5036 |
0x0303 | Returned Message. | RFC 3036, RFC 5036 |
0x0400 | Common Hello Parameters. | RFC 3036, RFC 5036 |
0x0401 | IPv4 Transport Address. | RFC 3036, RFC 5036 |
0x0402 | Configuration Sequence Number. | RFC 3036, RFC 5036 |
0x0403 | IPv6 Transport Address. | RFC 3036, RFC 5036 |
0x0500 | Common Session Parameters. | RFC 3036, RFC 5036 |
0x0501 | ATM Session Parameters. | RFC 3036, RFC 5036 |
0x0502 | Frame Relay Session Parameters. | RFC 3036, RFC 5036 |
0x0503 | FT Session TLV. | RFC 3479 |
0x0504 | FT Ack TLV. | RFC 3479 |
0x0505 | FT Cork TLV. | RFC 3479 |
0x0600 | Label Request Message ID. | RFC 3036, RFC 5036 |
0x0601 | MTU. | RFC 3988 |
CR-LDP TLVs | ||
0x0800 | Explicite Route. | RFC 3212 |
0x0801 | IPv4 Prefix ER-Hop. | RFC 3212 |
0x0802 | IPv6 Prefix ER-Hop. | RFC 3212 |
0x0803 | Autonomous System Number ER-Hop. | RFC 3212 |
0x0804 | LSP-ID ER-HOP. | RFC 3212 |
0x0810 | Traffic Parameters. | RFC 3212 |
0x0820 | Preemption. | RFC 3212 |
0x0821 | LSPID. | RFC 3212 |
0x0822 | Resource Class. | RFC 3212 |
0x0823 | Route Pinning. | RFC 3212 |
0x0824 | Generalized Label Request. | RFC 3472 |
0x0825 | Generalized Label. | RFC 3472 |
0x0826 | Upstream Label. | RFC 3472 |
0x0827 | Label Set. | RFC 3472 |
0x0828 | Waveband Label. | RFC 3472 |
0x0829 | ER-Hop. | RFC 3472 |
0x082A | Acceptable Label Set. | RFC 3472 |
0x082B | Admin Status. | RFC 3472 |
0x082C | Interface ID. | RFC 3472 |
0x082D | IPv4 Interface ID. | RFC 3472 |
0x082E | IPv6 Interface ID. | RFC 3472 |
0x082F | IPv4 IF_ID Status. | RFC 3472 |
0x0830 | IPv6 IF_ID Status. | RFC 3472 |
0x0831 | Op-Sp Call ID. | RFC 3475 |
0x0832 | GU Call ID. | RFC 3475 |
0x0833 | Call Capability. | RFC 3475 |
0x0834 | Crankback. | RFC 3475 |
0x0835 | Protection. | RFC 3472 |
0x0836 | LSP_TUNNEL_INTERFACE_ID. | RFC 3480 |
0x0837 | Unnumbered Interface ID. | RFC 3480 |
0x0838 | SONET/SDH Traffic Parameters. | RFC 3946 |
0x0901 | Diff-Serv. | RFC 3270 |
0x0960 | IPv4 Source ID. | RFC 3476 |
0x0961 | IPv6 Source ID. | RFC 3476 |
0x0962 | NSAP Source ID. | RFC 3476 |
0x0963 | IPv4 Destination ID. | RFC 3476 |
0x0964 | IPv6 Destination ID. | RFC 3476 |
0x0965 | NSAP Destination ID. | RFC 3476 |
0x0966 | Egress Label. | RFC 3476 |
0x0967 | Local Connection ID. | RFC 3476 |
0x0968 | Diversity. | RFC 3476 |
0x0969 | Contract ID. | RFC 3476 |
0x096A | PW Status. | RFC 4447 |
0x096B | PW Interface Parameters. | RFC 4447 |
0x096C | Group ID. | RFC 4447 |
0x096E | Bandwidth TLV. | |
0x0970 | UNI Service Level. | RFC 3476 |
TLV length.
16 bits.
Size of the Value field in bytes.
Value. Variable length.
Message name space:
Type | Description | References |
---|---|---|
0x0001 | Notification. | RFC 3036 |
0x0100 | Hello. | RFC 3036 |
0x0200 | Initialization. | RFC 3036 |
0x0201 | KeepAlive. | RFC 3036 |
0x0300 | Address. | RFC 3036 |
0x0301 | Address Withdraw. | RFC 3036 |
0x0400 | Label Mapping. | RFC 3036 |
0x0401 | Label Request. | RFC 3036 |
0x0402 | Label Withdraw. | RFC 3036 |
0x0403 | Label Release. | RFC 3036 |
0x0404 | Label Abort Request. | RFC 3036 |
0x0500 | Call Setup. | RFC 3475 |
0x0501 | Call Release. | RFC 3475 |
0x3E00 - 0x3EFF | Vendor private extensions. | |
0x3F00 - 0x3FFF | Experimental extensions. |
RFCs:
[RFC 3036] LDP Specification.
[RFC 3037] LDP Applicability.
[RFC 3038] VCID Notification over ATM link for LDP.
[RFC 3212] Constraint-Based LSP Setup using LDP.
[RFC 3213] Applicability Statement for CR-LDP.
[RFC 3214] LSP Modification Using CR-LDP.
[RFC 3215] LDP State Machine.
[RFC 3270] Multi-Protocol Label Switching (MPLS) Support of Differentiated Services.
[RFC 3472] Generalized Multi-Protocol Label Switching (GMPLS) Signaling Constraint-based Routed Label Distribution Protocol (CR-LDP) Extensions.
[RFC 3475] Documentation of IANA assignments for Constraint-Based LSP setup using LDP (CR-LDP) Extensions for Automatic Switched Optical Network (ASON).
[RFC 3478] Graceful Restart Mechanism for Label Distribution Protocol.
[RFC 3479] Fault Tolerance for the Label Distribution Protocol (LDP).
[RFC 3480] Signalling Unnumbered Links in CR-LDP (Constraint-Routing Label Distribution Protocol).
[RFC 3612] Applicability Statement for Restart Mechanisms for the Label Distribution Protocol (LDP).
[RFC 3815] Definitions of Managed Objects for the Multiprotocol Label Switching (MPLS), Label Distribution Protocol (LDP).
[RFC 3946] Generalized Multi-Protocol Label Switching (GMPLS) Extensions for Synchronous Optical Network (SONET) and Synchronous Digital Hierarchy (SDH) Control.
[RFC 3988] Maximum Transmission Unit Signalling Extensions for the Label Distribution Protocol.
[RFC 4221] Multiprotocol Label Switching (MPLS) Management Overview.
[RFC 4447] Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP).
![]() |
Description | Glossary | RFCs | Publications | Obsolete RFCs |