set mpls-label in MPLS VPN MP-EBGP multihop

Unanswered Question
Jul 31st, 2008
User Badges:
  • Gold, 750 points or more

Hi,


I just want to know in MPLS VPN where you have MP-EBGP multihop session between PEs not ASBR... so when do we need to use set mpls-label to set the MPLS label... as we are using send-labels on ASBRs...

Actually I want to know in which case or scenario do we need to use route-map to set mpls-label?


regards

Devang Patel

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
lee.reade Thu, 07/31/2008 - 23:48
User Badges:
  • Silver, 250 points or more

Hi,


You only need to use the set-mpls label when you are filtering the VPNV4 routes that you want to send to a VPNV4 BGP peer.


Ie, if you were filtering the routes via a route-map matching a prefix list, then you would put the set-mpls label in the route-map entry with the permit clause.


Ie.


route-map rmap deny 10

match ip address access-list 101

route-map rpmap permit 10

match ip address prefix filt

set-mpls label


HTH


LR

Harold Ritter Mon, 08/04/2008 - 12:29
User Badges:
  • Cisco Employee,

Devang,


"set mpls-label" is only useful with IPv4 + label, not with VPNv4. This command is usually configured on the ASBR to only send label for loopback addresses to the other AS.


Regards,

devang_etcom Mon, 08/04/2008 - 20:30
User Badges:
  • Gold, 750 points or more

Hritter,



SO does it means I will advertise only desire prefixes with the labels only right?


and what is use of match mpls-label on other hand... does it accept or redistribute prefix with only mpls label?


regards

Devang Patel

Harold Ritter Tue, 08/05/2008 - 05:01
User Badges:
  • Cisco Employee,

Devang,


VPNv4 includes a label per prefix. You can't change that.


With IPv4 + label though, it is possible to select which prefixes will have a label or not.


Regards,

Actions

This Discussion