Configuring a tunnel interface
To configure an MPLS TE tunnel, you must create an MPLS TE tunnel interface and enter tunnel interface view. All MPLS TE tunnel attributes are configured in tunnel interface view. For more information about tunnel interfaces, see Layer 3—IP Services Configuration Guide.
Perform this task on the ingress node of the MPLS TE tunnel.
To configure a tunnel interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an MPLS TE tunnel interface and enter tunnel interface view. | interface tunnel tunnel-number mode mpls-te | By default, no tunnel interface is created. |
3. Configure an IP address for the tunnel interface. | ip address ip-address { mask-length | mask } | By default, a tunnel interface does not have an IP address. |
4. Specify the tunnel destination address. | destination ip-address | By default, no tunnel destination address is specified. |