Вы находитесь на странице: 1из 17

Internal

ODC010002 LDP Principle


ISSUE 1.1

HUAWEI TECHNOLOGIES CO., LTD.

www.huawei.com

All rights reserved

MPLS LDP protocol is one of important


MPLS signal protocols used to set up
MPLS LSP.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 2

Learning Guide
RFC 3036
VRP Operation Manual MPLS

chapter

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 3

Upon completion of this course, you will


be able to:
Understand MPLS LDP Principle
Understand LDP Working Process

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 4

Chapter 1 LDP Basic Principle


Chapter 2 LDP Protocol Features

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 5

Basic Concepts of LDP


LDP is a MPLS control and signal protocol
Main functions:

Release Label-FEC mapping


Create and maintain label switching path
LDP serves to distribute and maintain label mapping messages

between peers in form of message


LDP uses the TCP transmission service

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 6

LDP Messages
20

General
Format

IP

18

10

TCP

LDP Header

octets

LDP Message

Well-known port 646


Some message types use UDP for multicast

LDP
Header

Version PDU Length

LDP
Message
Address
Address withdraw
Hello
Initialization
KeepAlive
Label Mapping

octets

LDP Identifier
Router ID (IP address)
and Label Space ID

Currently
1

Excludes length
and version

Length

ID

Type

Excludes Type
and Length

octets

Parameters
Sequence
number

Mandatory
and optional

Label Request
Label Abort Request
Label Withdraw
Label Release
Notification

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 7

LDP Message Types


Discovery message: Used to discover LDP adjacencies in the

network
Session message: Used to set up, maintain and terminate a

session between LDP peers


Distribution message: Used to create, change and delete label

mappings related to FEC


Notification message: Used to provide recommendation or error

notification information

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 8

Detailed LDP Message


Message Type
Notification
Hello

Description
Reports an error condition
LDP keep-alive, sent periodically based on hold timer

Initialization

Sets up an LDP session and negotiate parameters

KeepAlive

Monitors Integrity of TCP connection supporting a session

Address

Advertises a list of interface addresses

Address Withdraw

Undoes the address message

Label Mapping

Advertises FEC / Label bindings to neighbors

Label Request

Requests a label binding for a given FEC

Label Abort Request Aborts an outstanding label request message


Label Withdraw

Deletes FEC / Label binding when FEC no longer supported

Label Release

Deletes FEC / Label binding due to route change

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 9

LDP Message Switching


UDP-Hello
Discovery stage
UDP-Hello
TCP connection establishment
Session creation
and maintenance
Session initialization
Label request
LSP creation and
maintenance

HUAWEI TECHNOLOGIES CO., LTD.

FEC

Label
Label mapping

All rights reserved

Page 10

Chapter 1 LDP Basic Principle


Chapter 2 LDP Protocol Features

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 11

LDP Supported Features


LDP is an important MPLS signal protocol.

Modes
Distribution: Downstream Unsolicited / Downstream On-demand.
Control: Ordered / Independent
Label Retention: Liberal / Conservative
Optional features
Loop detection
TCP Message Digest 5 signature option
...

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 12

LDP Supported Features (cont.)


LDP Discovery (Hello message) with support for basic (link)

and extended (targeted) discovery.


LDP Error Handling with support for Notification message and

Status TLV
LDP Session Establishment and Maintenance with support for

Initialization, Address, and Address Withdraw messages


Support for LDP vendor-private and experimental features

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 13

Remote LDP
In general, LDP neighbor should be established between

directed links.
In some case, we require to set up remote LDP neighbor

relationship for:
MPLS L2 VPN (Martini mode)
LDP over MPLS TE
.
Remote LDP

R1

HUAWEI TECHNOLOGIES CO., LTD.

R2

All rights reserved

R3

Page 14

LDP and TDPOverview


Functionally, TDP is a subset of LDP
TDP is Cisco private protocol

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 15

Summary

LDP message type:

Discovery message
Session message
Distribution message
Notification message
LDP important features

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 16

Thank You
www.huawei.com

Вам также может понравиться