LDP Export and Import Policy, Prefix Aggregation

ipcisco-icon-courses

LDP and Export Policy

By default Nokia 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 reject

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.
Latest Blog Posts