A SERVICE OF

logo

1628 CHAPTER 96: MPLS TE CONFIGURATION COMMANDS
mpls te path explicit-path
Syntax mpls te path explicit-path pathname
undo mpls te path
View Tunnel interface view
Parameter pathname: Name of an MPLS-TE explicit path, a string of 1 to 31 characters.
Description Use the
mpls te path explicit-path command to associate an explicit path with
the tunnel.
Use the
undo mpls te path command to remove the association.
Example # Configure interface Tunnel0 to use the explicit path named path1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te path explicit-path path1
mpls te path metric-type
Syntax mpls te path metric-type { igp | te }
undo mpls te path metric-type
View MPLS view, tunnel interface view
Parameter igp: Uses IGP metric for tunnel routing.
te: Uses TE metric for tunnel routing.
Description Use the
mpls te path metric-type command in MPLS view to specify the link
metric type used for routing tunnels not configured with link metric type.
Use the
mpls te path metric-type command in tunnel interface view to specify
the link metric type used for routing current tunnel.
Use the
undo mpls te path metric-type command to restore the default. This
undo form is only available in tunnel interface view.
By default, TE metrics of links are used in path calculation for TE tunnels.
Related command: mpls te metric.
Example In MPLS view: