cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1463
Views
4
Helpful
4
Replies

Advertise implicit-null label for static routes

calvin.chu
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

4 Replies 4

shivlu jain
Level 5
Level 5

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

no mpls advertise-label

mpls advertise label for

regards

shivlu

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

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Yes, I have both commands working for my case.