No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS QoS, MPLS TE, and MPLS common features, and provides configuration examples.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring Tunnel Constraints
(Optional) Configuring Tunnel Constraints
Context
Constraints such as bandwidth and explicit path attributes can be configured on the ingress to accurately
and flexibly establish an RSVP-TE tunnel.
Perform the following
configurations on the ingress node of an MPLS TE tunnel.
You need to configure an explicit
path before you can configure constraints on the explicit path.
An explicit path refers to a vector path on which a series of
nodes are arranged in configuration sequence. The IP address of an
interface on the egress is usually used as the destination address
of the explicit path. Links or nodes can be specified for an explicit
path so that a CR-LSP can be established over the specified path,
facilitating resource allocation and efficiently controlling CR-LSP
establishment.
Two adjacent nodes are connected in either of
the following modes on an explicit path:
Strict: Two consecutive hops must be directly
connected. This mode strictly controls the path through which the
LSP passes.
Loose: Other nodes may exist between a hop and its next hop.
The strict and loose modes are used either separately or together.
After constraints are configured for
tunnel establishment, a CR-LSP is established over a path calculated
by CSPF.
Procedure
Configure an MPLS TE explicit path.
Run system-view
The system view is displayed.
Run explicit-pathpath-name
An explicit path is created and the
explicit path view is displayed.
Run next hopip-address [ include [ [ loose | strict ] | [ incoming | outgoing ] ] * | exclude ]
A next-hop address is specified for the explicit path.
By default, the include strict parameters are configured, meaning that a hop and its next hop must
be directly connected. An explicit path can be configured to pass
through a specified node or not to pass through a specified node.
Either of the following parameters can be configured:
incoming: sets the ip-address to the IP address of an inbound interface of a next-hop node.
outgoing: sets the ip-address to the IP address of an outbound interface of a next-hop node.
You can run the following commands to add, modify, or
delete nodes on the explicit path.
Run list hop [ ip-address ]
Information about nodes on the
explicit path is displayed.
Run add hopip-address1 [ include [ [ loose | strict ] | [ incoming | outgoing ] ] * | exclude ] { after | before } ip-address2
A node is added to the explicit
path.
By default, the include strict parameters are configured, meaning that a hop and its next hop must
be directly connected. An explicit path can be configured to pass
through a specified node or not to pass through a specified node.
Either of the following parameters can be configured:
incoming: sets the ip-address1 to the IP address of an inbound interface of a new-added node.
outgoing: sets the ip-address1 to the IP address of an outbound interface of a new-added node.
The address of a node is
changed to allow another specified node to be used by the explicit
path.
By default, the include strict parameters are configured, meaning that a hop and its next hop must
be directly connected. An explicit path can be configured to pass
through a specified node or not to pass through a specified node.
Either of the following parameters can be configured:
incoming: sets the ip-address2 to the IP address of an inbound interface of the modified node.
outgoing: sets the ip-address2 to the IP address of an outbound interface of the modified node.
Run delete hopip-address
A node is deleted from the explicit
path.
Configure tunnel constraints.
Run system-view
The system view is displayed.
Run interface tunneltunnel-number
The tunnel interface
view is displayed.
Run mpls te bandwidth { ct0ct0-bw-value | ct1ct1-bw-value }
The bandwidth is configured for the tunnel.
The
bandwidth used by the tunnel cannot be greater than the maximum reservable
link bandwidth.
Ignore this step if only an explicit path
is required.
The configured bandwidth takes effect only during tunnel
establishment and protocol negotiation, and does not limits the bandwidth
for traffic forwarding. (S5720HI does not have this restriction.)
Run mpls te path explicit-pathpath-name
An explicit path
is configured for the tunnel.
Ignore this step
if only the bandwidth needs to be specified.