Configuring an MPLS TE Explicit Path

An explicit path is configured on the ingress of an MPLS TE tunnel to define the nodes through which the MPLS TE tunnel passes and the nodes that are excluded from the MPLS TE tunnel.

Context

An explicit path consists of a series of nodes. These nodes are arranged in sequence and form a vector path. An IP address for an explicit path is an interface IP address on every node. The loopback IP address of the egress node is used as the destination address of an explicit path.

Two adjacent nodes on an explicit path are connected in either of the following modes:

  • Strict: A hop is directly connected to its next hop.

  • Loose: Other nodes may exist between a hop and its next hop.

The strict and loose modes can be used simultaneously.

TE tunnels are classified into the following types:

  • Intra-area tunnel: A TE tunnel is in a single OSPF or IS-IS area, but not in an autonomous system (AS) running the Border Gateway Protocol (BGP).

  • Inter-area tunnel: A TE tunnel traverses multiple OSPF or IS-IS areas, but not BGP ASs.

A strict explicit path is used to establish an inter-area TE tunnel, on which a next hop can only be an area border router (ABR) or an autonomous system boundary router (ASBR).

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run explicit-path path-name

    An explicit path is created and the explicit path view is displayed.

  3. Run next hop ip-address [ include [ [ strict | loose ] | [ incoming | outgoing ] ] * | exclude ]

    The next-hop address is specified for the explicit path.

    The include parameter indicates that the tunnel does pass through a specified node; the exclude parameter indicates that the tunnel does not pass through a specified node.

  4. (Optional) Run add hop ip-address1 [ include [ [ strict | loose ] | [ incoming | outgoing ] ] * | exclude ] { after | before } ip-address2

    A node is added to the explicit path.

  5. (Optional) Run modify hop ip-address1 ip-address2 [ include [ [ strict | loose ] | [ incoming | outgoing ] ] * | exclude ]

    The address of a node on an explicit path is changed.

  6. (Optional) Run delete hop ip-address

    A node is excluded from an explicit path.

  7. (Optional) Run list hop [ ip-address ]

    Information about nodes on an explicit path is displayed.

  8. Run commit

    The configurations are committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >