H3C Technologies H3C SR8800 User Manual
Page 85

74
Step Command
1.
Enter system view.
system-view
2.
Create a static route for forwarding
traffic along an MPLS TE tunnel.
ip route-static dest-address { mask | mask-length }
{ next-hop-address [ track track-entry-number ] | interface-type
interface-number next-hop-address [ bfd { control-packet |
echo-packet } ] | vpn-instance d-vpn-instance-name
next-hop-address [ track track-entry-number ] } [ preference
preference-value ] [ tag tag-value ] [ description
description-text ]
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 the static routing configuration command, see
Layer 3—IP Routing
Command Reference.
Forwarding traffic along MPLS TE tunnels through automatic route advertisement
NOTE:
•
Automatic route advertisement is supported when the IGP is OSPF or ISIS.
•
To use automatic route advertisement, you must specify the destination address of the TE tunnel as the
LSR ID of the peer and advertise the tunnel interface address to IGPs, such as OSPF and ISIS.
Before configuring automatic route advertisement, enable OSPF or ISIS on the MPLS TE tunnel interface.
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.
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.
1.
Configure IGP shortcut
To configure IGP shortcut:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MPLS TE tunnel interface
view.
interface tunnel tunnel-number N/A
3.
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 ]
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.