Applying Export And Import Policies - Alcatel-Lucent 7450 Manual

Ethernet service switch
Table of Contents

Advertisement

Applying Export and Import Policies

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. All other local interface FECs can be advertised using policies. Beware that the system
IP address AND static FECs cannot be blocked using an export policy.
Matches can be based on:
Use the following syntax to apply import and export policies:
CLI Syntax: config>router>ldp
The following displays export and import policy configuration examples.
A:ALA-1>config>router# info
----------------------------------------------
Page 626
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.
Loopback — loopback interfaces.
All — all local subnets.
Match — match on bindings with the specified prefix/prefixes.
export policy-name [policy-name...(upto 32 max)]
import policy-name [policy-name...(upto 32 max)]
export "LDP-export"
fec-originate 100.1.1.1/32 pop
fec-originate 100.2.1.1/32 advertised-label 1000 next-hop 10.10.1.2
import "LDP-import"
session-parameters
exit
interface-parameters
exit
targeted-session
exit
7450 ESS MPLS Guide

Advertisement

Table of Contents
loading

Table of Contents