Community discussions

MikroTik App
 
meth
newbie
Topic Author
Posts: 26
Joined: Tue Jan 17, 2006 7:24 pm
Location: Greece

MPLS/LDP Label binding filtering not working?

Tue Dec 12, 2023 7:57 pm

Hi,
I'm running ROS 7.12.1 OSPF/MPLS between CCR1036-RB5009-NP16P, I would like to allow via LDP to pass only necessary loopback IP addresses 10.254.200.0/24 , by using
/mpls ldp advertise-filter
add advertise=yes disabled=no prefix=10.254.200.0/24 vrf=main
add advertise=no disabled=no prefix=0.0.0.0/0 vrf=main
/mpls ldp accept-filter
add accept=yes disabled=no prefix=10.254.200.0/24 vrf=any
add disabled=no prefix=0.0.0.0/0 vrf=any
But doesn't work, still on routing table appear all LDP routes from all other routers.
Even on /mpls lpd accept-filter if allow only a specific neighbor, again passes all other routers LDP labels.
Do i missed something on configuration or its a bug?
 
sri2007
Member Candidate
Member Candidate
Posts: 209
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: MPLS/LDP Label binding filtering not working?

Tue Apr 30, 2024 2:12 am

Those filters will be applied to the labels, not the routing-table, if you want to see them in action the best place will be at /mpls ldp remote-mapping print. If you want to also removed them from the routing-table, then you'll need to add routing-filters to OSPF, which are also local (unless that your router is an ABR/ASBR so you can filter some LSAs between areas or between routing-protocols), the OSPF LSAs will be flushed across the entire area so each router will have that information.

Who is online

Users browsing this forum: No registered users and 1 guest