Label Distribution Protocol (LDP) Parameters
2018-03-09
Message Type Name Space
0x0001-0x00FF
IETF Review
LDP base protocol for general
0x0100-0x01FF
IETF Review
LDP base protocol for the neighbour discovery
0x0200-0x02FF
IETF Review
LDP base protocol for the initialization phase
0x0300-0x03FF
IETF Review
LDP base protocol for Addresses
0x0400-0x04FF
IETF Review
LDP base protocol for label distribution
0x0500-0x05FF
IETF Review
LDP base protocol for connection related messages
0x0600-0x3DFF
IETF Review
LDP base protocol
0x3E00-0x3EFF
LDP Vendor-Private Extensions
IANA does not assign; see
0x3F00-0x3FFF
LDP Experimental Extensions
IANA does not assign; see
0x0000
Reserved
0x0001
Notification
0x0100
Hello
0x0200
Initialization
0x0201
KeepAlive
0x0202
Capability
0x0300
Address
0x0301
Address Withdraw
0x0400
Label Mapping
0x0401
Label Request
0x0402
Label Withdraw
0x0403
Label Release
0x0404
Label Abort Request
0x0500
Call Setup
0x0501
Call Release
0x0700
RG Connect Message
0x0701
RG Disconnect Message
0x0702
RG Notification Message
0x0703
RG Application Data Message
0x0704-0x070F
Reserved for future ICCP use
TLV Type Name Space
0x0001-0x07FF
IETF Review
LDP base protocol
0x0800-0x08FF (CR-LDP)
IETF Review
LDP base protocol
0x0900-0x3DFF
IETF Review
LDP base protocol
0x3E00-0x3EFF
LDP Vendor-Private Extensions
IANA does not assign; see
0x3F00-0x3FFF
LDP Experimental Extensions
IANA does not assign; see
0x0000
Reserved
0x0001
Sequence Number TLV
2015-11-17
0x0002-0x00FF
Unassigned
0x0100
FEC
0x0101
Address List
0x0102
Unassigned
0x0103
Hop Count
0x0104
Path Vector
0x0105-0x01FF
Unassigned
0x0200
Generic Label
0x0201
ATM Label
0x0202
Frame Relay Label
0x0203
FT Protection TLV
0x0204
LDP Upstream-Assigned Label TLV
0x0205
LDP Upstream-Assigned Label Request TLV
0x0206
Entropy Label Capability TLV
0x0207-0x02FF
Unassigned
0x0300
Status
0x0301
Extended Status
0x0302
Returned PDU
0x0303
Returned Message
0x0304
Returned TLVs
0x0305-0x03FF
Unassigned
0x0400
Common Hello Parameters
0x0401
IPv4 Transport Address
0x0402
Configuration Sequence Number
0x0403
IPv6 Transport Address
0x0404
MAC TLV
0x0405
Cryptographic Authentication TLV
0x0406
MAC Flush Parameters TLV
0x0407
PBB B-MAC List Sub-TLV
0x0408
PBB I-SID List Sub-TLV
0x0409-0x04FF
Unassigned
0x0500
Common Session Parameters
0x0501
ATM Session Parameters
0x0502
Frame Relay Session Parameters
0x0503
FT Session TLV
0x0504
FT Ack TLV
0x0505
FT Cork TLV
0x0506
Dynamic Capability Announcement
0x0507
LDP Upstream Label Assignment Capability TLV
0x0508
P2MP Capability Parameter
0x0509
MP2MP Capability Parameter
0x050A
MBB Capability Parameter
0x050B
Typed Wildcard FEC Capability
0x050C
Multi-Topology Capability
0x050D
State Advertisement Control Capability
0x050E
MRT Capability TLV
0x050F
Targeted Application Capability
0x0510-0x05FF
Unassigned
0x0600
Label Request Message ID
0x0601
MTU TLV
0x0602
Unassigned
0x0603
Unrecognized Notification Capability
0x0604-0x06FF
Unassigned
0x0700
ICCP capability TLV
0x0701
Dual-Stack capability
0x0702
Unassigned
0x0703
P2MP PW Capability TLV
0x0704-0x07FF
Unassigned
0x0800
Explicit Route TLV
0x0801
Ipv4 Prefix ER-Hop TLV
0x0802
Ipv6 Prefix ER-Hop TLV
0x0803
Autonomous System Number ER-Hop TLV
0x0804
LSP-ID ER-HOP TLV
0x0805
L2 PW Address of Switching Point
0x0806-0x080F
Unassigned
0x0810
Traffic Parameters TLV
0x0811-0x081F
Unassigned
0x0820
Preemption TLV
0x0821
LSPID TLV
0x0822
Resource Class TLV
0x0823
Route Pinning TLV
0x0824
Generalized Label Request TLV
0x0825
Generalized Label TLV
0x0826
Upstream Label TLV
0x0827
Label Set TLV
0x0828
Waveband Label TLV
0x0829
ER-Hop TLV
0x082A
Acceptable Label Set TLV
0x082B
Admin Status TLV
0x082C
Interface ID TLV
0x082D
IPV4 Interface ID TLV
0x082E
IPV6 Interface ID TLV
0x082F
IPv4 IF_ID Status TLV
0x0830
IPv6 IF_ID Status TLV
0x0831
Op-Sp Call ID TLV
0x0832
GU Call ID TLV
0x0833
Call Capability TLV
0x0834
Crankback TLV
0x0835
Protection TLV
0x0836
LSP_TUNNEL_INTERFACE_ID TLV
0x0837
Unnumbered Interface ID TLV
0x0838
SONET/SDH Traffic Parameters TLV
0x0839-0x0900
Unassigned
0x0901
Diff-Serv TLV
0x0902
HSMP LSP Capability Parameter
2014-01-09
0x0903-0x095F
Unassigned
0x0960
IPv4 Source ID TLV
0x0961
IPv6 Source ID TLV
0x0962
NSAP Source ID TLV
0x0963
IPv4 Destination ID TLV
0x0964
IPv6 Destination ID TLV
0x0965
NSAP Destination ID TLV
0x0966
Egress Label TLV
0x0967
Local Connection ID TLV
0x0968
Diversity TLV
0x0969
Contract ID TLV
0x096A
PW Status TLV
0x096B
PW Interface Parameters TLV
0x096C
PW Group ID TLV
0x096D
Pseudowire Switching Point PE TLV
0x096E
Bandwidth TLV
0x096F
LDP MP Status TLV Type
0x0970
UNI Service Level TLV
0x0971
Queue Request TLV
0x0972
MP Node Protection Capability
0x0973
PSN Tunnel Binding TLV
2016-07-22
0x0974
Egress Protection Capability
2017-02-08
0x0975-0x3DFF
Unassigned
0x3E00-0x3EFF
Reserved for Vendor-Private Extensions
0x3F00-0x3FFF
Reserved for Experimental Extensions
Forwarding Equivalence Class (FEC) Type Name Space
0-127
IETF Review
128-191
First Come First Served
0
0x00
Reserved
1
0x01
Wildcard
Not applicable
2
0x02
Prefix
As negotiated (DU or DoD)
3
Unassigned
4
0x04
CR-LSP
DoD
5
0x05
Typed Wildcard FEC Element
Not applicable
6
0x06
P2MP
DU
7
0x07
MP2MP-up
DU
8
0x08
MP2MP-down
DU
9
0x09
HSMP-upstream
DU
2014-01-09
10
0x0A
HSMP-downstream
DU, Upstream
2014-01-09
11-127
Unassigned
128
0x80
PWid FEC Element
DU
129
0x81
Generalized PWid FEC Element
DU
130
0x82
P2MP PW Upstream FEC Element
Upstream
2009-06-03
131
0x83
Protection FEC Element
DU
2010-02-26
132
0x84
P2P PW Downstream FEC Element
DU
2014-04-04
133-191
Unassigned
192-255
Reserved for Private Use
Status Code Name Space
The "E" column is the required setting of the Status Code E-bit.
0x00000000-0x1FFFFFFF
IETF Review
CR-LDP: 0x04000000-0x040000FF
0x20000000-0x3EFFFFFF
First Come First Served
0x3F000000-0x3FFFFFFF
Private Use
0x00000000
0
Success
0x00000001
1
Bad LDP Identifier
0x00000002
1
Bad Protocol Version
0x00000003
1
Bad PDU Length
0x00000004
0
Unknown Message Type
0x00000005
1
Bad Message Length
0x00000006
0
Unknown TLV
0x00000007
1
Bad TLV Length
0x00000008
1
Malformted TLV Value
0x00000009
1
Hold Timer Expired
0x0000000A
1
Shutdown
0x0000000B
0
Loop Detected
0x0000000C
0
Unknown FEC
0x0000000D
0
No Route
0x0000000E
0
No Label Resources
0x0000000F
0
Label Resources/Available
0x00000010
1
Session Rejected/No Hello
0x00000011
1
Session Rejected/Parameters Advertisement Mode
0x00000012
1
Session Rejected/Parameters Max PDU Length
0x00000013
1
Session Rejected/Parameters Label Range
0x00000014
1
KeepAlive Timer Expired
0x00000015
0
Label Request Aborted
0x00000016
0
Missing Message Parameters
0x00000017
0
Unsupported Address Family
0x00000018
1
Session Rejected/Bad KeepAlive Time
0x00000019
1
Internal Error
0x0000001A
0
No LDP Session
0x0000001B
1
Zero FT seqnum
0x0000001C
1
Unexpected TLV / Session Not FT
0x0000001D
1
Unexpected TLV / Label Not FT
0x0000001E
1
Missing FT Protection TLV
0x0000001F
1
FT ACK sequence error
0x00000020
0
Temporary Shutdown
0x00000021
1
FT Seq Numbers Exhausted
0x00000022
1
FT Session parameters / changed
0x00000023
1
Unexpected FT Cork TLV
0x00000024
0
Illegal C-Bit
0x00000025
0
Wrong C-Bit
0x00000026
0
Incompatible bit-rate
0x00000027
0
CEP-TDM mis-configuration
0x00000028
0
PW Status
0x00000029
0
Unassigned/Unrecognized TAI
0x0000002A
0
Generic Misconfiguration Error
0x0000002B
0
Label Withdraw PW Status Method Not Supported
0x0000002C
0
IP Address of CE
0x0000002D
0
Attachment Circuit bound to different remote Attachment Circuit
0x0000002E
0
Unsupported Capability
0x0000002F
0
End-of-LIB
0x00000030
0
Attachment Circuit bound to different PE
0x00000031
0
Invalid Topology ID
0x00000032
1
Transport Connection Mismatch
0x00000033
1
Dual-Stack Noncompliance
0x00000034
0
MRT Capability negotiated without MT Capability
0x00000035
0
VCCV Type Error
0x00000036
Unassigned
0x00000037
0
Bandwidth resources unavailable
0x00000038
0
Resources Unavailable
0x00000039
0
AII Unreachable
0x0000003A
0
PW Loop Detected
0x0000003B
1
Reject - unable to use the suggested tunnel/LSPs
0x0000003C
1
The C-bit or S-bit unknown
0x0000003D-0x0000003F
Unassigned
0x00000040
0
LDP MP status
0x00000041-0x00000049
Unassigned
0x0000004A
0
IP Address Type Mismatch
0x0000004B
0
Wrong IP Address Type
0x0000004C
1
Session Rejected/Targeted Application Capability Mismatch
0x0000004D-0x00010000
Unassigned
0x00010001
0
Unknown ICCP RG
0x00010002
0
ICCP Connection Count Exceeded
0x00010003
0
ICCP Application Connection Count Exceeded
0x00010004
0
ICCP Application not in RG
0x00010005
0
Incompatible ICCP Protocol Version
0x00010006
0
ICCP Rejected Message
0x00010007
0
ICCP Administratively Disabled
0x00010008-0x0001000F
Unassigned
0x00010010
0
ICCP RG Removed
0x00010011
0
ICCP Application Removed from RG
0x00010012-0x01000000
Unassigned
0x01000001
0
Unexpected Diff-Serv TLV
0x01000002
0
Unsupported PHB
0x01000003
0
Invalid EXP<-->PHB mapping
0x01000004
0
Unsupported PSC
0x01000005
0
Per-LSP context allocation failure
0x01000006-0x04000000
Unassigned
0x04000001
Bad Explicit Routing TLV Error
0x04000002
Bad Strict Node Error
0x04000003
Bad Loose Node Error
0x04000004
Bad Initial ER-Hop Error
0x04000005
Resource Unavailable
0x04000006
Traffic Parameters Unavailable
0x04000007
LSP Preempted
0x04000008
Modify Request Not Supported
0x04000009
Invalid SNP ID
0x0400000A
Calling Party busy
0x0400000B
Unavailable SNP ID
0x0400000C
Invalid SNPP ID
0x0400000D
Unavailable SNPP ID
0x0400000E
Failed to create SNC
0x0400000F
Failed to establish LC
0x04000010
Invalid A End-User Name
0x04000011
Invalid Z End-User Name
0x04000012
Invalid CoS
0x04000013
Unavailable CoS
0x04000014
Invalid GoS
0x04000015
Unavailable GoS
0x04000016
Failed Security Check
0x04000017
TimeOut
0x04000018
Invalid Call Name
0x04000019
Failed to Release SNC
0x0400001A
Failed to Free LC
0x0400001B-0x1FFFFFFF
Unassigned
0x20000000
0
Unknown VPN ID
MPLS/FR Alliance 2.0.1, "MPLS PVC User to Network Interface
Implementation Agreement", May 2003, Andrew G. Malis
0x20000001
0
Illegal C-Bit
0x20000002
0
Wrong C-Bit
0x20000003
1
E-Tree VLAN mapping not supported
0x20000004
0
Leaf-to-Leaf PW released
0x20000005-0x3EFFFFFF
Unassigned
0x3F000000-0x3FFFFFFF
Reserved for Private Use
Experiment ID Name Space
0x00000000-0xefffffff
First Come First Served
0xf0000000-0xffffffff
Experiment Ids - Reserved for Private Use
LDP MP Opaque Value Element basic type
Standards Action
0
Reserved
1
Generic LSP identifier
2
Unassigned
3
Transit IPv4 Source TLV type
4
Transit IPv6 Source TLV type
5
Transit IPv4 Bidir TLV type
6
Transit IPv6 Bidir TLV type
7
Recursive Opaque Value
8
VPN-Recursive Opaque Value
9
Transit VPNv4 Bidir TLV type
10
Transit VPNv6 Bidir TLV type
11
Transit IPv4 Shared Tree TLV
12
Transit IPv6 Shared Tree TLV
13
L2VPN-MCAST application TLV
14-249
Unassigned
250
Transit VPNv4 Source TLV type
251
Transit VPNv6 Source TLV type
252-254
Unassigned
255
Extended Type field is present in the following two bytes
LDP MP Opaque Value Element extended type
0-32767
Standards Action
32768-65535
First Come First Served
0
Reserved
1-65535
Unassigned
LDP MP Status Value Element type
Standards Action
0
Reserved
1
MBB Status
2
PLR Status Value Element
3
Protected Node Status Value Element
4-255
Unassigned
MAC Flush Flags
Standards Action
0
0x80
C
Context
1
0x40
N
Negative MAC flushing
2-7
Unassigned
LDP Targeted Application Identifier
0x0001-0x1FFF
IETF Review
0x2000-0xF7FF
First Come First Served
0x0000
Reserved
0x0001
LDPv4 Tunneling
0x0002
LDPv6 Tunneling
0x0003
mLDP Tunneling
0x0004
LDPv4 Remote LFA
0x0005
LDPv6 Remote LFA
0x0006
LDP FEC 128 PW
0x0007
LDP FEC 129 PW
0x0008
LDP Session Protection
0x0009
LDP ICCP
0x000A
LDP P2MP PW
0x000B
mLDP Node Protection
0x000C
LDPv4 Intra-area FECs
0x000D
LDPv6 Intra-area FECs
0x000E-0xF7FF
Unassigned
0xF800-0xFBFF
Available for Private Use
0xFC00-0xFFFE
Available for Experimental Use
0xFFFF
Reserved
Andy Malis
mailto:agmalis&gmail.com
2013-05-28