beautypg.com

Configuration procedures, Forwarding traffic along mpls te tunnels, Using static routes – H3C Technologies H3C S7500E Series Switches User Manual

Page 114: Through automatic route advertisement

background image

3-32

Configuration Procedures

Configuring traffic forwarding involves these tasks:

z

Forwarding traffic along MPLS TE tunnels using static routes

z

Forwarding traffic along MPLS TE tunnels through automatic route advertisement

Forwarding traffic along MPLS TE tunnels using static routes

Follow these steps to create static routes for routing traffic along an MPLS TE tunnel:

To do…

Use the command...

Remarks

Enter system view

system-view

––

Create a static route for forwarding

traffic along an MPLS TE tunnel

ip route-static dest-address

{ mask | mask-length }

interface-type interface-number

[ gateway-address ] |

vpn-instance

d-vpn-instance-name

gateway-address

} [ preference

preference-value

] [ tag tag-value ]

[ description description-text ]

Required

z

The interface-type argument in the ip route-static command must be tunnel. In addition, the
preference value must be set.

z

For more information about static routing, see Static Routing Commands in the Layer 3 - IP

Routing Command Reference

.

Forwarding traffic along MPLS TE tunnels through automatic route advertisement

Two approaches, IGP shortcut and forwarding adjacency, are available to automatic route
advertisement to advertise MPLS TE tunnel interface routes to IGPs, allowing traffic to be routed down
MPLS TE tunnels.

In either approach, TE tunnels are considered point-to-point links and TE tunnel interfaces can be set
as outgoing interfaces.

IGP shortcut and forwarding adjacency are different in that in the forwarding adjacency approach,
routes with TE tunnel interfaces as outgoing interfaces are advertised to neighboring devices but not
in the IGP shortcut approach. Therefore, TE tunnels are visible to other devices in the forwarding
adjacency approach but not in the IGP shortcut approach.

You may assign a metric, either absolute or relative, to TE tunnels for the purpose of path calculation
in either approach. If it is absolute, the metric is directly used for path calculation. If it is relative, the
cost of the corresponding IGP path must be added to the metric before it can be used for path
calculation.