cc/td/doc/product/wanbu/9_3_10
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

MPLS Redundancy for IP+ATM Networks

MPLS Redundancy for IP+ATM Networks

This chapter describes the Cisco Label Switch Controller (LSC) redundancy architecture that provides IP+ATM networks using MPLS with a level of reliability comparable to the hot-standby redundancy used in router networks but without the difficulty of implementing it. The hot LSC redundancy model provides the fastest reroute recovery time for IP+ATM networks.

This chapter covers these topics:

What Is LSC Redundancy

In traditional router IP networks, network managers ensure reliability by creating multiple paths through the network from every source to every destination. If a device or link on one path fails, IP traffic uses an alternate path to reach its destination.

Unlike router networks, circuit switch networks like ATM and Frame Relay transfer data by establishing circuits or virtual circuits. To ensure reliability, network managers incorporate redundant switch components: backup backplanes, power supplies, line cards, trunk cards, and so on.

But unlike router networks, switches take some time to reroute traffic when a failure occurs. Switch connection routing software, such as AutoRoute, PNNI, and MPLS, require calculating routes and reprogramming hardware for each connection. That's why router networks can reroute large aggregates of traffic more quickly than most connection-oriented networks.

Cisco's LSC redundancy recognizes that the LSC is the single point of failure for an IP+ATM network. Whether an LSC is an external router such as the Cisco 7204 router or an internal Routing Processor Module (RPM) in a BPX or MGX switch, an LSC is in the critical path for network reliability. If the LSC fails or if the LSC's port adapter goes down, the control function of the ATM LSR is disabled. The rest of the network can no longer trust that the ATM LSR has the correct MPLS label connections, and therefore will no longer use the links to the ATM LSR to carry MPLS traffic. Connectivity to some destinations in the network might be impossible unless there are alternative routes that avoid the failed ATM LSR.

Because label switch controllers are a critical component of IP+ATM networks, they must be robust and restore service quickly despite equipment or software failures.

Cisco's LSC redundancy is an alternative way to increase reliability in IP networks. This reliability is nearly equivalent to that provided with the use of hot-standby routing processes. But the result is in general terms the same: if the primary controller fails, traffic can be almost instantly routed by a secondary controller. In addition, the Cisco LSC redundancy architecture reroutes traffic much faster than conventional rerouting processes.

LSC redundancy basically consists of:

In essence, two independent MPLS controllers, via VSI, control separate partitions in the IP+ATM switch, creating a set of two identical subnetworks. Multipath IP routing chooses to use both subnetworks equally, leading to identical connections in both subnetworks. If a controller in one subnetwork fails, then multipath IP routing very quickly diverts traffic to the other subnetwork.

LSC redundancy differs from hot-standby redundancy in that the LSCs do not need copies of each other's internal state or database, thus increasing reliability. LSC redundancy is simpler than hot-standby redundancy because it is not necessary to set up new connections when a controller fails. The LSC redundancy architecture requires the same amount of equipment as a network with hot-standby controllers, except that the controllers act independently, rather than in hot-standby mode.

Benefits of LSC Redundancy

By implementing the LSC redundancy model, you eliminate the single point of failure between the LSC and the ATM switch it controls. If one LSC fails, the other LSC takes over and routes the data on the other path. The other benefits of LSC redundancy are now described in more detail.

LSC Redundancy Allows Different Software Versions

The LSCs work independently; there is no interaction between the controllers. They do not share the controller's state or database, as other redundancy models require. Therefore, you can run different versions of the IOS software on the LSCs.

The advantage of this is that you can test the features of the latest version of software without risking reliability. You can run the latest version of the IOS software on one LSC and an older version of the IOS software on a different LSC. If the LSC running the new IOS software fails, the LSC running the older software takes over.


Note   Using different IOS software version on different LSCs is not recommended except as a temporary measure. Different versions of IOS software in a network could be incompatible, although it is unlikely. For best results, run the same version of IOS software on all devices.

LSC Redundancy Does Not Use Shared States or Databases

In the LSC redundancy model, the LSCs do not share states or databases, which increases reliability. Sometimes, when states and databases are shared, an error in the state or database information can cause both controllers to fail simultaneously.

Also, new software features and enhancements do not affect LSC redundancy. Because the LSCs do not share states or database information, you do not have to worry about ensuring redundancy during every step of the update.

LSC Redundancy Lets You Use Different Hardware

You can use different models of routers in this LSC redundancy model. For example, one LSC can be a Cisco 7200 series router. The other LSC could be based in a Cisco 6400 edge switch series router. Using different hardware in the redundancy model reduces the chance that a hardware fault might interrupt network traffic.

LSC Redundancy Provides An Easy Migration from Stand-alone LSCs to Redundant LSCs

You can migrate from a stand-alone LSC to a redundant LSC and back again without affecting network operations. Because the LSCs work independently, you can add a redundant LSC without interrupting the other LSC.

LSC Redundancy Allows Configuration Changes in a Live Network

The hot LSC redundancy model provides two parallel, independent networks. Therefore, you can disable one LSC without affecting the other LSC. This feature has two main benefits:

LSC Redundancy Provides Fast Reroute in IP+ATM Networks

The hot LSC redundancy model offers redundant paths for every destination. Therefore, reroute recovery is very fast. Other rerouting processes in IP+ATM networks require many steps and take more time.

In normal IP+ATM networks, the reroute process consists of the following steps:

After this reroute process, the new path is ready to transfer data. However, rerouting data by using this process takes time.

The hot LSC redundancy method allows you to quickly reroute data in IP+ATM networks without using the normal reroute process. Hot LSC redundancy creates active parallel paths. Every destination has at least one alternative path. If a device or link along the path fails, the data uses the other path to reach its destination. The hot LSC redundancy model provides the fastest reroute recovery time for IP+ATM networks.

LSC Redundancy Architecture

The architecture is distinguished by two main features:

    1. Multiple controllers share the resources of the same switch, creating two independent IP networks

    2. The resulting subnetworks are both linked at the Edge Label Switch Routers (LSR)

Consider a basic IP network of switches with one MPLS controller (or a hot-standby pair of them) and MPLS Edge Label Switch Routers (LSR) feeding the edge of the network.

The LSC redundancy architecture adds to this basic network two independent controllers of the same type (such as MPLS), enabled by the Virtual Switch Interface (VSI) to control two separate partitions on the same IP+ATM switch. The pair of controllers on the switch form two separate MPLS control planes for the network that effectively create two independent parallel IP subnetworks.

Provided that the two independent MPLS controllers on each switch have identical shares of the switch's resources and link capacity, the two subnetworks are identical. The two identical, parallel IP subnetworks exist on virtually the same equipment that would otherwise support only one IP network.


Note   Each control plane and partition might have a redundant pair of controllers, but these are coupled. Note that the two independent controllers must be of the same type. Also, the equipment must have sufficient connection capacity for the doubled-up connections.

The LSC hot redundancy solution differs from hot-standby redundancy in that the MPLS controllers need not have copies of each other's internal state.

The second feature of the LSC redundancy architecture is the linkage of the two parallel subnetworks on the same physical ATM LSR at the edge.

This LSC redundancy network might use the Open Shortest Path First (OSPF) protocol with equal-cost multipath or a similar IP routing protocol with multipath capability. Because there are two identical, parallel IP subnetworks, there are at least two equally good paths from every Edge LSR to every other Edge LSR, one in each subnetwork.

OSPF equal-cost multipath chooses to distribute traffic evenly across both sets of paths (and hence both subnetworks). Because of this, MPLS sets up two identical sets of connections for the two MPLS control planes. IP traffic is shared evenly across the two sets of connections, across both control planes.

LSC redundancy works with either of the two interior gateway routing protocols:

LSC redundancy also works with either of the two label distribution protocols for hop-by-hop routed MPLS:

If there were a failure in one MPLS controller in one switch, some paths in one of the subnetworks would no longer work. If there were only one subnetwork, there would be an undesirable interruption in passing data while other switches break connections and reroute them around the failed node.

However, because all connections are mirrored in the secondary subnetwork, there are already alternative paths for the traffic without the need to establish new links. All that is required is for multipath routing to detect the failure of one set of paths and to divert the traffic onto the remaining good paths. Because connections on the other paths have already been set up, the interruption to traffic flow is much smaller than if new connections were required.

Operational Modes

The LSC redundancy architecture supports these operational modes:

LSC Hot Redundancy

You can configure two LSC controllers for hot redundancy, which provides the fastest rerouting and equal cost routing.

Each of the two LSCs:

The backup MPLS controller provisions connections in tandem with the primary controller. Both controllers are active or "hot" at all times, giving each destination two independent paths, each path generated by one of the two controllers.

Hot redundancy (Figure 8-1 or Figure 8-2) uses two independent paths to route traffic. You set up both paths to use equal cost multipath routing, so that traffic is load balanced between the two paths. In other words, the two partitions on the switch must be configured with equal bandwidth and cross-connect space.

Also, both LSCs must run the same routing protocols.

The result is that the Edge LSRs have multiple routes to the same destination and request multiple labels. If one controller fails, only one of the two paths fails; the secondary controller already has the labels established and immediately provides an active backup path to handle the traffic with no time lost for rerouting or setting up labels.


Figure 8-1: LSC Redundancy with Physically Separate Trunks



Note   By placing two LSCs on an ATM switch, they become two logically separate ATM LSRs, which is what the "Logical equivalent" is showing. It's important to clearly distinguish between an LSC and an ATM LSR: an LSC is not an ATM LSR, it is merely part of one.


Figure 8-2:
LSC Redundancy with Shared Trunks


How the LSC, ATM Switch, and VSI Work Together

The LSC and slave ATM switch have these characteristics:

If a component on the LSC fails, the ATM switch's IP switching function is disabled. The stand-alone LSC is the single point of failure.

The VSI implementation includes these characteristics:

Implementing LSC Redundancy

To make an LSC redundant, you perform these basic steps:

Partitioning the Resources of the ATM Switch

In the LSC redundancy model, two LSCs control different partitions of the ATM switch. When you partition the ATM switch for LSC redundancy, follow these guidelines:

See the Cisco BPX 8600 Series documentation for more information about configuring the slave ATM switch.

Implementing the Parallel VSI Model

The parallel VSI model means that the physical interfaces on the ATM switch are shared by more than one LSC. For example:

With this mapping, you achieve fully meshed independent masters.

Figure 8-3 shows four ATM physical interfaces mapped as four XtagATM interfaces at LSC1 and LSC2. Each LSC is unaware that the other LSC is mapped to the same interfaces. Both LSCs are active all the time. The ATM switch runs the same VSI protocol on both partitions.


Figure 8-3: XtagATM Interfaces


Adding Interface Redundancy

To ensure reliability throughout the LSC redundant network, you can also implement:


Figure 8-4: Interface Redundancy


Implementing Hot LSC Redundancy

Hot redundancy provides instant failover to the other path when an LSC fails. When you set up hot redundancy, both LSCs are active and have the same routing costs on both paths. To ensure that the routing costs are the same, run the same routing protocols on the redundant LSCs.

In hot redundancy, the LSCs run parallel and independent Label Distribution Protocols (LDPs). At the Edge LSRs, when the LDP has multiple routes for the same destination, it requests multiple labels. It also requests multiple labels when it needs to support Class of Service (CoS). When one LSC fails, the labels distributed by that LSC are removed.

To achieve hot redundancy, you can implement these redundant components:

Sample LSC Redundancy Configuration

The diagram in Figure 8-5 indicates the connections to support two active independent controllers on each BPX switch with two independent paths for each destination; that is, hot redundancy.

The sample configuration settings shown in this section assumes a network topology with two BPX switches (BPX1 and BPX2). Each BPX is connected to its own Edge Label Switch Router (Edge LSR) and each BPX supports two LSCs in separate partitions.

The Edge LSR and LSC must be forced to use different control VCs for the two partitions on the links between the LSC and BPX. In this example, this is done by using "tag-switching atm control-vc" commands, in the LSC and Edge LSR, for the second partition. The commands for the interfaces at both ends of a link must match, that is, specify the same control VC.


Figure 8-5: Topology for Sample Hot Redundancy Configuration



Note   Virtual trunks are not necessary and are not recommended in practice (except in very specific circumstances) because they break parts of LSC redundancy. Please disregard the virtual trunk interfaces in this example: 3.5.1, 4.5.1, 1.5.1, 2.5.1

The two LSCs on each BPX control different partitions, 1 and 2. The correct partition ID must be configured for all partitions controlled by each controller, including the partition on the LSC control interface.

Connections to BPX1

LSC1           4.4

  atm port      atm3/0

LSC2           4.1

  atm port      atm5/0

LER1          5.1

  Trunk port       4.8
  atm port      atm5/0/0

Connections to BPX2

LSC3         1.3

  atm port       atm3/0/0

LSC4          1.2

  atm port      atm3/0/0

LER2         3.2

  Trunk Port       1.1
  atm port       atm3/0

BPX1 Resource Parameter Settings

Use the cnfrsrc command to configure all VSI and AutoRoute resources. The following dsprsrc command screens show the recommended settings the BPX1 side of the basic topology. Naturally, depending on your network, you will need to adjust the resource parameters to maximize efficiency.

The configuration for BPX2 and its LER2, LSC3 and LSC4 are almost identical to those of the BPX1 but with different addresses for the BPX, the router ATM port, and loopback.

-----------------------------------------------------------------------
Port/Trunk : 4.4
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 1 
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                100
End VSI VPI :                 200
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        200000
VSI ILMI Config       :       0
 
Last Command: dsprsrc 4.4 1
 
-----------------------------------------------------------------------
Port/Trunk : 4.4
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 2
 
Partition State :             Disable
 
 
 
 
 
 
Last Command: dsprsrc 4.4 2
 
-----------------------------------------------------------------------
Port/Trunk : 4.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 1
 
Partition State :             Disable
 
 
 
 
 
 
Last Command: dsprsrc 4.1 1
 
-----------------------------------------------------------------------
Port/Trunk : 4.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 2
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                201
End VSI VPI :                 300
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        200000
VSI ILMI Config       :       0
 
-----------------------------------------------------------------------
Port/Trunk : 4.8
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 1
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                100
End VSI VPI :                 200
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        200000
VSI ILMI Config       :       0
 
Last Command: dsprsrc 4.8 1
 
-----------------------------------------------------------------------
Port/Trunk : 4.8
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:148207
                                      (Statistical Reserve: 5000)
 
Partition 2
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                201
End VSI VPI :                 255
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        100000
VSI ILMI Config       :       0
 
Last Command: dsprsrc 4.8 2
 
-----------------------------------------------------------------------
Virtual Trunk : 4.5.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:867
                                      (Statistical Reserve: 1000)
 
Partition 1
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                35
End VSI VPI :                 35
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        1000
VSI ILMI Config       :       0
 
Last Command: dsprsrc 4.5.1 1
 
 
-----------------------------------------------------------------------
Virtual Trunk : 3.5.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:867
                                      (Statistical Reserve: 1000)
 
Partition 1
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                36
End VSI VPI :                 36
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        1000
VSI ILMI Config       :       0
 
Last Command: dsprsrc 3.5.1 1
 
-----------------------------------------------------------------------
Port/Trunk : 5.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:30000
 
Partition 1
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                100
End VSI VPI :                 200
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        30000
VSI ILMI Config       :       0
 
                                                                                
Last Command: dsprsrc 5.1 1
 
-----------------------------------------------------------------------
Port/Trunk : 5.1
 
Maximum PVC LCNS:             256     Maximum PVC Bandwidth:30000
 
Partition 2
 
Partition State :             Enabled
Minimum VSI LCNS:             0
Maximum VSI LCNS:             4096
Start VSI VPI:                201
End VSI VPI :                 255
Minimum VSI Bandwidth :       0       Maximum VSI Bandwidth :        30000
VSI ILMI Config       :       0
 
                                                                                
Last Command: dsprsrc 5.1 2
 
 

You can then enable the two LSCs to control two different partitions by using:

addshelf 4.4 v 1 1                       [partition id=1, controller id=1]
addshelf 4.1 v 2 2                       [partition id=2, controller id=2]

This example uses a single physical link between BPX nodes, from interface 4.8 on BPX1 to 1.1 on BPX2. This physical trunk has two VSI partitions, one under the control of each LSC.

An alternative configuration, not shown in the diagram, would be to create two virtual trunks on the link, for example, with the BPX1 endpoints numbered 4.8.1 and 4.8.2.

The virtual trunk 4.8.1 would have only partition 1 enabled, and 4.8.2 would have only partition 2. Such a configuration is not recommended in practice, because it would prevent the sharing of spare bandwidth between the two "virtual networks" under the control of the two sets of LSCs.

The controller ID for the two LSCs must be different. It may equal the partition ID, but it could be a different value. Note that the controller ID must be specified both on the LSC (in the tag-control-protocol command) and the BPX switch (in addshelf).

LER1 Configuration File

!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 7500-12
!
boot system slot0:rsp-pv-mz.121-1.1.T
enable secret 5 $1$QvGU$NDhlWJM9eYcXN3gJfgZcc1
enable password cisco
ip subnet-zero
ip cef
!
no ip domain-lookup
clns routing
tag-switching tdp router-id Loopback0
!
interface Loopback0
 ip address 12.12.12.12 255.255.255.255
!
interface ATM5/0/0
 no ip address
 no ip route-cache distributed
 atm framing cbitplcp
 no atm ilmi-keepalive
 tag-switching ip
!         
interface ATM5/0/0.1 tag-switching
 ip unnumbered Loopback0
tag-switching atm vpi 100-200
 tag-switching ip
!         
interface ATM5/0/0.2 tag-switching
 ip unnumbered Loopback0
tag-switching atm control-vc 201 40
 tag-switching atm vpi 201-255
 tag-switching ip
!         
router ospf 50
 network 12.12.12.12 0.0.0.0 area 5
!         
ip classless
ip route 0.0.0.0 0.0.0.0 172.29.113.1
no ip http server
!         
!         
tftp-server slot0:rsp-jsv-mz.120-6.5.T4
!         
line con 0
 exec-timeout 0 0
 transport input none
line aux 0
line vty 0 4
 exec-timeout 0 0
 password cisco
 login    
!         
no scheduler max-task-time
end       

LSC1 Configuration File

!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service compress-config
!
hostname R7200-12
!
boot system slot0:c7200-p-mz.121-1.1.T
enable password cisco
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
tag-switching tdp router-id Loopback0
!
!
interface Loopback0
 ip address 112.112.112.112 255.255.255.255
 no ip route-cache
 no ip mroute-cache
!
interface ATM3/0
 no ip address
 no ip mroute-cache
 tag-control-protocol vsi id 1  
! set controller id to 1 (the default)
 no atm ilmi-keepalive
!
!
interface XTagATM48
 ip unnumbered Loopback0
 no ip route-cache cef
 extended-port ATM3/0 bpx 4.8
 tag-switching ip
!
interface XTagATM51
 ip unnumbered Loopback0
 no ip route-cache cef
 extended-port ATM3/0 bpx 5.1
 tag-switching ip
!
router ospf 50
 network 112.112.112.112 0.0.0.0 area 5
!         
ip classless
ip route 0.0.0.0 0.0.0.0 172.29.113.1
no ip http server
!         
!         
line con 0
 exec-timeout 0 0
 password cisco
 transport input none
line aux 0
line vty 0 4
 exec-timeout 0 0
 password cisco
 login    
!         
end       
 

LSC2 Configuration File

!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R7200-13
!
boot system tftp c7200-p-mz.121-1.1.T 172.29.113.87
enable password cisco
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
tag-switching tdp router-id Loopback0
!         
!         
!         
!         
!         
interface Loopback0
 ip address 13.13.13.13 255.255.255.255
interface ATM5/0
 no ip address
 tag-control-protocol vsi id 2
! set controller id to 2
 no atm ilmi-keepalive
 tag-switching ip
!         
interface Hssi6/0
 no ip address
 no ip mroute-cache
 shutdown 
 fair-queue
!         
interface XTagATM48
 ip unnumbered Loopback0
 no ip route-cache cef
 extended-port ATM5/0 bpx 4.8
 tag-switching atm control-vc 201 40
 tag-switching ip
!         
interface XTagATM51
 ip unnumbered Loopback0
 extended-port ATM5/0 bpx 5.1
 tag-switching atm control-vc 201 40
 tag-switching ip
!         
router ospf 50
 network 13.13.13.13 0.0.0.0 area 5
!         
ip classless
ip route 0.0.0.0 0.0.0.0 172.29.113.1
no ip http server
!         
!         
!         
line con 0
 exec-timeout 0 0
 transport input none
line aux 0
line vty 0 4
 exec-timeout 0 0
 no login 
!         
no scheduler max-task-time
end       
 


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Sep 25 12:04:55 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.