beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 123

background image

112

NOTE:

The

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

value must be set.
For more information about static routing, see

Layer 3—IP Routing Configuration Guide.

Forwarding traffic along MPLS TE tunnels through automatic route advertisement

NOTE:

Automatic route advertisement is available depending on your device.

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 can 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.
Enable OSPF or IS-IS on the tunnel interface of the MPLS TE tunnel before configuring automatic route

advertisement.

1.

Configure IGP shortcut

Follow these steps to configure IGP shortcut:

To do…

Use the command...

Remarks

Enter system view

system-view

––

Enter MPLS TE tunnel interface view interface tunnel tunnel-number ––

Configure the IGP to take the MPLS
TE tunnels in up state into account

when performing enhanced SPF
calculation

mpls te igp shortcut [ isis |
ospf ]

Required
MPLS TE tunnels are not considered in
the enhanced SPF calculation of IGP.
If no IGP type is specified, the

configuration applies to both OSPF

and ISIS by default.

Assign a metric to the MPLS TE
tunnel

mpls te igp metric { absolute |
relative } value

Optional
The metrics of TE tunnels equal the

metrics of their corresponding IGP
routes by default.

Submit current tunnel configuration mpls te commit

Required

Exit to system view

quit

––

Enter OSPF view

ospf [ process-id ]

––