-
- MPLS Traffic Engineering - LSP Attributes
- MPLS Traffic Engineering (TE) - Autotunnel Primary and Backup
- MPLS Traffic Engineering - AutoTunnel Mesh Groups
- MPLS Traffic Engineering - Verbatim Path Support
- MPLS Traffic Engineering - RSVP Hello State Timer
- MPLS Traffic Engineering Forwarding Adjacency
- MPLS Traffic Engineering (TE) - Class-based Tunnel Selection
- MPLS Traffic Engineering - Interarea Tunnels
- MPLS TE - Bundled Interface Support
- MPLS Traffic Engineering�Automatic Bandwidth Adjustment for TE Tunnels
- MPLS Point-to-Multipoint Traffic Engineering
- MPLS Traffic Engineering�Tunnel Source
-
- MPLS Traffic Engineering - Inter-AS TE
- MPLS Traffic Engineering - Shared Risk Link Groups
- MPLS Traffic Engineering (TE) - Autotunnel Primary and Backup
- MPLS Traffic Engineering (TE) - Path Protection
- MPLS Traffic Engineering (TE) - Fast Reroute (FRR) Link and Node Protection
- MPLS TE: Link and Node Protection, with RSVP Hellos Support (with Fast Tunnel Interface Down Detection)
- MPLS Traffic Engineering: BFD-triggered Fast Reroute (FRR)
-
- MPLS MTU Command Changes
- AToM Static Pseudowire Provisioning
- MPLS Pseudowire Status Signaling
- L2VPN Interworking
- L2VPN Pseudowire Redundancy
- L2VPN Pseudowire Switching
- VPLS Autodiscovery: BGP Based
- H-VPLS N-PE Redundancy for QinQ and MPLS Access
- L2VPN Multisegment Pseudowires
- QOS Policy Support on L2VPN ATM PVPs
- L2VPN: Pseudowire Preferential Forwarding
-
- Configuring MPLS Layer 3 VPNs
- MPLS VPN Half-Duplex VRF
- MPLS VPN�Show Running VRF
- MPLS VPN�VRF CLI for IPv4 and IPv6 VPNs
- MPLS VPN--BGP Local Convergence
- MPLS VPN�Route Target Rewrite
- MPLS VPN�Per VRF Label
- MPLS VPN 6VPE per VRF Label
- MPLS Multi-VRF (VRF Lite) Support
- BGP Best External
- BGP PIC Edge for IP and MPLS-VPN
- MPLS VPN - L3VPN over GRE
- Dynamic Layer-3 VPNs with Multipoint GRE Tunnels
- MPLS VPN over mGRE
-
- MPLS LSP Ping/Traceroute for LDP/TE, and LSP Ping for VCCV
- MPLS EM�MPLS LSP Multipath Tree Trace
- Pseudowire Emulation Edge-to-Edge MIBs for Ethernet, Frame Relay, and ATM Services
- MPLS Enhancements to Interfaces MIB
- MPLS Label Distribution Protocol MIB Version 8 Upgrade
- MPLS EM�MPLS LDP MIB - RFC 3815
- MPLS Label Switching Router MIB
- MPLS EM�MPLS LSR MIB - RFC 3813
- MPLS Traffic Engineering MIB
- MPLS Traffic Engineering - Fast Reroute MIB
- MPLS EM - TE MIB RFC 3812
- MPLS VPN�MIB Support
- MPLS EM - MPLS VPN MIB RFC4382 Upgrade
-
- MPLS High Availability: Overview
- MPLS High Availability: Command Changes
- MPLS LDP Graceful Restart
- NSF/SSO - MPLS LDP and LDP Graceful Restart
- NSF/SSO: MPLS VPN
- AToM Graceful Restart
- NSF/SSO�Any Transport over MPLS and AToM Graceful Restart
- NSF/SSO - MPLS TE and RSVP Graceful Restart
- ISSU MPLS Clients
- NSF/SSO/ISSU Support for VPLS
- NSF/SSO and ISSU - MPLS VPN 6VPE and 6PE
MPLS Static Labels
This document describes the Cisco MPLS Static Labels feature. It identifies the supported platforms, provides configuration examples, and lists related Cisco IOS command-line interface (CLI) commands.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
History for the MPLS Static Labels feature
Contents
•Monitoring and Maintaining MPLS Static Labels
Feature Overview
Generally, label switching routers (LSRs) dynamically learn the labels they should use to label-switch packets by means of label distribution protocols that include:
•Label Distribution Protocol (LDP), the Internet Engineering Task Force (IETF) standard, used to bind labels to network addresses
•Resource Reservation Protocol (RSVP) used to distribute labels for traffic engineering (TE)
•Border Gateway Protocol (BGP) used to distribute labels for Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs)
To use a learned label to label-switch packets, an LSR installs the label into its Label Forwarding Information Base (LFIB).
The MPLS Static Labels feature provides the means to configure statically:
•The binding between a label and an IPv4 prefix
•The contents of an LFIB crossconnect entry
Benefits
Static Bindings Between Labels and IPv4 Prefixes
Static bindings between labels and IPv4 prefixes can be configured to support MPLS hop-by-hop forwarding through neighbor routers that do not implement LDP label distribution.
Static Crossconnects
Static crossconnects can be configured to support MPLS Label Switched Path (LSP) midpoints when neighbor routers do not implement either the LDP or RSVP label distribution, but do implement an MPLS forwarding path.
Restrictions
•The trouble shooting process for MPLS static labels is complex.
•On a provider edge (PE) router for MPLS VPNs, there is no mechanism for statically binding a label to a customer network prefix (VPN IPv4 prefix).
•MPLS static crossconnect labels remain in the LFIB even if the router to which the entry points goes down.
•MPLS static crossconnect mappings remain in effect even with topology changes.
•MPLS static labels are not supported for label-controlled Asynchronous Transfer Mode (lc-atm).
•MPLS static bindings are not supported for local prefixes.
Prerequisites
The network must support the following Cisco IOS features before you enable MPLS static labels:
•Multiprotocol Label Switching (MPLS)
•IP Cisco Express Forwarding
Configuration Tasks
See the following sections for the configuration tasks for the this feature:
•Configuring MPLS Static Prefix/Label Bindings (required)
•Verifying MPLS Static Prefix/Label Bindings (optional)
•Configuring MPLS Static Crossconnects (required)
•Verifying MPLS Static Crossconnect Configuration (optional)
Configuring MPLS Static Prefix/Label Bindings
To configure MPLS static prefix/label bindings, use the following commands beginning in global configuration mode:
Verifying MPLS Static Prefix/Label Bindings
To verify the configuration for MPLS static prefix/label bindings, use this procedure:
Step 1 Enter show mpls label range command. The output shows that the new label ranges do not take effect until a reload occurs:
Router# show mpls label range
Downstream label pool: Min/Max label: 16/100000
[Configured range for next reload: Min/Max label: 200/100000]
Range for static labels: Min/Max/Number: 16/199
The following output from the show mpls label range command, executed after a reload, indicates that the new label ranges are in effect:
Router# show mpls label range
Downstream label pool: Min/Max label: 200/100000
Range for static labels: Min/Max/Number: 16/199
Step 2 Enter the show mpls static binding ipv4 command to show the configured static prefix/label bindings:
Router# show mpls static binding ipv4
10.17.17.17/32: Incoming label: 251 (in LIB)
Outgoing labels:
10.0.0.1 18
10.18.18.18/32: Incoming label: 201 (in LIB)
Outgoing labels:
10.0.0.1 implicit-null
Step 3 Use the show mpls forwarding-table command to determine which static prefix/label bindings are currently in use for MPLS forwarding.
Router# show mpls forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
201 Pop tag 10.18.18.18/32 0 PO1/1/0 point2point
2/35 10.18.18.18/32 0 AT4/1/0.1 point2point
251 18 10.17.17.17/32 0 PO1/1/0 point2point
Configuring MPLS Static Crossconnects
To configure MPLS static crossconnects, use the following command beginning in global configuration mode:
Verifying MPLS Static Crossconnect Configuration
To verify the configuration for MPLS static crossconnects, use this procedure:
Step 1 Use the show mpls static crossconnect command to display information about crossconnects that have been configured:
Router# show mpls static crossconnect
Local Outgoing Outgoing Next Hop
label label interface
34 22 pos3/0 point2point (in LFIB)
Monitoring and Maintaining MPLS Static Labels
Refer to the following Table to monitor and maintain MPLS Static Labels.
Configuration Examples
This section provides the following configuration examples for the MPLS Static Labels feature:
•Configuring MPLS Static Prefixes/Labels Example
•Configuring MPLS Static Crossconnects Example
Configuring MPLS Static Prefixes/Labels Example
In the following output, the mpls label range command reconfigures the range used for dynamically assigned labels from 16 to100000 to 200 to100000 and configures a static label range of 16 to199.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls label range 200 100000 static 16 199
% Label range changes take effect at the next reload.
Router(config)# end
In the following output, the show mpls label range command indicates that the new label ranges do not take effect until a reload occurs:
Router# show mpls label range
Downstream label pool: Min/Max label: 16/100000
[Configured range for next reload: Min/Max label: 200/100000]
Range for static labels: Min/Max/Number: 16/199
In the following output, the show mpls label range command, executed after a reload, indicates that the new label ranges are in effect:
Router# show mpls label range
Downstream label pool: Min/Max label: 200/100000
Range for static labels: Min/Max/Number: 16/199
In the following output, the mpls static binding ipv4 commands configure static prefix/label bindings. They also configure input (local) and output (remote) labels for various prefixes:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 55
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 output 10.0.0.66 2607
Router(config)# mpls static binding ipv4 10.6.0.0 255.255.0.0 input 17
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 output 10.13.0.8 explicit-null
Router(config)# end
In the following output, the show mpls static binding ipv4 command displays the configured static prefix/label bindings:
Router# show mpls static binding ipv4
10.0.0.0/8: Incoming label: none;
Outgoing labels:
10.13.0.8 explicit-null
10.0.0.0/8: Incoming label: 55 (in LIB)
Outgoing labels:
10.0.0.66 2607
10.66.0.0/16: Incoming label: 17 (in LIB)
Outgoing labels: None
Configuring MPLS Static Crossconnects Example
In the following output, the mpls static crossconnect command configures a crossconnect from incoming label 34 to outgoing label 22 out interface pos3/0:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls static crossconnect 34 pos3/0 22
Router(config)# end
In the following output, the show mpls static crossconnect command displays the configured crossconnect:
Router# show mpls static crossconnect
Local Outgoing Outgoing Next Hop
label label interface
34 22 pos3/0 point2point (in LFIB)
Additional References
The following sections provide references related to the MPLS Static Labels feature.
Related Documents
|
|
---|---|
MPLS commands |
Standards
|
|
---|---|
None |
— |
MIBs
|
|
---|---|
None |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
|
|
---|---|
None |
— |
Technical Assistance
Command Reference
The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS Multiprotocol Label Switching Command Reference at http://www.cisco.com/en/US/docs/ios/mpls/command/reference/mp_book.html. For information about all Cisco IOS commands, go to the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or to the Cisco IOS Master Commands List.
•debug mpls static binding
•mpls label range
•mpls static binding ipv4
•mpls static crossconnect
•show mpls label range
•show mpls static binding ipv4
•show mpls static crossconnect
Glossary
BGP—Border Gateway Protocol. The predominant interdomain routing protocol used in IP networks.
Border Gateway Protocol—See BGP.
FIB—Forwarding Information Base. A table that contains a copy of the forwarding information in the IP routing table.
Forwarding Information Base—See FIB.
label—A short, fixed-length identifier that tells switching nodes how the data (packets or cells) should be forwarded.
label binding—An association between a label and a set of packets, which can be advertised to neighbors so that a label switched path can be established.
Label Distribution Protocol—See LDP.
Label Forwarding Information Base—See LFIB.
label imposition—The act of putting the first label on a packet.
label switching router—See LSR.
LDP—Label Distribution Protocol. The protocol that supports MPLS hop-by-hop forwarding by distributing bindings between labels and network prefixes.
LFIB—Label Forwarding Information Base. A data structure in which destinations and incoming labels are associated with outgoing interfaces and labels.
LSR—label switching router. A Layer 3 router that forwards a packet based on the value of an identifier encapsulated in the packet.
MPLS—Multiprotocol Label Switching. An industry standard on which label switching is based.
MPLS hop-by-hop forwarding—The forwarding of packets along normally routed paths using MPLS forwarding mechanisms.
Multiprotocol Label Switching—See MPLS.
Resource Reservation Protocol—See RSVP.
RIB—Routing Information Base. A common database containing all the routing protocols running on a router.
Routing Information Base—See RIB.
RSVP—Resource Reservation Protocol. A protocol for reserving network resources to provide quality of service guarantees to application flows.
traffic engineering—Techniques and processes used to cause routed traffic to travel through the network on a path other than the one that would have been chosen if standard routing methods were used.
Virtual Private Network—See VPN.
VPN—Virtual Private Network. A network that enables IP traffic to use tunneling to travel securely over a public TCP/IP network.
