Common Configuration Tasks
Page 258 7210 SAS M, T, X, R6, Mxp MPLS Configura-
tion Guide
Applying Export and Import Policies
Both inbound and outbound label binding filtering are supported. Inbound filtering allows a route 
policy to control the label bindings an LSR accepts from its peers. An import policy can accept or 
reject label bindings received from LDP peers. 
Label bindings can be filtered based on:
• Neighbor — Match on bindings received from the specified peer.
• Interface — Match on bindings received from a neighbor or neighbors adjacent over the 
specified interface.
• Prefix-list — Match on bindings with the specified prefix/prefixes.
Outbound filtering allows a route policy to control the set of LDP label bindings advertised by the 
LSR. An export policy can control the set of LDP label bindings advertised by the router. By 
default, label bindings for only the system address are advertised and propagate all FECs that are 
received. 
Matches can be based on: 
• Loopback — loopback interfaces.
• All — all local subnets.
• Match — match on bindings with the specified prefix/prefixes.
Use the following syntax to apply import and export policies:
CLI Syntax: config>router>ldp
export policy-name [policy-name...(upto 32 max)]
import policy-name [policy-name...(upto 32 max)]
A:ALU_SIM11>config>router>ldp# info
----------------------------------------------
            aggregate-prefix-match
                prefix-exclude "sample"
            exit
            graceful-restart
            exit
            peer-parameters
                peer 1.1.1.1
                    ttl-security 1
                exit
            exit
            interface-parameters
                interface "a"
                exit
            exit
            targeted-session