08-28-2007 01:23 PM
Hi!,
I have two TE tunnels for the same destination and I would like to send traffic to one or the other based on it ip DSCP field.
?does someone has any link to similar configs?
Regards,
Roque
08-28-2007 01:54 PM
Roque,
You can use Class Based Tunnel Selection to achieve this.
http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a00802659b9.html
Hope this helps,
08-29-2007 01:16 PM
Hi, thanks for the reply. I do have some extra question.
what if I would like to split traffic between the two tunnels based on the origin/destination IP address? (if we configure the tunnel at the MPLS PE), can I set at an input interface "set next-hop interface tunnel XXX"?
Roque
08-30-2007 07:02 AM
Roque, If you are planning to test the above policy based TE selection for MPLS VPN;s then you can create additional loopbacks on the remote PE, put a static on the local PE to this remote loopback as reachable through the TE tunnel.
And then modify the incoming BGP VPN update's next hop as this remote loopback, for the VPN;s which you want this policy to be applied. So only the VPN;s where this manipulation is done would take the TE tunnel other would go the normal path.
HTH-Cheers,
Swaroop
08-30-2007 07:29 AM
Swaroop,
Instead of modifying the BGP VPN NH on the ingress PE, you can simply configure a separate NH per VRF on the egress PE using the following command:
ip vrf VRF1
bgp next-hop loopback 1
ip vrf VRF2
bgp next-hop loopback 2
Regards,
08-30-2007 08:08 AM
Roque, as Harold mentioned, it can be done this way as well. Multiple ways of doing the same thing.
HTH-Cheers,
Swaroop
08-30-2007 09:12 AM
Completely agree Swaroop.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide