LDP Export and Import Policy, Prefix Aggregation

ipcisco-icon-courses

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
	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”

Lesson tags: mpls, ldp
Back to: Nokia MPLS Course > Label Distribution Protocol (LDP)
Comments are closed.
IPCisco is the Winner of 2019 “Best Certification Study Journey” Category! We are also Finalist of 2020 & 2021 in Cisco IT Blog Awards!

Cisco-ITBlogAwards-2019-Winner-IPCisco-k
ITBlogAwards_2020_Badge-Finalist-BestCertStudy-ipcisco
ITBlogAwars-2021-ipcisco
IPCisco on Social Media!