Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Multiprotocol Label Switching (MPLS) on Cisco
Routers
This document describes commands for configuring and monitoring Multiprotocol Label Switching (MPLS)
functionality on Cisco routers and switches. This document is a companion to other feature modules describing
other MPLS applications.
Finding Feature Information, page 1
•
Information About MPLS, page 1
•
How to Configure MPLS, page 4
•
Additional References, page 7
•
Feature Information for MPLS on Cisco Routers, page 8
•
Glossary, page 9
•
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and
feature information, see Bug Search Tool and the release notes for your platform and 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 feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support.
To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About MPLS
MPLS Overview
Multiprotocol label switching (MPLS) combines the performance and capabilities of Layer 2 (data link layer)
switching with the proven scalability of Layer 3 (network layer) routing. MPLS enables service providers to
meet the challenges of explosive growth in network utilization while providing the opportunity to differentiate
services without sacrificing the existing network infrastructure. The MPLS architecture is flexible and can be
employed in any combination of Layer 2 technologies. MPLS support is offered for all Layer 3 protocols,
and scaling is possible well beyond that typically offered in today’s networks.
MPLS efficiently enables the delivery of IP services over an ATM switched network. MPLS supports the
creation of different routes between a source and a destination on a purely router-based Internet backbone.
By incorporating MPLS into their network architecture, service providers can save money, increase revenue
and productivity, provide differentiated services, and gain competitive advantages.
Functional Description of MPLS
Label switching is a high-performance packet forwarding technology that integrates the performance and
traffic management capabilities of data link layer (Layer 2) switching with the scalability, flexibility, and
performance of network layer (Layer 3) routing.
Label Switching Functions
Multiprotocol Label Switching (MPLS) on Cisco Routers
In conventional Layer 3 forwarding mechanisms, as a packet traverses the network, each router extracts all
the information relevant to forwarding the packet from the Layer 3 header. This information is then used as
an index for a routing table lookup to determine the next hop for the packet.
In the most common case, the only relevant field in the header is the destination address field, but in some
cases, other header fields might also be relevant. As a result, the header analysis must be done independently
at each router through which the packet passes. In addition, a complicated table lookup must also be done at
each router.
In label switching, the analysis of the Layer 3 header is done only once. The Layer 3 header is then mapped
into a fixed length, unstructured value called a label .
Many different headers can map to the same label, as long as those headers always result in the same choice
of next hop. In effect, a label represents a forwarding equivalence class --that is, a set of packets which,
however different they may be, are indistinguishable by the forwarding function.
The initial choice of a label need not be based exclusively on the contents of the Layer 3 packet header; for
example, forwarding decisions at subsequent hops can also be based on routing policy.
Once a label is assigned, a short label header is added at the front of the Layer 3 packet. This header is carried
across the network as part of the packet. At subsequent hops through each MPLS router in the network, labels
are swapped and forwarding decisions are made by means of MPLS forwarding table lookup for the label
carried in the packet header. Hence, the packet header does not need to be reevaluated during packet transit
through the network. Because the label is of fixed length and unstructured, the MPLS forwarding table lookup
process is both straightforward and fast.
Distribution of Label Bindings
Each> label switching router (LSR) in the network makes an independent, local decision as to which label
value to use to represent a forwarding equivalence class. This association is known as a label binding. Each
LSR informs its neighbors of the label bindings it has made. This awareness of label bindings by neighboring
routers is facilitated by the following protocols:
Multiprotocol Label Switching (MPLS) on Cisco Routers
Label Distribution Protocol (LDP)--enables peer LSRs in an MPLS network to exchange label binding
•
information for supporting hop-by-hop forwarding in an MPLS network
Tag Distribution Protocol (TDP)--Used to support MPLS forwarding along normally routed paths
•
Resource Reservation Protocol (RSVP)--Used to support MPLS traffic engineering
•
Border Gateway Protocol (BGP)--Used to support MPLS virtual private networks (VPNs)
•
When a labeled packet is being sent from LSR A to the neighboring LSR B, the label value carried by the IP
packet is the label value that LSR B assigned to represent the forwarding equivalence class of the packet.
Thus, the label value changes as the IP packet traverses the network.
Benefits of MPLS
MPLS provides the following major benefits to service provider networks:
Scalable support for Virtual Private Networks (VPNs)--MPLS enables VPN services to be supported in
service provider networks, thereby greatly accelerating Internet growth.
The use of MPLS for VPNs provides an attractive alternative to the building of VPNs by means of either
ATM or Frame Relay permanent virtual circuits (PVCs) or various forms of tunneling to interconnect routers
at customer sites.
Unlike the PVC VPN model, the MPLS VPN model is highly scalable and can accommodate increasing
numbers of sites and customers. The MPLS VPN model also supports “any-to-any” communication among
VPN sites without requiring a full mesh of PVCs or the backhauling (suboptimal routing) of traffic across the
service provider network. For each MPLS VPN user, the service provider’s network appears to function as a
private IP backbone over which the user can reach other sites within the VPN organization, but not the sites
of any other VPN organization.
From a user perspective, the MPLS VPN model enables network routing to be dramatically simplified. For
example, rather than having to manage routing over a topologically complex virtual backbone composed of
many PVCs, an MPLS VPN user can generally employ the service provider’s backbone as the default route
in communicating with all of the other VPN sites.
Explicit routing capabilities (also called constraint-based routing or traffic engineering)--Explicit routing
employs “constraint-based routing,” in which the path for a traffic flow is the shortest path that meets the
resource requirements (constraints) of the traffic flow.
In MPLS traffic engineering, factors such as bandwidth requirements, media requirements, and the priority
of one traffic flow versus another can be taken into account. These traffic engineering capabilities enable the
administrator of a service provider network to
Benefits of MPLS
Control traffic flow in the network
•
Reduce congestion in the network
•
Make best use of network resources
•
Thus, the network administrator can specify the amount of traffic expected to flow between various points in
the network (thereby establishing a traffic matrix), while relying on the routing system to
Support for IP routing on ATM switches (also called IP and ATM integration)--MPLS enables an ATM
switch to perform virtually all of the functions of an IP router. This capability of an ATM switch stems from
the fact that the MPLS forwarding paradigm, namely, label swapping, is exactly the same as the forwarding
paradigm provided by ATM switch hardware.
The key difference between a conventional ATM switch and an ATM label switch is the control software
used by the latter to establish its virtual channel identifier (VCI) table entries. An ATM label switch uses IP
routing protocols and the Tag Distribution Protocol (TDP) to establish VCI table entries.
An ATM label switch can function as a conventional ATM switch. In this dual mode, the ATM switch resources
(such as VCI space and bandwidth) are partitioned between the MPLS control plane and the ATM control
plane. The MPLS control plane provides IP-based services, while the ATM control plane supports ATM-oriented
functions, such as circuit emulation or PVC services.
How to Configure MPLS
This section explains how to perform the basic configuration required to prepare a router for MPLS switching
and forwarding.
Configuration tasks for other MPLS applications are described in the feature module documentation for the
application.
Multiprotocol Label Switching (MPLS) on Cisco Routers
Configuring a Router for MPLS Switching
MPLS switching on Cisco routers requires that Cisco Express Forwarding be enabled.
For more information about Cisco Express Forwarding commands, see the Cisco IOS Switching Command
Reference.
SUMMARY STEPS
enable
1.
configure terminal
2.
ip cef distributed
3.
DETAILED STEPS
Step 1
Example:
Device> enable
Step 2
PurposeCommand or Action
Enables privileged EXEC mode.enable
Enter your password if prompted.
•
Enters global configuration mode.configure terminal
Multiprotocol Label Switching (MPLS) on Cisco Routers
Verifying Configuration of MPLS Switching
PurposeCommand or Action
Step 3
ip cef distributed
Example:
Device(config)# ip cef distributed
Verifying Configuration of MPLS Switching
To verify that Cisco Express Forwarding has been configured properly, issue the show ip cef summary
command, which generates output similar to that shown below:
SUMMARY STEPS
show ip cef summary
1.
DETAILED STEPS
show ip cef summary
Example:
Enables Cisco Express Forwarding on the route processor
card.
Router# show ip cef summary
IP CEF with switching (Table Version 49), flags=0x0
Multiprotocol Label Switching (MPLS) on Cisco Routers
Static labels. For information about configuring static labels, see MPLS Static Labels.
•
Verifying Configuration of MPLS Forwarding
To verify that MPLS forwarding has been configured properly, issue the show mpls interfaces detail command,
which generates output similar to that shown below:
SUMMARY STEPS
show mpls interfaces detail
1.
DETAILED STEPS
show mpls interfaces detail
Example:
Verifying Configuration of MPLS Forwarding
Device# show mpls interfaces detail
Interface GigabitEthernet1/0/0:
IP labeling enabled (ldp)
LSP Tunnel labeling not enabled
MPLS operational
MTU = 1500
Interface POS2/0/0:
IP labeling enabled (ldp)
LSP Tunnel labeling not enabled
MPLS not operational
MTU = 4470
applications appear in the respective feature module
for the application.
MIBs
Multiprotocol Label Switching (MPLS) on Cisco Routers
TitleStandard
--The supported standards applicable to the MPLS
MIBs LinkMIB
The supported MIBs applicable to the MPLS
applications appear in the respective feature module
for the application.
RFCs
applications appear in the respective feature module
for the application.
Technical Assistance
The Cisco Support and Documentation website
provides online resources to download documentation,
software, and tools. Use these resources to install and
configure the software and to troubleshoot and resolve
technical issues with Cisco products and technologies.
Access to most tools on the Cisco Support and
Documentation website requires a Cisco.com user ID
and password.
To locate and download MIBs for selected platforms,
Cisco software releases, and feature sets, use Cisco
MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
TitleRFC
--The supported RFCs applicable to the MPLS
LinkDescription
Support & Downloads
Feature Information for MPLS on Cisco Routers
The following table provides release information about the feature or features described in this module. This
table lists only the software release that introduced support for a given feature in a given software release
train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Multiprotocol Label Switching (MPLS) on Cisco Routers
Use Cisco Feature Navigator to find information about platform support and Cisco software image support.
To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1: Feature Information for MPLS on Cisco Routers
Glossary
Feature InformationReleasesFeature Name
MPLS (Multiprotocol Label
Switching)
Cisco IOS XE Release 2.1
Cisco IOS XE Release 3.5S
Multiprotocol label switching
(MPLS) combines the performance
and capabilities of Layer 2 (data
link layer) switching with the
proven scalability of Layer 3
(network layer) routing. MPLS
enables service providers to meet
the challenges of explosive growth
in network utilization while
providing the opportunity to
differentiate services without
sacrificing the existing network
infrastructure.
In Cisco IOS XE Release 2.1, this
feature was introduced.
In Cisco IOS XE Release 3.5S,
support was added for the Cisco
ASR 903 Router.
The following commands were
introduced or modified: interface
atm, mpls atm control-vc, mpls
atm vpi, mpls ip (global
configuration), mpls ip (interface
configuration), mpls ip
Multiprotocol Label Switching (MPLS) on Cisco Routers
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
This chapter is not applicable on the ASR 900 RSP3 Module.Note
Multiprotocol Label Switching (MPLS) Transport Profile (TP) enables you to create tunnels that provide
the transport network service layer over which IP and MPLS traffic traverses. MPLS-TP tunnels enable a
transition from Synchronous Optical Networking (SONET) and Synchronous Digital Hierarchy (SDH)
time-division multiplexing (TDM) technologies to packet switching to support services with high bandwidth
requirements, such as video.
Restrictions for MPLS-TP on the Cisco ASR 900 Series Routers, page 11
•
Information About MPLS-TP, page 12
•
How to Configure MPLS Transport Profile, page 18
•
Configuration Examples for MPLS Transport Profile, page 42
•
Restrictions for MPLS-TP on the Cisco ASR 900 Series Routers
Multiprotocol Label Switching Transport Profile (MPLS-TP) penultimate hop popping is not supported.
•
Only ultimate hop popping is supported, because label mappings are configured at the MPLS-TP endpoints
IPv6 addressing is not supported.
•
VCCV BFD is not supported.
•
Layer 2 Virtual Private Network (L2VPN) interworking is not supported.
•
Local switching with Any Transport over MPLS (AToM) pseudowire as a backup is not supported.
•
L2VPN pseudowire redundancy to an AToM pseudowire by one or more attachment circuits is not
•
supported.
Pseudowire ID Forward Equivalence Class (FEC) type 128 is supported, but generalized ID FEC type
•
129 is not supported
Maximum virtual circuits (VC) supported for MPLS-TP is 2000.
Multiprotocol Label Switching Transport Profile (MPLS-TP) tunnels provide the transport network service
layer over which IP and MPLS traffic traverses. MPLS-TP tunnels help transition from Synchronous Optical
Network/Synchronous Digital Hierarchy (SONET/SDH) and Time Division Multiplexing (TDM) technologies
to packet switching to support services with high bandwidth utilization and lower cost. Transport networks
are connection-oriented, statically provisioned, and have long-lived connections. Transport networks usually
avoid control protocols that change identifiers (like labels). MPLS-TP tunnels provide this functionality
through statically provisioned bidirectional label switched paths (LSPs), as shown in the figure below.
MPLS Transport Profile
MPLS-TP is supported on ATM and TDM pseudowires on the Cisco ASR 903 router. For information, see
Configuring the Pseudowire Class.
MPLS-TP Path Protection
MPLS-TP label switched paths (LSPs) support 1-to-1 path protection. There are two types of LSPs: protect
LSPs and working LSPs. You can configure the both types of LSPs when configuring the MPLS-TP tunnel.
The working LSP is the primary LSP used to route traffic. The protect LSP acts as a backup for a working
LSP. If the working LSP fails, traffic is switched to the protect LSP until the working LSP is restored, at
which time forwarding reverts back to the working LSP.
Bidirectional LSPs
Multiprotocol Label Switching Transport Profile (MPLS-TP) label switched paths (LSPs) are bidirectional
and co-routed. They comprise of two unidirectional LSPs that are supported by the MPLS forwarding
infrastructure. A TP tunnel consists of a pair of unidirectional tunnels that provide a bidirectional LSP. Each
unidirectional tunnel can be optionally protected with a protect LSP that activates automatically upon failure
conditions.
MPLS Transport Profile Static and Dynamic Multisegment Pseudowires
MPLS Transport Profile Static and Dynamic Multisegment Pseudowires
Multiprotocol Label Switching Transport Profile (MPLS-TP) supports the following combinations of static
and dynamic multisegment pseudowires:
Dynamic-static
•
Static-dynamic
•
Static-static
•
MPLS-TP OAM Status for Static and Dynamic Multisegment Pseudowires
With static pseudowires, status notifications can be provided by BFD over VCCV or by the static pseudowire
OAM protocol. However, BFD over VCCV sends only attachment circuit status code notifications. Hop-by-hop
notifications of other pseudowire status codes are not supported. Therefore, the static pseudowire OAM
protocol is preferred
MPLS Transport Profile Links and Physical Interfaces
Multiprotocol Label Switching Transport Profile (MPLS-TP) link numbers may be assigned to physical
interfaces only. Bundled interfaces and virtual interfaces are not supported for MPLS-TP link numbers.
The MPLS-TP link creates a layer of indirection between the MPLS-TP tunnel and midpoint LSP configuration
and the physical interface. The mplstp link command is used to associate an MPLS-TP link number with a
physical interface and next-hop node. The MPLS-TP out-links can be configured only on the ethernet interfaces,
with either the next hop IPv4 address or next hop mac-address specified.
Multiple tunnels and LSPs may then refer to the MPLS-TP link to indicate that they are traversing that interface.
You can move the MPLS-TP link from one interface to another without reconfiguring all the MPLS-TP tunnels
and LSPs that refer to the link.
Link numbers must be unique on the router or node.
Tunnel Midpoints
Tunnel LSPs, whether endpoint or midpoint, use the same identifying information. However, it is entered
differently.
At the midpoint, all information for the LSP is specified with the mpls tp lsp command for configuring
•
forward and reverse information for forwarding.
At the midpoint, determining which end is source and which is destination is arbitrary. That is, if you
•
are configuring a tunnel between your device and a coworker’s device, then your device is the source.
However, your coworker considers his or her device to be the source. At the midpoint, either device
could be considered the source. At the midpoint, the forward direction is from source to destination, and
the reverse direction is from destination to source.
At the endpoint, the local information (source) either comes from the global device ID and global ID,
•
or from the locally configured information using the tp source command.
At the endpoint, the remote information (destination) is configured using the tp destination command
•
after you enter the interface tunnel-tp number command. The tp destination command includes the
destination node ID, and optionally the global ID and the destination tunnel number. If you do not specify
the destination tunnel number, the source tunnel number is used.
At the endpoint, the LSP number is configured in working-lsp or protect-lsp submode. The default is 0
•
for the working LSP and 1 for the protect LSP.
When configuring LSPs at midpoint devices, ensure that the configuration does not deflect traffic back
•
to the originating node.
MPLS-TP Linear Protection with PSC Support
MPLS-TP Linear Protection with PSC Support Overview
The Multiprotocol Label Switching (MPLS) Transport Profile (TP) enables you to create tunnels that provide
the transport network service layer over which IP and MPLS traffic traverse.
Network survivability is the ability of a network to recover traffic deliver following failure, or degradation,
of network resources. The MPLS-TP Survivability Framework (RFC-6372) describes the framework for
survivability in MPLS-TP networks, focusing on mechanisms for recovering MPLS-TP label switched paths
(LSPs)
Linear protection provides rapid and simple protection switching because it can operate between any pair of
points within a network. Protection switching is a fully allocated survivability mechanism, meaning that the
route and resources of the protection path are reserved for a selected working path or set of working paths.
For a point-to-point LSPs, the protected domain is defined as two label edge routers (LERs) and the transport
paths that connect them.
Protection switching in a point-to-point domain can be applied to a 1+1, 1:1, or 1:n unidirectional or
bidirectional protection architecture. When used for bidirectional switching, the protection architecture must
also support a Protection State Coordination (PSC) protocol. This protocol is used to help coordinate both
ends of the protected domain in selecting the proper traffic flow. For example, if either endpoint detects a
failure on the working transport entity, the endpoint sends a PSC message to inform the peer endpoint of the
state condition. The PSC protocol decides what local action, if any, should be taken.
The following figure shows the MPLS-TP linear protection model used and the associated PSC signaling
channel for state coordination.
MPLS Transport Profile
In 1:1 bidirectional protection switching, for each direction, the source endpoint sends traffic on either a
working transport entity or a protected transport entity, referred to as a data-path. If the either endpoint detects
a failure on the working transport entity, that endpoint switches to send and receive traffic from the protected
transport entity. Each endpoint also sends a PSC message to inform the peer endpoint of the state condition.
The PSC mechanism is necessary to coordinate the two transport entity endpoints and implement 1:1
bidirectional protection switching even for a unidirectional failure. The switching of the transport path from
working path to protected path can happen because of various failure conditions (such as link down indication
(LDI), remote defect indication (RDI), and link failures) or because administrator/operator intervention (such
as shutdown, lockout of working/forced switch (FS), and lockout of protection).
Each endpoint LER implements a PSC architecture that consists of multiple functional blocks. They are:
Local Trigger Logic: This receives inputs from bidirectional forwarding detection (BFD), operator
•
commands, fault operation, administration, and maintenance (OAM) and a wait-to-restore (WTR) timer.
It runs a priority logic to decide on the highest priority trigger.
PSC FSM: The highest priority trigger event drives the PSC finite state machine (FSM) logic to decide
•
what local action, if any, should be taken. These actions may include triggering path protection at the
local endpoint or may simply ignore the event.
Remote PSC Signaling: In addition to receiving events from local trigger logic, the PSC FSM logic
•
also receives and processes PSC signaling messages from the remote LER. Remote messages indicate
the status of the transport path from the viewpoint of the far end LER. These messages may drive state
changes on the local entity.
PSC Message Generator: Based on the action output from the PSC control logic, this functional block
•
formats the PSC protocol message and transmits it to the remote endpoint of the protected domain. This
message may either be the same as the previously transmitted message or change when the PSC control
has changed. The messages are transmitted as an initial burst followed by a regular interval.
Wait-to-Restore Timer: The (configurable) WTR timer is used to delay reversion to a normal state
•
when recovering from a failure condition on the working path in revertive mode. The PSC FSM logic
starts/stops the WTR timer based on internal conditions/state. When the WTR expires, it generates an
event to drive the local trigger logic.
Remote Event Expire Timer: The (configurable) remote-event-expire timer is used to clear the remote
•
event after the timer is expired because of remote inactivity or fault in the protected LSP. When the
remote event clear timer expires, it generates a remote event clear notification to the PSC FSM logic.
Interoperability With Proprietary Lockout
An emulated protection (emulated automatic protection switching (APS)) switching ensures synchronization
between peer entities. The emulated APS uses link down indication (LDI)message (proprietary) extensions
when a lockout command is issued on the working or protected LSP. This lockout command is known as
emLockout. A lockout is mutually exclusive between the working and protected LSP. In other words, when
the working LSP is locked, the protected LSP cannot be locked (and vice versa).
The emLockout message is sent on the specified channel from the endpoint on the LSP where the lockout
command (working/protected) is issued. Once the lockout is cleared locally, a Wait-To-Restore (WTR) timer
(configurable) is started and the remote end notified. The local peer continues to remain in lockout until a
clear is received from the remote peer and the WTR timer has expired and only then the LSP is considered
to be no longer locked out. In certain deployments, you use a large WTR timer to emulate a non-revertive
behavior. This causes the protected LSP to continue forwarding traffic even after the lockout has been removed
from the working LSP.
The PSC protocol as specified in RFC-6378 is incompatible with the emulated APS implementation in certain
conditions. For example, PSC implements a priority scheme whereby a lockout of protection (LoP) is at a
higher priority than a forced switch (FS) issued on a working LSP. When an FS is issued and cleared, PSC
states that the switching must revert to the working LSP immediately. However, the emulated APS
implementation starts a WTR timer and switches after the timer has expired.
An endpoint implementing the newer PSC version may have to communicate with another endpoint
implementing an older version. Because there is no mechanism to exchange the capabilities, the PSC
implementation must interoperate with another peer endpoint implementing emulated APS. In this scenario,
the new implementation sends both the LDI extension message (referred to as emLockout) as well as a PSC
message when the lockout is issued.
Mapping and Priority of emlockout
There are two possible setups for interoperability:
New-old implementation.
•
New-new implementation.
•
You can understand the mapping and priority when an emLockout is received and processed in the new-old
implementation by referring to the following figure.
MPLS Transport Profile
When the new label edge router (new-LER) receives an emLockout (or emLockout_clear) message, the
new-LER maps the message into an internal local FS’/FSc’ (local FS-prime/FS-prime-clear) or LoP’/LoPc’
(local LoP-prime/Lop-prime-clear) event based on the channel on which it is received. This event is prioritized
by the local event processor against any persistent local operator command. The highest priority event drives
the PSC FSM logic and any associated path protection logic. A new internal state is defined for FS’/FSc’
events. The PSC FSM logic transmits the corresponding PSC message. This message is dropped/ignored by
the old-LER.
In the new-new LER implementation shown in the following figure, each endpoint generates two messages
when a lockout command is given on a working or protected LSP.
When a lockout (working) command is issued, the new-LER implementation sends an emLockout command
on the working LSP and PSC(FS) on the protected LSP. The remote peer receives two commands in either
order. A priority scheme for local events is modified slightly beyond what is defined in order to drive the PSC
FSM to a consistent state despite the order in which the two messages are received.
In the new implementation, it is possible to override the lockout of the working LSP with the lockout of the
protected LSP according to the priority scheme. This is not allowed in the existing implementation. Consider
the following steps between old (O) and new (N) node setup:
Time T1: Lockout (on the working LSP) is issued on O and N. Data is switched from the working to the
protected LSP.
Time T2: Lockout (on the protected LSP) is issued on O and N. The command is rejected at O (existing
behavior) and accepted at N (new behavior). Data in O->N continues on the protected LSP. Data in N->O
switches to the working LSP.
You must issue a clear lockout (on the working LSP) and re-issue a lockout (on the protected LSP) on the old
node to restore consistency.
WTR Synchronization
When a lockout on the working label switched path (LSP) is issued and subsequently cleared, a WTR timer
(default: 10 sec, configurable) is started. When the timer expires, the data path is switched from protected to
working LSP.
The PSC protocol indicates that the switch should happen immediately when a lockout (FS) is cleared.
When a new node is connected to the old node, for a period of time equal to the WTR timer value, the data
path may be out-of-sync when a lockout is cleared on the working LSP. You should configure a low WTR
value in order to minimize this condition.
Another issue is synchronization of the WTR value during stateful switchover (SSO). Currently, the WTR
residual value is not checkpointed between the active and standby. As a result, after SSO, the new active
restarts the WTR with the configured value if the protected LSP is active and the working LSP is up. As part
of the PSC protocol implementation, the residual WTR is checkpointed on the standby. When the standby
becomes active, the WTR is started with the residual value.
The event priority scheme for locally generated events is as follows in high to low order:
Local Events:
1. Opr-Clear (Operator Clear)
2. LoP (Lockout of Protection)
3. LoP’/LoP’-Clear
4. FS (Forced Switch)
5. FS’/FS’-Clear
6. MS (Manual-Switch)
The emLockout received on the working LSP is mapped to the local-FS’. The emLockout received on the
protected LSP is mapped to the local-LoP’. The emLockout-clear received is mapped to the corresponding
clear events.
The priority definition for Signal Fail (SF), Signal Degrade (SD), Manual Switch (MS), WTR, Do Not Revert
(DNR), and No Request (NR) remains unchanged.
MPLS Transport Profile
PSC Syslogs
The following are the new syslogs that are introduced as part of the Linear Protection with PSC Support
feature:
The bfd-template command allows you to create a BFD template and enter BFD configuration mode. The
template can be used to specify a set of BFD interval values. You invoke the template as part of the MPLS-TP
tunnel. On platforms that support the BFD Hardware Offload feature and that can provide a 60-ms cutover
for MPLS-TP tunnels, it is recommended to use the higher resolution timers in the BFD template.
SUMMARY STEPS
enable
1.
configure terminal
2.
bfd-template single-hop template-name
3.
interval [microseconds] {both time | min-tx time min-rx time} [multiplier multiplier-value]
4.
end
5.
DETAILED STEPS
Step 1
Step 2
Example:
Device> enable
Example:
Device# configure terminal
PurposeCommand or Action
Enables privileged EXEC mode.enable
Enter your password if prompted.
•
Enters global configuration mode.configure terminal