Advertise implicit-null label for static routes

Answered Question
Apr 28th, 2008
User Badges:

Hi, I want to ask if there is any way to change the label or stop adveritise label for an static route. Normally LDP advertises an Implicit Null label for directly connected routes. We want to do similar thing for static routes.


We need to do this is because somehow we need to do rate-limit on the PE interface connecting to the core network instead of the interface connecting to CE. As the incoming packets still got labelled, the rate-limit is skipped. So we want to stop the PE creates label for the static routes or advertises them with implicit null label. Thanks in advance.



Correct Answer by Harold Ritter about 8 years 11 months ago

Calvin,


Bear in mind that if you only enter the "no mpls ldp advertise-label" command, LDP will stop propagating all labels, which might not ba what you want. If you selectively want to propagate certain labels, then you need to also use "mpls advertise label for " as Shivlu suggested.


Regards,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
shivlu jain Mon, 04/28/2008 - 05:37
User Badges:
  • Silver, 250 points or more

you can create a acl and advertise the label only what you arelooking for.


no mpls advertise-label

mpls advertise label for


regards

shivlu

calvin.chu Tue, 04/29/2008 - 00:31
User Badges:

Thanks. "no mpls ldp advertise-label" works for me.

Correct Answer
Harold Ritter Tue, 04/29/2008 - 05:03
User Badges:
  • Cisco Employee,

Calvin,


Bear in mind that if you only enter the "no mpls ldp advertise-label" command, LDP will stop propagating all labels, which might not ba what you want. If you selectively want to propagate certain labels, then you need to also use "mpls advertise label for " as Shivlu suggested.


Regards,

Actions

This Discussion