Enabling MPLS TE on each node in an SR-MPLS domain is the prerequisites for configuring an SR-MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run mpls lsr-id lsr-id
The LSR ID is set for the local node.
Note the following issues when setting an LSR ID:
LSR IDs must be set before other MPLS commands are run.
No default LSR ID is available.
Using the IP address of a loopback interface as the LSR ID is recommended for an LSR.
- Run mpls
The MPLS view is displayed.
- Run mpls te
MPLS TE is enabled globally.
- (Optional) Enable interface-specific MPLS TE.
In a scenario where the controller or ingress performs path computation, interface-specific MPLS TE must be enabled. In a static explicit path mode, this step can be ignored.
- Run quit
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface on which the MPLS TE tunnel is established is displayed.
- Run mpls
MPLS is enabled on an interface.
- Run mpls te
MPLS TE is enabled on the interface.
- Run commit
The configuration is committed.