Skip to main content

LDP

LDP (Label Distribution Protocol) distributes MPLS labels. Two devices with an established LDP session are LDP peers and exchange labels bidirectionally. LDP builds and maintains the LSP databases used to forward traffic in MPLS networks.

LDP discovery uses UDP port 646, while the session uses TCP port 646. During discovery, Hello packets are sent to multicast address 224.0.0.2.

Basic LDP Settings

FieldDescriptionDefault
Enable LDPEnable or disable LDPOff
LSR IDLSR identifier, for example 10.10.10.210.10.10.10
HostnameHostnamebngblaster
IPv4 transport addressIPv4 transport-interface addressSame as LSR ID
IPv6 transport addressIPv6 transport-interface address
No IPv4 transportDisable IPv4 LDP Hello messagesOff
Prefer IPv4 transportPrefer IPv4 transport when IPv6 is availableOff

LDP Timers

FieldDescriptionDefault
Keepalive time (s)LDP session keepalive timeout, in seconds0
Hold time (s)LDP Hello hold time, in seconds0
Teardown time (s)Session teardown time, in seconds0

Prefix Source (from IGP)

LDP can automatically obtain prefixes from an IGP (Interior Gateway Protocol) to build MPLS LSPs.

FieldDescriptionValue
Enable prefix sourceObtain prefixes from the IGPOn
ProtocolSource protocol: ISIS or OSPFISIS
ModePrefix selection: loopbacks (loopback addresses only) or allloopbacks
Label baseBase label assigned to prefixes16000