Riverstone Networks WICT1-12 User Manual

Page 333

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 17-25

MPLS Configuration

LDP Configuration

The following shows LDP filter commands configured on the router rs1. The first command specifies that bindings for
6.6.6.6/32 from the neighbor router 6.6.6.6 are not to be used for LSP establishment. The second command allows all
other bindings from the same neighbor router to be accepted and used for LSP establishment. Note that the more
restrictive filter command has the lower sequence number and will be executed first.

Note that if you run the

ldp show database verbose

command on rs1 (see the following example), the label

binding for 6.6.6.6/32 appears in router rs1’s LDP database, but it is marked as “Filtered” (shown in boldface in the
example) and is therefore not considered on rs1 for LSP establishment.

rs1(config)# ldp add import-filter mapping network 6.6.6.6/32 restrict neighbor 6.6.6.6

sequence 1

rs1(config)# ldp add import-filter mapping network all neighbor 6.6.6.6 sequence 2

rs1# ldp show database verbose

Input label database, 1.1.1.1:0-6.6.6.6:0

Label Prefix

2051 1.1.1.1/32

State:Active

2052 3.3.3.3/32

State:Active

16 6.6.6.6/32

State:Active, Filtered

Output label database, 1.1.1.1:0-6.6.6.6:0

Label Prefix

2049 3.3.3.3/32

State:Active

16 1.1.1.1/32

State:Active

Input label database, 1.1.1.1:0-3.3.3.3:0

Label Prefix

2050 1.1.1.1/32

State:Active

16 3.3.3.3/32

State:Active

Output label database, 1.1.1.1:0-3.3.3.3:0

Label Prefix

2049 3.3.3.3/32

State:Active

16 1.1.1.1/32

State:Active

Advertising