In certain circumstances, such as during a transition to a full IP+ATM MPLS environment, or if transit ATM switches do not support MPLS, it might be desirable to run MPLS in Frame-mode across ATM PVCs. This is a perfectly valid configuration although it suffers from the same scaling issues (due to the high number of VCs) as running IP over ATM in an overlay mode.
This type of connectivity, from an MPLS perspective, is essentially the same as described within the previous Frame Relay section. The label allocation scheme uses independent mode, and the distribution of labels uses unsolicited downstream. Figure 4-3 shows an example of this type of connectivity.
You can see from Figure 4-3 that the San Jose and Paris routers are connected across a point-to-point ATM PVC. Again, using the show tag-switching tdp neighbor command confirms that unsolicited downstream label distribution is in effect across the interface and, therefore, MPLS is operating in Frame-mode. You can see this output in Example 4-3 and you can see the relevant configuration of the San Jose router in Example 4-4.
San Jose# show tag-switching tdp neighbor Peer TDP Ident: 220.127.116.11:0; Local TDP Ident 18.104.22.168:0 TCP connection: 22.214.171.124.711 ? 126.96.36.199.11064 State: Oper; PIEs sent/rcvd: 6557/6559; ; Downstream Up time: 3d23h TDP discovery sources: ATM0/0/0.1 Addresses bound to peer TDP Ident: 188.8.131.52 184.108.40.206 220.127.116.11 10.2.1.13
interface ATM0/0/0 no ip address ! interface ATM0/0/0.1 point-to-point description ** interface to Paris ip address 18.104.22.168 255.255.255.252 pvc 0/36 encapsulation aal5snap ! tag-switching ip
Running MPLS across an ATM Forum PVC requires AAL5SNAP encapsulation on that PVC. AAL5MUX encapsulation does not work because packets of two different protocols (pure IP control packets and labeled data packets) are exchanged over the same VC. Chapter 2 details the specific encapsulation across ATM.
It might be desirable in some deployments of the MPLS architecture to run both Frame-mode and Cell-mode MPLS across the same physical ATM interface, for example when linking two private MPLS-enabled ATM networks across a public ATM network that offers only ATM Forum PVC services. You can see how this feature can be used in the migration of an ATM network toward MPLS in the migration example in Chapter 6.
This type of connectivity is possible through the use of sub-interfaces with different sub-interface types on the router's ATM interface configuration. These sub-interfaces can be configured to run Cell-mode MPLS (sub-interface type tag-switching), or they can be configured to run Frame-mode (sub-interface type point-to-point). Figure 4-4 illustrates this technique.
The example topology in Figure 4-4 shows that the San Jose and Paris routers have a point-to-point PVC connection between them but they also run Cell-mode MPLS directly with the MPLS ATM switch. This is achieved through the use of two separate ATM sub-interfaces. Example 4-5 shows the configuration of the San Jose router in this environment.
interface ATM0/0/0 no ip address ! interface ATM0/0/0.1 point-to-point description ** ATM PVC interface to Paris ip address 22.214.171.124 255.255.255.252 pvc 0/36 encapsulation aal5snap ! tag-switching ip ! interface ATM0/0/0.2 tag-switching description ** cell-mode interface to adjacent ATM-LSR ip unnumbered Loopback0 tag-switching ip