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:

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:

Use the following syntax to apply import and export policies.

config>router>ldp
export policy-name [policy-name...(up to 32 max)]
import policy-name [policy-name...(up to 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
            exit
----------------------------------------------