0% found this document useful (0 votes)
15 views6 pages

MPLS Label Distribution Protocol, LDP - Part 5 (Export and Import Policy, Prefix Aggregation)

Uploaded by

citemurto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views6 pages

MPLS Label Distribution Protocol, LDP - Part 5 (Export and Import Policy, Prefix Aggregation)

Uploaded by

citemurto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

www.ipcisco.com
Challenge IP Networking
IPCisco
About
Network Tools
Technology Forecasts
Contact Us

MPLS Label Distribution Protocol, LDP – Part 5 (Export and


Import Policy, Prefix Aggregation)
Category: Alcatel-Lucent, LDP, MPLS
Author: gokhankosem, on 09 Apr 15 - 0 Comments
Like 0

Export and Import Policy


and Prefix Aggregation with LDP

LDP and Export Policy

By default ALU only distribute a label only for its system addresses. To distribute additional other local
prefixes, “export policy” is used.

You can find an “export-policy” example below:

A:>config router policy-options


begin
prefix-list “interface1”
prefix 10.0.0.6/24
exit
policy-statement “LDP_Export_Policy1”
entry 10
from
prefix-list “interface1”
exit
action accept
exit
exit
exit

1 di 6 24/09/2015 14:44
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

commit

To apply this “export policy” to an LDP, use the below command:

A:>config router ldp export “LDP_Export_Policy1”

LDP and Import Policy

By default ALU accepts all labels form all peers. But with “import policy” certain label bindings can be
rejected.

A:>config router policy-options


begin
policy-statement “LDP_Import_Policy1”
entry 10
action reject
exit
exit
commit

To apply this “import policy” to an LDP use the below command:

A:>config router ldp export “LDP_Import_Policy1”

LDP Aggregate Prefix Match

As you know we can do route summarization on routing protocols. By doing this, sometimes we cause
some missing information on the MPLS tables.

Think about two routes 10.0.0.1/32 and 10.0.0.2/32. If I summarize this like 10.0.0.0/24, then my MPLS
tables will be like below:

show router ldp bindings (LIB) => 10.0.0.1/32 and 10.0.0.2/32


show router fib 1 (FIB) => 10.0.0.0/24
show router ldp bindings active (LFIB) => Empty!!!

This is a problem. To avoid this situation, “aggregate-prefix-match” command must be issued under the
ldp. After the configuration, all the routes loaded in the LFIB.

A:>config router ldp aggregate-prefix-match

show router ldp bindings (LIB) => 10.0.0.1/32 and 10.0.0.2/32


show router fib 1 (FIB) => 10.0.0.0/24
show router ldp bindings active (LFIB) => 10.0.0.1/32 (push, swap) and 10.0.0.2/32 32 (push, swap)

This is also decrease the route table size in the big sized networks.

2 di 6 24/09/2015 14:44
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

MPLS Label Distribution Protocol, LDP – Part 1


MPLS Label Distribution Protocol, LDP – Part 2
MPLS Label Distribution Protocol, LDP – Part 3 (Configuration on ALU)
MPLS Label Distribution Protocol, LDP – Part 4 (ECMP)
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import Policy, Prefix Aggregation)
MPLS Label Distribution Protocol, LDP – Part 6 (T-LDP)
MPLS Label Distribution Protocol, LDP – Part 7 (CR-LDP)

For more information about LDP, T-LDP and CR-LDP, check the related following RFCs…

RFC 5036: LDP Specification


RFC 3815: Definitions of Managed Objects for the MPLS,LDP
RFC 3478: Graceful Restart Mechanism for Label Distribution Protocol
RFC 5443: LDP IGP Synchronization
RFC 7307: LDP Extensions for Multi-Topology
RFC 7361: LDP Extensions for Optimized MAC Address Withdrawal in a H-VPLS
RFC 3212: Constraint-Based LSP Setup using LDP
RFC 3213: Applicability Statement for CR-LDP
RFC 3214: LSP Modification Using CR-LDP

About the Author


Gokhan Kosem is a telecommunation and network engineer. His ambition
to IP networks and end-to-end system installation made him to prepare
this web-site. By sharing his experiences about various networking
protocols beside different system installation experiences and Cisco,
Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for
his collegues in all over the world. He is currently lives in Istanbul, Turkey.

Leave a Reply

Name (required)

E-Mail(required)

Url

3 di 6 24/09/2015 14:44
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

Search

Recent Articles
Alcatel-Lucent 5620 SAM (Service Avare Manager)
BGP – Part 4 (BGP Administrative Distance and BGP Path Attributes)
BGP – Part 2 (BGP Peers, BGP Sessions, BGP Messages)
BGP – Part 1
BGP – Part 3 (IBGP, IBGP Topologies and EBGP)
MPLS Label Distribution Protocol, LDP – Part 4 (ECMP)
MPLS Label Distribution Protocol, LDP – Part 3 (Configuration on Alcatel-Lucent Routers)
MPLS Label Distribution Protocol, LDP – Part 2
MPLS Label Distribution Protocol, LDP – Part 1
LTE Advanced (LTE-A) Features

Categories
2.5G GPRS (1)
2G GSM (1)
4G LTE (2)
Alcatel-Lucent (28)
Alcatel-Lucent (3)
Alcatel-Lucent (6)
Basic (19)
BGP (6)
Cisco (48)
DHCP (1)
ECMP (1)
EDGE (1)
EtherChannel (1)

4 di 6 24/09/2015 14:44
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

Ethernet (1)
Fast Reroute (9)
Forecasts (1)
Frame Relay (3)
General (1)
GLBP (2)
HSRP (3)
IES (4)
IES (3)
IES (3)
IPTV (2)
IPv4 (1)
IPv6 (9)
Juniper (20)
LACP (4)
LDP (8)
Link Aggregation (4)
Mobile (1)
MPLS (24)
NAT (5)
Network Management (5)
Network Monitoring (1)
OSPF (12)
Packet Tracer (10)
Packets (1)
PAgP (1)
Redundancy (5)
Routing (24)
RSVP-TE (2)
SAM (1)
Secondary Paths (9)
Services (12)
Services (3)
Services (6)
SNMP (5)
Static Routing (5)
STP (1)
switch security (2)
Switching (15)
TCP/IP (5)
Technology Forecasts (1)
Troubleshooting (1)
VLAN (8)
VPLS (6)
VPLS (3)
VPLS (3)
VPRN (6)
VPRN (3)
VPRN (3)
VPWS (7)
VPWS (3)

5 di 6 24/09/2015 14:44
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import P... http://ipcisco.com/mpls-label-distribution-protocol-ldp-part-5-export-a...

VPWS (6)
VRRP (2)
VTP (2)
Wireless (5)

Copy Protected by Chetans WP-Copyprotect.

6 di 6 24/09/2015 14:44

You might also like