LDP Export and Import Policy, Prefix Aggregation

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”