A tunnel interface must be created before an MPLS TE tunnel is established on an ingress.
The system view is displayed.
A tunnel interface is created, and the tunnel interface view is displayed.
To assign an IP address to the tunnel interface, run ip address ip-address { mask | mask-length } [ sub ]
The primary IP address must be configured prior to the secondary IP address for the tunnel interface.
Although an IP address on a tunnel interface enables an MPLS TE tunnel to forward traffic, the MPLS TE tunnel does not need to be assigned a separate IP address because it is unidirectional. Therefore, a tunnel interface usually borrows a loopback address, which is used as the LSR ID of the ingress.
MPLS TE is configured as a tunnel protocol.
The destination address is configured for the tunnel. It is usually the LSR ID of the egress.
Various types of tunnels have different requirements for destination addresses. If a tunnel protocol is changed to MPLS TE, the destination address configured using the destination command is automatically deleted and needs to be reconfigured.
The tunnel ID is configured.
Static CR-LSP signaling is configured.
The bidirectional LSP attribute is configured.
The configuration is committed.