LDP filtering

Unanswered Question
Aug 11th, 2008


I am trying to filter LDP label bindings to only advertise my loopback

address(for vpnv4 traffic) but I am unsure as to what the requirements are.

Here is what I have:

PE1#show ip route connected | in ^C

C is directly connected, Serial1/0

C is directly connected, Loopback0

C is directly connected, FastEthernet0/1

PE1#sh run | in tag

no tag-switching advertise-tags

tag-switching advertise-tags for ldp-filter

PE1#show access-lists ldp-filter

Standard IP access list ldp-filter

10 permit, wildcard bits (6 matches)

999 deny any (7 matches)


but still generates a binding for all my connected interfaces:

PE1#show mpls ldp bindings 24

tib entry:, rev 2

local binding: tag: imp-null

remote binding: tsr:, tag: 18


And the other side tags it with a label:


Type escape sequence to abort.

Tracing the route to

1 [MPLS: Label 18 Exp 0] 16 msec 52 msec 24 msec

2 24 msec 52 msec *


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
devang_etcom Tue, 08/12/2008 - 05:53


You can use

mpls ldp advertise-lable [vrf vrf-name] [interface interface | for prefix-access-list to peer-access-list

here you can specify, to which neighbor you want to send labels as well as for which selected prefixes...


Devang Patel


This Discussion