Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

vrf traffic over mpls te tunnel

Hi.

I have MP-BGP/MPLS in my network and different customers vpns. For example, i'd like to put traffic of certain VRF to certain MPLS TE tunnel. I think it is possible to use PBR or static routing, but in this case i have to do a lot of manual configuration.

Is there more dynamic way?

5 REPLIES
Bronze

Re: vrf traffic over mpls te tunnel

Hi

U can have one more loopback in PE router and make that extra loopback as next-hop in MP-BGP for that specific VRF. Then build a TE tunnel to the extra loopback so that only specific VRF trafic will flow via TE..

int loopback 100

description extra loopback for specfic vrf

ip add a.b.c.d 255.255.255.255

ip vrf forwarding test

rd abc

route-target export abc

route-target import abc

bgp next-hop loopback 100 -- This will make loopback 100 as the nexthop for vrf test. For rest of the vrf next-hop would be loopback 0.

int Tunnel 1

tunnel mpls traffic-eng

tunnel destination a.b.c.d

HTH...

Cisco Employee

Re: vrf traffic over mpls te tunnel

Hi,

Just a little addition to the config in the previous post. The MPLS TE tunnel destination MUST be the IGP (OSPF or ISIS) TE router ID. Another "IP address" will not work, i.e. the tunnel will not come up.

So the modification required is:

interface tunnel1

ip unnumbered loopback0

tunnel mode mpls traffic-eng

mpls ip

...

ip route a.b.c.d 255.255.255.255 tunnel1

Hope this helps! Please use the rating system.

Regards, Martin

New Member

Re: vrf traffic over mpls te tunnel

Yes, it works. Thanks a lot, guys!

Bronze

Re: vrf traffic over mpls te tunnel

Hi Pros,

I would like to know are there any other ways apart from the above mentioned to divert a specific VRF or L2MPLS traffic via TE tunnel.

Thanks in advance..

Silver

Re: vrf traffic over mpls te tunnel

There is no other way I know of for elegantly routing VRF to a specific TE tunnel...However, in a L2VPN pseudowire, under the pseudowire-class configuration you can specify the next-hop interface which can be a TE tunnel.

Let me know if this clarifies.

319
Views
9
Helpful
5
Replies
CreatePlease to create content