- Title
- New and Changed Information
- Preface
-
- Configuring Basic MPLS TE
- Configuring Automatic Bandwidth Adjustment for MPLS TE Tunnels
- Configuring MPLS TE RSVP
- Configuring the Path Selection Metric for MPLS TE Tunnels
- Configuring LSP Attributes for MPLS TE
- Configuring MPLS TE Verbatim Paths
- Configuring MPLS TE Forwarding Adjacency
- Configuring MPLS TE Path Protection
- Configuring MPLS TE Fast Reroute Link and Node Protection
- Configuration Limits for Cisco NX-OS MPLS
- RFCs
- Finding Feature Information
- Information About MPLS Static Label Binding
- Licensing Requirements for MPLS Static Label Binding
- Prerequisites for MPLS Static Label Binding
- Guidelines and Limitations for MPLS Static Label Binding
- Default Settings for MPLS Static Label Binding
- Configuring MPLS Static Label Binding
- Verifying the MPLS Static Label Binding Configuration
- Configuration Examples for MPLS Static Label Binding
- Additional References for MPLS Static Label Binding
- Feature History for MPLS Static Label Binding
Configuring MPLS Static Label Binding
This chapter describes how to configure Multiprotocol Label Switching (MPLS) static label binding on Cisco NX-OS devices.
This chapter includes the following sections:
- Finding Feature Information
- Information About MPLS Static Label Binding
- Licensing Requirements for MPLS Static Label Binding
- Prerequisites for MPLS Static Label Binding
- Guidelines and Limitations for MPLS Static Label Binding
- Default Settings for MPLS Static Label Binding
- Configuring MPLS Static Label Binding
- Verifying the MPLS Static Label Binding Configuration
- Configuration Examples for MPLS Static Label Binding
- Additional References for MPLS Static Label Binding
- Feature History for MPLS Static Label Binding
Finding Feature Information
Your software release might not support all the features documented in this module. For the latest caveats and feature information, see the Bug Search Tool at https://tools.cisco.com/bugsearch/ and the release notes for your software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the “New and Changed Information” chapter or the Feature History table below.
Information About MPLS Static Label Binding
The MPLS static label binding feature enables you to configure:
- MPLS static labels to be used in the core of the MPLS network instead of dynamic labels. Because these labels are exchanged by LDP, they are not VRF-aware as LDP runs only the default VRF on Cisco NX-OS.
- MPLS virtual private network (VPN) static labels to be used at the edge of an MPLS VPN. These labels are VRF-aware because they correspond to a prefix in a particular VRF.
Note
Cisco NX-OS does not support the allocation of aggregate MPLS VPN static labels on a per-VRF basis.
The following topics provide information about MPLS static labels:
- Overview of MPLS Static Labels and LDP VRF-Aware Static Labels
- Labels Reserved for Static Assignment
Overview of MPLS Static Labels and LDP VRF-Aware Static Labels
Label switch routers (LSRs) dynamically learn the labels that they should use to label-switch packets by using the following label distribution protocols:
- Label Distribution Protocol (LDP), which is the Internet Engineering Task Force (IETF) standard used to bind labels to network addresses
- Resource Reservation Protocol (RSVP), which is used to distribute labels for traffic engineering (TE)
- Border Gateway Protocol (BGP), which is used to distribute labels for MPLS VPNs
The LSR installs the dynamically learned label into its label forwarding information base (LFIB).
You can configure static labels for the following purposes:
- To bind labels to IPv4 prefixes to support MPLS hop-by-hop forwarding through neighbor routers that do not implement LDP label distribution. MPLS static labels allow you to configure entries in the MPLS forwarding table and assign label values to forwarding equivalence classes (FECs) that are learned by IGP. You can manually configure an LSP without setting up an LDP session between the endpoints.
- To statically bind a VRF-aware label on a provider edge (PE) router to a customer network prefix (VPN IPv4 prefix). You can use VRF-aware static labels with non-default VRF tables so that you can use the labels at the VPN edge. VRF-aware static labels are advertised by VPNv4 BGP in the backbone.
Labels Reserved for Static Assignment
Before you can manually assign labels, you must reserve a range of labels to be used for the manual assignment. Reserving the labels ensures that the labels are not dynamically assigned.
Licensing Requirements for MPLS Static Label Binding
Prerequisites for MPLS Static Label Binding
Guidelines and Limitations for MPLS Static Label Binding
MPLS static label binding has the following configuration guidelines and limitations:
- Static local labels preempt dynamically allocated labels.
- Configuring static local labels for connected routes is not supported.
- LDP-learned remote labels are preferred over locally configured outgoing labels.
- Static outgoing labels should match the next-hop’s incoming labels.
- VRF is not supported for static outgoing labels.
- LDP is not supported in non-default VRFs.
Default Settings for MPLS Static Label Binding
Table 8-1 lists the default settings for MPLS static label binding parameters.
|
|
|
|---|---|
Configuring MPLS Static Label Binding
This section includes the following topics:
- Reserving Labels to Use for MPLS Static Labels and LDP VRF-Aware Static Labels
- Configuring MPLS Static Labels in the MPLS VPN Provider Core
- Configuring MPLS LDP VRF-Aware Static Labels at the Edge of the VPN
Reserving Labels to Use for MPLS Static Labels and LDP VRF-Aware Static Labels
You can reserve the labels that are to be statically assigned so that they are not dynamically assigned.
Prerequisites
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
2.
mpls label range min-value max-value [ static min-static-value max-static-value ]
DETAILED STEPS
Configuring MPLS Static Labels in the MPLS VPN Provider Core
You can configure MPLS static labels in order to configure entries in the MPLS forwarding table and assign label values to FECs learned by routing protocols or static routes. You can manually configure an LSP without setting up LDP sessions between the endpoints.
Note
In MPLS VPN networks, you can use static labels only in the MPLS VPN provider core.
Prerequisites
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
3.
mpls static binding ipv4 prefix mask {label | input label | output nexthop { explicit-null | implicit-null | label}}
DETAILED STEPS
Configuring MPLS LDP VRF-Aware Static Labels at the Edge of the VPN
You can statically bind a VRF-aware label on a PE router to a customer network prefix (VPN IPv4 prefix). You can use VRF-aware static labels with non-default VRF tables so the labels can be used at the VPN edge.
Prerequisites
Ensure that you are in the correct VDC (or use the switchto vdc command).
Ensure that MPLS LDP is enabled on each LSR.
Ensure that MPLS VPN is configured.
Ensure that the provider network has MPLS LDP installed and running.
SUMMARY STEPS
3.
mpls static binding ipv4 vrf vrf_name prefix mask { input label | label}
4.
(Optional) show mpls static binding ipv4 vrf vrf_name
DETAILED STEPS
Verifying the MPLS Static Label Binding Configuration
To display the MPLS static label binding configuration, perform one of the following tasks:
|
|
|
|---|---|
Displays information about the range of values for local labels, including those labels that are available for static assignments. |
|
For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS MPLS Command Reference.
Configuration Examples for MPLS Static Label Binding
This section provides configuration examples for MPLS static label binding and includes the following topics:
- Examples: Reserving Labels to Use for MPLS Static Labels and MPLS LDP VRF-Aware Static Labels
- Examples: Configuring MPLS Static Labels in the MPLS VPN Provider Core
- Examples: Configuring MPLS LDP VRF-Aware Static Labels at the VPN Edge
Examples: Reserving Labels to Use for MPLS Static Labels and MPLS LDP VRF-Aware Static Labels
The following example shows how to reserve a generic range of labels from 200 to 100000 and configure a static label range of 16 to 199:
In this example, the output from the show mpls label range command displays the new label range:
Examples: Configuring MPLS Static Labels in the MPLS VPN Provider Core
The following example shows how to configure input and output labels for several prefixes:
The show mpls static binding ipv4 command displays the configured static labels:
Examples: Configuring MPLS LDP VRF-Aware Static Labels at the VPN Edge
The following example shows how to configure static label bindings and input (local) labels for various prefixes:
In the following output, the show mpls static binding ipv4 vrf command displays the configured VRF-aware static bindings:
Additional References for MPLS Static Label Binding
For additional information related to implementing MPLS static label binding, see the following sections:
Related Documents
|
|
|
|---|---|
MIBs
|
|
|
|---|---|
Feature History for MPLS Static Label Binding
Table 8-2 lists the release history for this feature.
|
|
|
|
|---|---|---|
Changed the maximum value for the MPLS static label range to 471804. |
||
Feedback