An MPLS TE tunnel is established and managed on a tunnel interface. Therefore, the tunnel interface must be configured on the ingress of an MPLS TE tunnel.
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 before the secondary IP address can be configured for the tunnel interface.
To configure the tunnel interface to borrow the IP address of another interface, run ip address unnumbered interface interface-type interface-number
An MPLS TE tunnel is unidirectional; therefore, its peer address is irrelevant to traffic forwarding. A tunnel interface uses the local LSR ID as its IP address, without the need to be assigned an IP address.
MPLS TE is configured as a tunnel protocol.
The destination address of a tunnel is configured, which is usually the LSR ID of the egress.
Various types of tunnels require specific destination addresses. If a tunnel protocol is changed to MPLS TE from another protocol, a configured destination address is deleted automatically and a new destination address needs to be configured.
The tunnel ID is configured.
The tunnel name carried in RSVP signaling messages is configured.
Perform this step to fulfill the following purposes:
Facilitate TE tunnel management.
Allow a Huawei device to be connected to a non-Huawei device that uses a tunnel name that differs from the tunnel interface name.
The bandwidth is set for an MPLS TE tunnel.
The bandwidth used by the tunnel cannot be higher than the maximum reservable link bandwidth.
The bandwidth used by a tunnel does not need to be set if only a path needs to be configured for an MPLS TE tunnel.
An explicit path is configured for an MPLS TE tunnel.
An explicit path does not need to be configured if only the bandwidth needs to be set for an MPLS TE tunnel.
A resource reservation style is configured.
The SE style is used in the make-before-break scenario, and the fixed filter (FF) style is used in a few scenarios.
Constraint shortest path first (CSPF) calculation is disabled when a TE tunnel is being established.
The mpls te cspf disable command is only applicable in the inter-AS VPN Option C scenario. In other scenarios, running this command is not recommended.
The configurations are committed.