This section provides information to configure MPLS and RSVP-TE using the CLI.
Topics in this section include:
MPLS enables routers to forward traffic based on a label embedded in the packet header. A router examines the label to determine the next hop for the packet, instead of router address lookups to the next node when forwarding packets.
To implement MPLS on an LSP for outer tunnel and pseudowire assignment, the following entities must be configured:
At least one router interface and one system interface must be defined in the config>router>interface context in order to configure MPLS on an interface.
An EXP-inferred LSP (E-LSP) is an LSP that can support a variety of VLLs or traffic types. Up to eight types of traffic can be multiplexed over an E-LSP.
The prioritization of mission-critical traffic is handled by the settings of the three EXP bits. The EXP bits designate the importance of a particular packet. The classification and queuing at the Provider (P) or Provider Edge (PE) nodes typically take place based on the value of the EXP bits. Refer to the 7705 SAR Quality of Service Guide for more information on the use of EXP bits and differentiated services on the 7705 SAR.
To configure signaled LSPs, you must first create one or more named paths on the ingress router using the config>router>mpls>path command. For each path, the transit routers (hops) in the path are specified.
The 7705 SAR supports static and dynamic LSPs.
To configure MPLS-signaled (dynamic) LSPs, the LSP must run from an ingress LER to an egress LER. Configure the dynamic LSP only at the ingress router, and either configure the LSP to allow the router software to make the forwarding decisions or configure some or all routers in the LSP path statically. The LSP is set up by RSVP-TE signaling messages. The 7705 SAR automatically manages label values. Labels that are automatically assigned have values ranging from 1024 through 1 048 575 (see Label Values).
A static LSP is a manually configured LSP where the next hop IP address and the outgoing label are explicitly specified.
To establish a static LSP, an LSP must be configured from an ingress LER to an egress LER. Labels must be manually assigned and the label values must be within the range of 32 to 1023 (see Label Values).
To configure PW/VLL labels, the PW/VLL service must be configured. PW/VLL labels can be configured manually as statically allocated labels using any unused label within the static label range. Pseudowire/VLL labels can also be dynamically assigned by targeted LDP. Statically allocated labels and dynamically allocated labels are designated differently in the label information base.
PW/VLL labels are uniquely identified against a 7705 SAR, not against an interface or module.
As defined in RFC 3036, LDP Specification, and RFC 4447 Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP), label distribution is handled in the Downstream Unsolicited (DU) mode. Generic Label TLV is used for all setup and maintenance operations.
For static LSPs, the path and the label mappings and actions configured at each hop must be specified manually. RSVP-TE or LDP is not required for static LSPs.
For dynamic LSPs, RSVP-TE or LDP must be turned on. See RSVP and RSVP-TE or Label Distribution Protocol.
To implement dynamic pseudowire/VLL labels, entities must be enabled as follows:
When MPLS is enabled and either RSVP-TE or LDP is also enabled, MPLS uses RSVP-TE or LDP to set up the configured LSPs. For example, when you configure an LSP with both MPLS and RSVP-TE running, RSVP-TE initiates a session to create the LSP. RSVP-TE uses the local router as the RSVP-TE session sender and the LSP destination as the RSVP-TE session receiver. Once the RSVP-TE session is created, the LSP is set up on the path created by the session. If the session is not successfully created, RSVP-TE notifies MPLS; MPLS can then either initiate backup paths or retry the initial path.
This section provides information to configure MPLS and gives configuration examples of common configuration tasks. To enable MPLS on a 7705 SAR router, you must configure at least one MPLS interface. The MPLS interface is configured in the config>router> mpls context. The other MPLS configuration parameters are optional.
The following example displays an MPLS configuration output. The admin-group is configured in the config>router>if-attribute context and associated with the MPLS interface in the config>router>mpls>interface context.
This section provides a brief overview of the tasks to configure MPLS and provides the CLI commands.
The following protocols must be enabled on each participating router:
In order for MPLS to run, you must configure at least one MPLS interface in the config>router>mpls context.
Use the MPLS and RSVP-TE CLI syntax shown in the following information for:
Admin groups can signify link colors, such as red, yellow, or green, or some other link quality. Shared risk link groups (SRLGs) are lists of interfaces that share the same risk of failure due to shared resources. MPLS interfaces advertise the admin groups and SRLGs that they support. CSPF uses the information when paths are computed for constraint-based LSPs. CSPF must be enabled in order for admin groups and SRLGs to be relevant.
Admin groups and SRLGs are created in the config>router>if-attribute context. Other global parameters are created in the config>router>mpls context.
To configure global MPLS parameters, enter the following commands:
The following example displays a global MPLS configuration output.
The interface must exist in the system before it can be configured as an MPLS interface; refer to the 7705 SAR Router Configuration Guide for more information.
Once the MPLS protocol instance is created, the no shutdown command is not required since MPLS is administratively enabled upon creation. Configure the label-map parameters if the interface is used in a static LSP.
Use the following CLI syntax to configure an MPLS interface on a router:
The following example displays the interface configuration output.
When configuring an MPLS path for LSPs, the IP address of each hop that the LSP should traverse on its way to the egress router must be specified. The intermediate hops must be configured as either strict or loose, meaning that the LSP must take either a direct path from the previous hop router to this router (strict) or can traverse other routers (loose).
Use the following CLI syntax to configure a path:
The following example displays a path configuration output.
When configuring an LSP, you must specify the IP address of the egress router in the to statement. You must also specify the primary path to be used. Secondary paths can be explicitly configured or signaled upon the failure of the primary path. All other statements are optional.
The following displays an MPLS LSP configuration.
An LSP can be explicitly (manually) configured. The reserved range of static LSP labels is 32 to 1023. Static LSPs are configured on every node along the LSP path. The label’s forwarding information includes the address of the next hop router.
Use the following CLI syntax to configure a static LSP:
The following example displays the static LSP configuration output.
A fast-retry timer can be configured for static LSPs. When a static LSP is trying to come up, MPLS tries to resolve the ARP entry for the next hop of the LSP. This request may fail because the next hop might still be down or unavailable. In that case, MPLS starts a retry timer before making the next request. The fast-retry command allows the user to configure the retry timer so that the LSP comes up shortly after the next hop is available.
Use the following CLI syntax to configure a fast-retry timer for static LSPs:
Consider the following network setup in Figure 15. Assume that a manual bypass tunnel must be configured on Node B.
Disabled Options | Enabled Options |
|
|
The following example displays a bypass tunnel configuration output.
RSVP-TE is used to set up LSPs. RSVP-TE must be enabled on the router interfaces that are participating in signaled LSPs. The default values can be modified in the config>router>rsvp context.
Initially, interfaces are configured in the config>router>mpls>interface context. Only these existing (MPLS) interfaces are available to be modified in the config>router>rsvp context. Interfaces cannot be directly added in the rsvp context.
The following example displays an RSVP-TE configuration output.
RSVP-TE message pacing maintains a count of the messages that were dropped because the output queue for the egress interface was full.
Use the following CLI syntax to configure RSVP-TE message pacing parameters:
The following example displays an RSVP-TE message pacing configuration output.
This section discusses the following MPLS configuration management tasks:
The no form of the mpls command typically removes an MPLS instance and all associated information. However, MPLS must be disabled (shut down) and all SDP bindings to LSPs removed before an MPLS instance can be deleted. Once MPLS is shut down, the no mpls command deletes the protocol instance and removes all configuration parameters for the MPLS instance.
If MPLS is not shut down first, when the no mpls command is executed, a warning message on the console indicates that MPLS is still administratively up.
To delete the MPLS instance:
![]() | Note: You must shut down MPLS entities in order to modify parameters. Re-enable (no shutdown) the entity for the change to take effect. |
Some MPLS LSP parameters (such as primary and secondary), must be shut down before they can be edited or deleted from the configuration.
The following example displays an MPLS LSP configuration output. Refer to Configuring an MPLS Interface.
In order to modify path parameters, the config>router>mpls>path context must be shut down first.
The following example displays an MPLS path configuration output. Refer to Configuring MPLS Paths.
Use the show>service>router>static-lsp command to display a list of LSPs.
In order to modify static LSP parameters, the config>router>mpls>static-lsp lsp-name context must be shut down.
To modify an LSP:
The following example displays the static LSP configuration output.
To delete an interface from the MPLS configuration:
The following example displays the configuration output when interface “to-104” has been deleted.
This section discusses the following RSVP-TE configuration management tasks:
Only interfaces configured in the MPLS context can be modified in the rsvp context.
The no rsvp command deletes this RSVP-TE protocol instance and removes all configuration parameters for this RSVP-TE instance. The shutdown command suspends the execution and maintains the existing configuration.
The following example displays a modified RSVP-TE configuration output.
RSVP-TE message pacing maintains a count of the messages that were dropped because the output queue for the egress interface was full.
The following example displays a modified RSVP-TE message pacing configuration output. Refer to Configuring RSVP-TE Message Pacing Parameters.
Interfaces cannot be deleted directly from the RSVP-TE configuration. Because an interface is created in the mpls context and then configured in the rsvp context, it can only be deleted in the mpls context This removes the association from RSVP-TE.
Refer to Deleting an MPLS Interface.
This section provides information on the configuration and operation of the Segment Routing with Traffic Engineering (SR-TE) LSP. It covers the following topics:
To configure SR-TE, the user must first configure the prerequisite parameters.
First, configure the label space partition for the Segment Routing Global Block (SRGB) for all participating routers in the segment routing domain by using the mpls-labels>sr-labels command.
Enable segment routing, traffic engineering, and advertisement of router capability in all participating IGP instances in all participating routers by using the traffic-engineering, advertise-router-capability, and segment-routing commands.
Configure a segment routing tunnel MTU for the IGP instance, if required, by using the tunnel-mtu command.
Assign a node SID to each loopback interface that a router would use as the destination of a segment routing tunnel by using the node-sid command.
An SR-TE LSP can be configured as an LSP using the existing CLI command hierarchy under the MPLS context and specifying the sr-te LSP type.
A primary path can be configured for the SR-TE LSP.
Use the following CLI syntax to associate an empty path or a path with strict or loose explicit hops with the primary paths of the SR-TE LSP:
Use the following syntax to configure the path computation requests only (PCE-computed) or both path computation requests and path updates (PCE-controlled) to the PCE for a specific LSP:
The PCC LSP database is synchronized with the PCE LSP database using the PCEP PCRpt (PCE Report) message for LSPs that have the following commands enabled:
The PCE supports the computation of disjoint paths for two different LSPs originating or terminating on the same or different PE routers. To indicate this constraint to the PCE, the user must configure the PCE path profile ID and path group ID that the LSP belongs to. These parameters are passed transparently by the PCC to the PCE and are therefore opaque data to the router. Use the following syntax to configure the path profile and path group:
The association of the optional path group ID is to allow the PCE to determine which profile ID this path group ID must be used with. One path group ID is allowed per profile ID. The user can, however, enter the same path group ID with multiple profile IDs by executing this command multiple times. A maximum of five entries of path-profile [path-group] can be associated with the same LSP. More details of the operation of the PCE path profile are provided in the PCEP chapter.
Use the following syntax to configure the maximum number of labels that the ingress LER can push for a specific SR-TE LSP:
This command allows the user to reduce the SR-TE LSP label stack size by accounting for additional transport (including entropy), service, and other labels when packets are forwarded in a particular context. See Data Path Support for more information about label stack size requirements in various forwarding contexts. If the CSPF on the PCE or the router's hop-to-label translation cannot find a path that meets the maximum SR label stack, the SR-TE LSP will remain on its current path or will remain down if it has no path. The range is 1 to 11 labels with a default value of 6.
Configure the adjacency hold timer for the LFA or remote LFA backup next hop of an adjacency SID.
Use the following syntax to configure the length time that LTN or ILM records of an adjacency SID are kept:
While protection is enabled globally for all node SIDs and local adjacency SIDs when the user enables the loopfree-alternate option in IS-IS or OSPF at the LER and LSR, there are applications where the user wants traffic to never divert from the strict hop computed by CSPF for an SR-TE LSP. In that case, use the following syntax to disable protection for all adjacency SIDs formed over a particular network IP interface:
The following example shows the configuration of PCEP PCC parameters on LER routers that require peering with the PCE server:
The following example shows the configuration of a PCC-controlled SR-TE LSP that is not reported to the PCE:
The following example shows the configuration of a PCC-controlled SR-TE LSP that is reported to the PCE:
The following example shows the configuration of a PCE-computed SR-TE LSP that is reported to the PCE:
The following example shows the configuration of a PCE-controlled SR-TE LSP with no PCE path profile:
The following example shows the configuration of a PCE-controlled SR-TE LSP with a PCE path profile and a maximum label stack set to a non-default value: