Before importing traffic to an MPLS TE tunnel, familiarize yourself with the usage scenario, complete the pre-configuration tasks for the configuration.
Methods to Import Traffic to an MPLS TE Tunnel |
Principles |
Usage Scenario |
Related Configuration Links |
---|---|---|---|
Use static routes |
This is the simplest method for importing the traffic to an MPLS TE tunnel. You only need to configure a static route with a TE tunnel interface as the outbound interface. |
Scenario where public-network routes are used to import traffic to a TE or LDP over TE tunnel |
|
Use the auto route mechanism |
A TE tunnel is used as a logical link for IGP route calculation. A tunnel interface is used as an outbound interface of a route. The auto route mechanism can be implemented in either of the following modes:
|
||
Policy-Based Routing |
The policy-based routing (PBR) allows a device to select routes based on user-defined policies. TE PBR, the same as IP unicast PBR, is implemented by defining a set of matching rules and behaviors. The rules and behaviors are defined using the apply clause with a TE tunnel interface used as an outbound interface. If packets do not match PBR rules, they are properly forwarded using IP; if they match PBR rules, they are forwarded over specific tunnels. |
- |
|
Tunnel Policy |
By default, VPN traffic is forwarded through LDP LSPs tunnels. If the default LDP LSPs cannot meet VPN traffic requirement, a tunnel policy is used to direct VPN traffic to a TE tunnel. The tunnel policy may be a tunnel type prioritizing policy or a tunnel binding policy. Select either of the following policies as needed:
|
VPN scenario |
The preceding methods to import traffic to MPLS TE tunnels apply only to P2P tunnels.