Configuring the MPLS TE Tunnel Interface

This section describes how to configure the MPLS TE tunnel interface. You must create a tunnel interface before setting up an MPLS TE tunnel.

Context

Perform the following steps on the ingress of a static CR-LSP:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    The tunnel interface is created, and the tunnel interface view is displayed.

  3. To configure the IP address of the tunnel interface, select one of the following commands.

    • To specify the IP address of the tunnel interface, run ip address ip-address { mask | mask-length } [ sub ]

      The secondary IP address of the tunnel interface can be configured only after the primary IP address is configured.

    • To borrow an IP address from another interface, run ip address unnumbered interface interface-type interface-number

    An MPLS TE tunnel can be established even if the tunnel interface is assigned no IP address. The tunnel interface must obtain an IP address before forwarding traffic. An MPLS TE tunnel is unidirectional; therefore, its peer address is irrelevant to traffic forwarding. A tunnel interface does not need to be assigned an IP address but uses the ingress LSR ID as its IP address.

  4. Run tunnel-protocol mpls te

    MPLS TE is configured as a tunneling protocol.

  5. Run destination ip-address

    The destination address of the tunnel is configured, which is usually the LSR ID of the egress node.

  6. Run mpls te tunnel-id tunnel-id

    The tunnel ID is set.

  7. Run mpls te signal-protocol cr-static

    Static CR-LSP is configured as a signaling protocol of the tunnel.

  8. Run commit

    The configurations are committed.

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