07-05-2025 12:03 AM
If I have multiple customers behind PE1 and PE2 and create multiple tunnels, how can I make sure that traffice from particular customer goes through a specific tunnel. I tried using route map and apply with the neighbor statement under BGP vrf address family but it's not possible.
Is it possible to do load balance with MPLS TE, is it advisable, if yes than should it be with multiple tunnels or is it possible creating different path options for the same tunnel.
Can you suggest some good read on MPLS TE?
Solved! Go to Solution.
07-05-2025 06:38 AM
Hi @zeeshanbasit25789 ,
> If I have multiple customers behind PE1 and PE2 and create multiple tunnels, how can I make sure that traffice from particular > customer goes through a specific tunnel.
You can set a different next hop per vrf (for each customer) using the following way:
vrf definition customer1
bgp next-hop loopback 1
vrf definition customer2
bgp next-hop loopback 2
If you set a different next hop for each customer, let's say on PE1, you can then use a different tunnel on PE2 to get to each customer.
> Is it possible to do load balance with MPLS TE, is it advisable, if yes than should it be with multiple tunnels or is it possible creating > different path options for the same tunnel.
It is definitely possible to configure multiple tunnel interfaces, for example 2 tunnels from PE1 to PE2 and then load balance between the two tunnels. You can't load balance if you only have one tunnel, even if you have multiple path options, as only one path option would be active at any given time.
> Can you suggest some good read on MPLS TE?
07-05-2025 01:21 AM - edited 07-05-2025 01:23 AM
Hello @zeeshanbasit25789
You could use PBR like this as an example:
route-map cust1-To-TU100 permit 10
match ip address cust1-trafic
set interface Tunnel100
interface Gi0/0.10
vrf forwarding cust1
ip policy route-map cust1-To-TU100
--
07-05-2025 01:28 AM
You can use both solution
1- two different TE tunnel' only use IP dont use LO for IP unnumbered' then use TE tunnel IP in bgp
2- one TE tunnel with two different path options but that not make you select which path TE will use for specific traffic
So use op1
MHM
07-05-2025 01:32 AM
Hi @MHM Cisco World M02@rt37 ,
What about load balancing, is it advisable to do with MPLS and if yes, how can I load balance between tunnels because I have understood I cannot do that using multiple paths for the same tunnel.
07-05-2025 01:37 AM - edited 07-05-2025 01:37 AM
No, not in the way you’re thinking.
A single TE tunnel with multiple path-options (even if they’re all valid) will only install one active path at a time... The other path-options act as backup or failover options, not active load-balanced paths...
07-05-2025 01:40 AM
Load balance for op1 can do' you have two TE tunnel each one have it bgp path
In end you can have two bgp path and do laod balance between these two path
Op2 no you can not multi path per one TE tunnel give you redundacy not load balance' i.e. if one path is failed tunnel will use other path
MHM
07-05-2025 06:38 AM
Hi @zeeshanbasit25789 ,
> If I have multiple customers behind PE1 and PE2 and create multiple tunnels, how can I make sure that traffice from particular > customer goes through a specific tunnel.
You can set a different next hop per vrf (for each customer) using the following way:
vrf definition customer1
bgp next-hop loopback 1
vrf definition customer2
bgp next-hop loopback 2
If you set a different next hop for each customer, let's say on PE1, you can then use a different tunnel on PE2 to get to each customer.
> Is it possible to do load balance with MPLS TE, is it advisable, if yes than should it be with multiple tunnels or is it possible creating > different path options for the same tunnel.
It is definitely possible to configure multiple tunnel interfaces, for example 2 tunnels from PE1 to PE2 and then load balance between the two tunnels. You can't load balance if you only have one tunnel, even if you have multiple path options, as only one path option would be active at any given time.
> Can you suggest some good read on MPLS TE?
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