ATM Switch Router Software Configuration Guide, 12.1(10)EY
Configuring Tag Switching and MPLS

Table of Contents

Configuring Tag Switching and MPLS
Tag Switching Overview
Hardware and Software Requirements and Restrictions (Catalyst 8540 MSR)
Hardware and Software Requirements and Restrictions (Catalyst 8510 MSR and LightStream 1010)
Configuring Tag Switching
Configuring Tag Switching CoS
Threshold Group for TBR Classes
CTT Row
RM CAC Support
Tag Switching Configuration Example
MPLS Overview
MPLS Network Packet Transmission
Configuring Label Edge Routing
MPLS Over Fast Ethernet Interfaces
MPLS VPNs

Configuring Tag Switching and MPLS


This chapter describes tag switching, a high-performance packet-forwarding technology that assigns tags to mulitprotocol frames for transport across packet- or cell-based networks.


Note   This chapter provides advanced configuration instructions for the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010 ATM switch routers. For an overview of tag switching, refer to the Guide to ATM Technology. For complete descriptions of the commands mentioned in this chapter, refer to the ATM Switch Router Command Reference publication.

This chapter includes the following sections:

Tag Switching Overview

In conventional Layer 3 forwarding, as a packet traverses the network, each router extracts forwarding information from the Layer 3 header. Header analysis is repeated at each router (hop) through which the packet passes.

In a tag switching network, the Layer 3 header is analyzed just once. It is then mapped into a short fixed-length tag. At each hop, the forwarding decision is made by looking only at the value of the tag. There is no need to reanalyze the Layer 3 header. Because the tag is a fixed-length, unstructured value, lookup is fast and simple.

For an overview of how tag switching works and its benefits, refer to the Guide to ATM Technology.

Hardware and Software Requirements and Restrictions (Catalyst 8540 MSR)

The Catalyst 8540 MSR hardware requirements for tag switching include the following:

  • The ATM switch router (used as a tag switch)
  • A tag edged router such as a Cisco 7000 Route Switch Processor (RSP) with an Optical Carrier 3 (OC-3) ATM interface processor (AIP) installed

Tag switching has the following software restrictions:

  • Open Shortest Path First (OSPF) is the only routing protocol currently supported.
  • IP is the only network layer protocol supported.
  • Hierarchical VP tunnels cannot co-exist on a physical interface with tag switching.

Hardware and Software Requirements and Restrictions (Catalyst 8510 MSR and LightStream 1010)

The Catalyst 8510 MSR and LightStream 1010 ATM switch router hardware requirements for tag switching include the following:

  • The ATM switch router (used as a tag switch).
  • A switch processor feature card installed on the route processor, if you want to enable VC merge (multipoint-to-point connection). Note that FC-PFQ requires 64 MB of DRAM.
  • A tag edged router such as a Cisco 7000 RSP with an OC-3 AIP installed.

Tag switching has the following software restrictions:

  • Open Shortest Path First (OSPF) is the only routing protocol currently supported.
  • IP is the only network layer protocol supported.
  • Hierarchical VP tunnels cannot co-exist on a physical interface with tag switching.

Configuring Tag Switching

This section describes how to configure tag switching on ATM switch routers, and includes the following procedures:

Configuring a Loopback Interface

You should configure a loopback interface on every ATM switch router configured for tag switching. The loopback interface, a virtual interface, is always active. The IP address of the loopback interface is used as the Tag Distribution Protocol (TDP) identifier for the ATM switch router. If a loopback interface does not exist, the TDP identifier is the highest IP address configured on the ATM switch router. If that IP address is administratively shut down, all TDP sessions through the ATM switch router restart. Therefore, we recommend that you configure a loopback interface.

To configure the loopback interface, perform the following steps, beginning in global configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface loopback number

Switch(config-if)#

Enters interface configuration mode and assigns a number to the loopback interface.

Step 2 

Switch(config-if)# ip address ip-address mask

Assigns an IP address and subnet mask to the loopback interface.

Note We recommend a 32-bit subnet mask (255.255.255.255) for the loopback interface. If you do not use a 32-bit subnet mask, two TVCs1 terminate for the same address—one for a 32-bit subnet mask and the other for the mask you entered. Entering a 32-bit subnet mask reduces the number of TVCs to one.

TVCs = tag virtual channels.

Example

In the following example, loopback interface 0 is created with an IP address of 1.0.1.11 and a subnet mask of 255.255.255.255:

Switch(config)# interface loopback 0
Switch(config-if)# ip address 1.0.1.11 255.255.255.255
Switch(config-if)# exit

Displaying Loopback Interface Configuration

The following example shows the loopback 0 configuration using the show interfaces privileged EXEC command:

Switch# show interfaces loopback 0
Loopback0 is up, line protocol is up
  Hardware is Loopback
  Internet address is 1.0.1.11/24
  MTU 1500 bytes, BW 8000000 Kbit, DLY 5000 usec, rely 255/255, load 1/255
  Encapsulation LOOPBACK, loopback not set, keepalive set (10 sec)
  Last input 00:00:03, output never, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/0, 0 drops; input queue 0/75, 0 drops
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     73 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out

Enabling Tag Switching on the ATM Interface


Note   Configure all parallel interfaces between ATM switch routers for either IP unnumbered or with a specific IP address. Unnumbering some parallel interfaces and assigning specific IP addresses to others might cause TDP sessions to restart on some parallel interfaces when another parallel interface is shut down. Therefore, we highly recommend that you unnumber all parallel interfaces to loopback.

To enable tag switching on the ATM interface, perform the following steps, beginning in global configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Enters interface configuration mode on the specified ATM interface.

Step 2 

Switch(config-if)# ip unnumbered type number




or

Switch(config-if)# ip address ip-address mask

Enables IP unnumbered on the ATM interface and assigns the unnumbered interface to an interface that has an IP address. We recommend enabling IP unnumbered because it allows you to conserve IP addresses and it reduces the number of TVCs terminating on the switch.

or

Assigns an IP address and subnet mask to the ATM interface.

Step 3 

Switch(config-if)# tag-switching ip

Enables tag switching of IPv4 packets.

Examples

In the following example, ATM interface 1/0/1 is configured for IP unnumbered to loopback interface 0:

Switch(config-if)# interface atm 1/0/1
Switch(config-if)# ip unnumbered loopback 0
Switch(config-if)# tag-switching ip
Switch(config-if)# exit

In the following example, ATM interface 0/0/3 is configured with a specific IP address and subnet mask (1.3.11.3 255.255.0.0):

Switch(config)# interface atm 0/0/3
Switch(config-if)# ip address 1.3.11.3 255.255.0.0
Switch(config-if)# tag-switching ip
Switch(config-if)# exit

Displaying the ATM Interface Configuration

To display the ATM interface configuration, use the following EXEC command:

Command  Purpose 

show tag-switching interfaces

Displays the tag switching configuration on the ATM interface.

The following example shows that tag switching is configured on ATM interfaces 0/0/3 and 1/0/1:

Switch# show tag-switching interfaces
Interface              IP    Tunnel   Operational
ATM0/0/3               Yes   No       Yes         (ATM tagging)
ATM1/0/1               Yes   No       Yes         (ATM tagging)

Configuring OSPF

Enable OSPF on the ATM switch router so that it can create routing tables, which identify routes through the network. Then add the addresses and associated routing areas to the OSPF process so that it can propagate the addresses to other ATM switch routers:

  Command  Purpose 
Step 1 

Switch(config)# router ospf process_number

Switch(config-router)#

Enables OSPF and assigns it a process number. The process number can be any positive integer.

Step 2 

Switch(config-router)# network address wildcard-mask area area-id

Defines the network prefix, a wildcard subnet mask, and the associated area number on which to run OSPF. An area number is an identification number for an OSPF address range.

Repeat this command for each additional area you want to add to the OSPF process.

Caution  Ethernet0 is used for system management only. Do not add this interface to the routing protocol process.


Note   Since the 12.0(1a)W5(5b) release of the system software, addressing the interface on the route processor (CPU) has changed. The ATM interface is now called atm0, and the Ethernet interface is now called ethernet0. Old formats (atm 2/0/0 and ethernet 2/0/0) are still supported.

Example

The following is an example of OSPF enabled and assigned process number 10000. All addresses are in area 0:


Note   An IP address of 1.1.1.1 with a subnet mask of 255.255.255.0 is entered as an IP network prefix of 1.1.1.0 with a subnet mask of 0.0.0.255. Likewise, an IP address of 1.2.1.1 with a subnet mask of 255.255.255.0 is entered as an IP network prefix of 1.2.1.0 with a subnet mask of 0.0.0.255.

Switch(config)# router ospf 10000
Switch(config-router)# network 1.1.1.0 0.0.0.255 area 0
Switch(config-router)# network 1.2.1.0 0.0.0.255 area 0
Switch(config-router)# network 1.3.0.0 0.0.255.255 area 0
Switch(config-router)# network 200.2.2.0 0.0.0.255 area 0
Switch(config-router)# network 1.0.1.0 0.0.0.255 area 0
Switch(config-router)# network 1.18.0.0 0.0.255.255 area 0

Displaying the OSPF Configuration

To display the OSPF configuration, use the following privileged EXEC command:

Command  Purpose 

show ip ospf

Displays the OSPF configuration.

The following example shows the OSPF configuration using the show ip ospf privileged EXEC command:

Switch# show ip ospf
 Routing Process "ospf 10000" with ID 1.0.1.11
 Supports only single TOS(TOS0) routes
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Number of DCbitless external LSA 0
 Number of DoNotAge external LSA 0
 Number of areas in this router is 1. 1 normal 0 stub 0 nssa
    Area BACKBONE(0) (Inactive)
        Number of interfaces in this area is 4
        Area has no authentication
        SPF algorithm executed 2 times
        Area ranges are
        Link State Update Interval is 00:30:00 and due in 00:14:42
        Link State Age Interval is 00:20:00 and due in 00:14:10
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0

Configuring a VPI Range (Optional)

Although not necessary for most configurations, you might need to change the default tag virtual path identifier (VPI) range on the switch if:

  • It is an administrative policy to use a VPI value other than 1, the default VPI.
  • There are a large number of tag virtual channels (TVCs) on an interface.

  • Note   You cannot enter a VPI range on a VP tunnel. On VP tunnels, the VPI is the permanent virtual path (PVP) number of the tunnel.

To change the default tag VPI range, perform the following steps, beginning in global configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Enters interface configuration mode on the specified ATM interface.

Step 2 

Switch(config-if)# tag-switching atm vpi vpi [vpi]

Enters the VPI range.

Note If the TDP neighbor is a router, the VPI range can be no larger than two. For example, from 5 to 6 (a range of two), not 5 to 7 (a range of three). If the TDP neighbor is a switch, the maximum VPI range is 0 to 255.

Examples

The following example shows how to select a VPI range from 5 to 6 (a range of two), an acceptable range if the TDP neighbor is a router:

Switch(config)# interface atm 3/0/1 
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm vpi 5 - 6

The following example shows how to select a VPI range from 5 to 7 (a range of three), an acceptable range if the TDP neighbor is a switch:

Switch(config)# interface atm 3/0/1 
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm vpi 5 - 7

Note   Although the example shows a VPI range of three, you are not limited to a range of three if the TDP neighbor is a switch. The maximum VPI range is 0 to 255 if the TDP neighbor is a switch.

Displaying the Tag Switching VPI Range

To display the tag switching VPI range, use the following EXEC command:

Command  Purpose 

show tag-switching interfaces detail

Displays the tag switching VPI range on an interface.

Example

The following example shows the tag switching VPI range on ATM interface 1/0/1:

Switch# show tag-switching interfaces detail
Interface ATM0/0/3:
        IP tagging enabled
        TSP Tunnel tagging not enabled
        Tagging operational
        MTU = 4470
        ATM tagging: Tag VPI = 1, Control VC = 0/32
Interface ATM1/0/1:
        IP tagging enabled
        TSP Tunnel tagging not enabled
        Tagging operational
        MTU = 4470
                ATM tagging: Tag VPI range = 5 - 6, Control VC = 6/32
<information deleted>

Configuring TDP Control Channels (Optional)

Although not necessary for most configurations, you can change the default Tag Distribution Protocol (TDP) control channel VPI and virtual channel identifier (VCI) if you want to use a nondefault value. The default TDP control channel is on VPI 0 and VCI 32. TDP control channels exchange TDP HELLOs and Protocol Information Elements (PIEs) to establish two-way TDP sessions. TVCs are created by the exchange of PIEs through TDP control channels.

To change the TDP control channel, perform the following steps, beginning in global configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Enters interface configuration mode on the specified ATM interface.

Step 2 

Switch(config-if)# ip address ip-address mask

Assigns an IP address and subnet mask to the ATM interface.

Step 3 

Switch(config-if)# tag-switching ip

Enables tag switching of IPv4 packets.

Step 4 

Switch(config-if)# tag-switching atm control-vc vpi vci

Changes the TDP control channel.

Figure 15-1 shows an example TDP control channel configuration between a source switch and destination switch on ATM interface 0/0/1. Note that the VPI and VCI values match on the source switch and destination switch.


Figure 15-1   Configuring TDP Control Channels


Examples

In the following example, a TDP control channel is configured on the source switch:

Switch(config)# interface atm 0/0/1
Switch(config-if)# ip address 1.2.0.11 255.255.255.0
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm control-vc 6 32
Switch(config-if)# exit

In the following example, a TDP control channel is configured on the destination switch:

Switch(config)# interface atm 0/0/1
Switch(config-if)# ip address 1.2.0.12 255.255.255.0
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm control-vc 6 32
Switch(config-if)# exit

If you are having trouble establishing a TDP session, verify that the VPI and VCI values match on the TDP control channels of the source switch and destination switch.

Displaying the TDP Control Channels

To display the TDP control channel configuration, use the following EXEC command:

Command  Purpose 

show tag-switching interfaces detail

Displays the TDP control channel configuration on an interface.

The following example shows the TDP control channel configuration on interface ATM 0/0/3:

Switch# show tag-switching interfaces detail
Interface ATM0/0/3:
        IP tagging enabled
        TSP Tunnel tagging not enabled
        Tagging operational
        MTU = 4470
        ATM tagging: Tag VPI = 1, Control VC = 0/32
<information deleted>

Configuring Tag Switching on VP Tunnels

If you want to configure tag switching on virtual path (VP) tunnels, perform the following steps, beginning in global configuration mode:


Note   This procedure is optional.

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Enters interface configuration mode on the specified ATM interface.

Step 2 

Switch(config-if)# atm pvp vpi

Creates a PVP. When configuring PVP connections, configure the lowest VPI numbers first.

Step 3 

Switch(config-if)# exit

Switch(config)#

Returns to global configuration mode.

Step 4 

Switch(config)# interface atm card/subcard/port.subinterface#

Switch(config-subif)#

Enters subinterface configuration mode.

Step 5 

Switch(config-subif)# ip unnumbered type number



or

Switch(config-subif)# ip address ip-address mask

Enables IP unnumbered on the ATM interface and assigns the unnumbered interface to an interface that has an IP address. We recommend enabling IP unnumbered because it allows you to conserve IP addresses and reduces the number of TVCs terminating on the switch.

or

Assigns an IP address and subnet mask to the ATM interface.

Step 6 

Switch(config-subif)# tag-switching ip

Enables tag switching of IPv4 packets.

Because a VP tunnel runs between switches, you must also configure a VP tunnel on the connecting ATM interface on the destination switch. The examples that follow show how to configure VP tunnels between switches.


Note   The intermediate switch configuration follows in the next section, "Connecting the VP Tunnels."

Figure 15-2 shows an example VP tunnel between a source switch and destination switch.


Figure 15-2   Configuring VP Tunnels


Examples

In the following example, ATM interface 0/1/1 on the source switch has no IP address and PVP 51 is configured for IP unnumbered to loopback interface 0:

Switch(config-if)# interface atm 0/1/1
Switch(config-if)# atm pvp 51
Switch(config-if)# exit
Switch(config-if)# interface atm 0/1/1.51
Switch(config-subif)# ip unnumbered loopback 0
Switch(config-subif)# tag-switching ip
Switch(config-subif)# exit

In the following example, ATM interface 0/1/3 on the destination switch has no IP address and PVP 101 is configured for IP unnumbered to loopback interface 0:

Switch(config)# interface atm 0/1/3
Switch(config-if)# atm pvp 101
Switch(config-if)# exit
Switch(config)# interface atm 0/1/3.101
Switch(config-subif)# ip unnumbered loopback 0
Switch(config-subif)# tag-switching ip
Switch(config-subif)# exit

To connect the source and destination switch VP tunnels, proceed to the next section, "Connecting the VP Tunnels."

Displaying the VP Tunnel Configuration

To display the VP tunnel configuration, use the following EXEC command:

Command  Purpose 

show atm vp

Displays the VP tunnel configuration on an interface.

The following example shows PVP 51 configured on ATM interface 0/1/1:

Switch# show atm vp
Interface    VPI    Type  X-Interface     X-VPI     Status
ATM0/1/1     51      PVP     TUNNEL

Connecting the VP Tunnels

To complete the VP tunnel, you must configure the ATM ports on the intermediate switch to designate where to send packets coming from the source switch and going to the destination switch.

To connect the permanent virtual path (PVP), perform the following steps, beginning in interface configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Enters interface configuration mode on the specified ATM interface.

Step 2 

Switch(config-if)# atm pvp vpi interface atm card/subcard/port vpi-B

Connects the PVP from the source switch to the destination switch.

Figure 15-3 shows an example configuration on an intermediate switch.


Figure 15-3   Connecting the VP Tunnels


Example

In the following example, PVP 51 on ATM interface 0/1/1 is connected to PVP 101 on ATM interface 0/1/3:

Switch(config)# interface atm 0/1/1
Switch(config-if)# atm pvp 51 interface atm 0/1/3 101
Switch(config-if)# exit

Displaying the VP Tunnel Configuration

The following example shows PVP 51 on ATM interface 0/1/1 connected to PVP 101 on ATM interface 0/1/3:

Switch# show atm vp
Interface    VPI    Type  X-Interface     X-VPI     Status
ATM0/1/1     51      PVP     ATM0/1/3     101       DOWN
ATM0/1/3     101     PVP     ATM0/1/1     51        DOWN

Configuring VC Merge

VC merge allows the switch to aggregate multiple incoming flows with the same destination address into a single outgoing flow. Where VC merge occurs, several incoming tags are mapped to one single outgoing tag. Cells from different VCIs going to the same destination are transmitted to the same outgoing VC using multipoint-to-point connections. This sharing of tags reduces the total number of virtual circuits required for tag switching. Without VC merge, each source-destination prefix pair consumes one tag VC on each interface along the path. VC merge reduces the tag space shortage by sharing tags for different flows with the same destination.


Note   VC merge support requires FC-PFQ on the route processor. If you do not have FC-PFQ, and you try to enable VC merge, the TVCs remain point-to-point. (Catalyst 8510 MSR and LightStream 1010)

VC merge is enabled by default. To disable VC merge, enter the following command in global configuration mode:

Command Purpose

no tag-switching atm vc-merge

Disables VC merge.

Displaying the VC Merge Configuration

To display the VC merge configuration, use the following EXEC command:

Command  Purpose 

show tag-switching atm-tdp capability

Displays the TDP control channel configuration on an interface.

The following example shows that VC merge configuration is enabled on ATM interface 0/1/0:

Switch# show tag-switching atm-tdp capability
 
                Control    VPI           VCI           Alloc   VC Merge
ATM0/1/0       VP    VC    Range         Range         Scheme  IN   OUT
  Negotiated   0     32    [7 - 8]       [33 - 1023]   UNIDIR  -    -    
  Local        -     -     [7 - 8]       [33 - 16383]  UNIDIR  Yes  Yes
  Peer         -     -     [7 - 8]       [33 - 1023]   UNIDIR  -    - 

Configuring Tag Switching CoS

Quality of service (QoS) allows ATM to meet the transmission quality and service availability of many different types of data. The need for delay-sensitive data, such as voice, can be given a higher priority than data that is not delay-sensitive, such as e-mail. The following service categories were created for ATM Forum VCs to meet the transmission needs of various types of data: VBR-RT, VBR-NRT, ABR, and UBR. See "Configuring Resource Management," for more information about the standard ATM Forum implementation of QoS. This section describes tag switching class of service (CoS).

Up to eight QoS classes (0 to 7) can be allocated to each physical interface port. Each port has an independent logical rate scheduler (RS) and a weighted round-robin (WRR) scheduler. The RS guarantees minimum bandwidth and has first priority on supplying an eligible cell for transmission. Second priority is given to the service classes, which have been assigned relative weights that are based on the ratio of the total leftover bandwidth. The service class relative weights are configurable so you can change the priority of the default values. The VCs within a service class also have relative weights. The service classes and VCs within a service class are scheduled by their relative weights.

With tag switching CoS, tag switching can dynamically set up to four tag virtual channels (TVCs) with different service categories between a source and destination. TVCs do not share the same QoS classes reserved for ATM Forum VCs (VBR-RT, VBR-NRT, ABR, and UBR). The following four new service classes were created for TVCs: TBR_1 (WRR_1), TBR_2 (WRR_2), TBR_3 (WRR_3), and TBR_4 (WRR_4). These new service classes are called Tag Bit Rate (TBR) classes. TVCs and ATM Forum VCs can only coexist on the same physical interface, but they operate in ships in the night (SIN) mode and are unaware of each other.

TBR classes support only best-effort VCs (similar to the ATM Forum service category UBR); therefore, there is no bandwidth guarantee from the RS, which is not used for TVCs. All of the TVCs fall into one of the four TBR classes, each carrying a different default relative weight. The default values of the relative weights for the four TBR classes are configurable, so you can change the priority of the default values.

Table 15-1and Table 15-2 list the TBR classes and ATM Forum class mappings into the service classes for physical ports.

Table 15-1   Service Class to Weight Mapping for Physical Ports

TBR Class  Service Class  Relative Weight 

TBR_1 (WRR_1)

1

1

TBR_2 (WRR_2)

6

2

TBR_3 (WRR_3)

7

3

TBR_4 (WRR_4)

8

4

Table 15-2   ATM Forum Class Mapping for Physical Ports

ATM Forum Service Category  Service Class  Relative Weight 

CBR1

2

8

VBR-RT

2

8

VBR-NRT

3

1

ABR

4

1

UBR

5

1

Even though the CBR service category is mapped to service class 2, all of the CBR VCs are rate scheduled only, and therefore they are not WRR scheduled.

When tag switching is enabled on a hierarchical VP tunnel, the tunnel can only be used for tag switching. Because hierarchical VP tunnels support only four service classes, both TVCs and ATM Forum VCs map to the same service classes. Therefore, both ATM Forum VCs and TVCs cannot coexist in a hierarchical VP tunnel. The relative weights assigned to the service classes depend on which is active (either tag switching or ATM Forum). The class weights change whenever a hierarchical VP tunnel is toggled between ATM Forum and tag switching. By default, a hierarchical VP tunnel comes up as an ATM Forum port.

Table 15-3 and Table 15-4 list the TBR classes and ATM Forum service category mappings for hierarchical VP tunnels.

Table 15-3   Service Class to Weight Mapping for Hierarchical VP Tunnels

TBR Class  Service Class  Relative Weight 

TBR_1 (WRR_1)

1

1

TBR_2 (WRR_2)

2

2

TBR_3 (WRR_3)

3

3

TBR_4 (WRR_4)

4

4

Table 15-4   ATM Forum Service Category Mapping for Hierarchical VP Tunnels

ATM Forum Service Category Service Class Relative Weight

VBR-RT

1

8

VBR-NRT

2

1

ABR

3

1

UBR

4

1

Configuring the Service Class and Relative Weight

Each service class is assigned a relative weight. These weights are configurable and range from 1 to 15.

To configure the service class and relative weight on a specific interface, perform the following steps, beginning in global configuration mode:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port[.vpt#]

Switch(config-if)#

Specifies an ATM interface and enters interface configuration mode.

Step 2 

Switch(config-if)# atm service-class {1 | 6 | 7 | 8} wrr-weight weight

or

Switch(config-if)# atm service-class {1 | 2 | 3 | 4} wrr-weight weight

Enters the service class and relative weight for a physical interface.

or

Enters the service class and relative weight for a hierarchical interface.

Example

In the following example, ATM interface 0/0/3 is configured with service class 1 and a WRR weight of 3:

Switch(config)# interface atm 0/0/3
Switch(config-if)# atm service-class 1 wrr-weight 3

Displaying the TVC Configuration

To display the TVC configuration, perform the following task in EXEC mode:

Command  Purpose 

show atm vc interface atm card/subcard/port [vpi vci]

Displays the ATM layer connection information about the virtual connection.

The following example shows the service category of the TVC:

Switch# show atm vc interface atm 0/0/3 1 35
Interface: ATM0/0/3, Type: oc3suni 
VPI = 1  VCI = 35
Status: UP
Time-since-last-status-change: 1d00h
Connection-type: TVC(I) 
Cast-type: multipoint-to-point-input
Packet-discard-option: enabled
Usage-Parameter-Control (UPC): pass
Wrr weight: 2
Number of OAM-configured connections: 0
OAM-configuration: disabled
OAM-states:  Not-applicable
Cross-connect-interface: ATM0/1/3.10, Type: oc3suni 
Cross-connect-VPI = 10 
Cross-connect-VCI = 34
Cross-connect-UPC: pass
Cross-connect OAM-configuration: disabled
Cross-connect OAM-state:  Not-applicable
Threshold Group: 7, Cells queued: 0
Rx cells: 0, Tx cells: 0
Tx Clp0:0,  Tx Clp1: 0
Rx Clp0:0,  Rx Clp1: 0
Rx Upc Violations:0, Rx cell drops:0
Rx pkts:0, Rx pkt drops:0
Rx connection-traffic-table-index: 63998
Rx service-category: WRR_1 (WRR Bit Rate)
Rx pcr-clp01: none
Rx scr-clp01: none
Rx mcr-clp01: none
Rx      cdvt: 1616833580 (from default for interface)
Rx       mbs: none
Tx connection-traffic-table-index: 63998
Tx service-category: WRR_1 (WRR Bit Rate)
Tx pcr-clp01: none
Tx scr-clp01: none
Tx mcr-clp01: none
Tx      cdvt: none
Tx       mbs: none

Threshold Group for TBR Classes

A threshold group utilizes the memory efficiently among VCs of a particular traffic type. Each threshold group is programmed with a dynamic memory allocation profile that maps into the needs of the connections of a particular service class. There are 16 threshold groups (0 to 15) available on the ATM switch router. Each threshold group has a set of eight regions, and each region has a set of thresholds. When these thresholds are exceeded, cells are dropped to maintain the integrity of the shared memory resource.

Each ATM Forum service category is mapped into a distinct threshold group. All the connections in a particular service category map into one threshold group. Similarly, all the Tag Bit Rate (TBR) classes have best effort traffic and the service differentiation comes mainly by giving different weights. Each of the TBR classes map into four different threshold groups whose parameters are the same as the unspecified bit rate (UBR) threshold group.

Table 15-5 shows the threshold group parameters mapped to the connections in all of the TBR classes for the Catalyst 8540 MSR.

Table 15-5   Threshold Group Parameters for TVCs (Catalyst 8540 MSR)

Group  Maximum Cells  Maximum Queue Limit  Minimum Queue Limit  Mark Threshold  Discard Threshold  Use 

7

131,071

511

31

25%

87%

TBR_1

8

131,071

511

31

25%

87%

TBR_2

9

131,071

511

31

25%

87%

TBR_3

10

131,071

511

31

25%

87%

TBR_3

Table 15-6 shows the threshold group parameters mapped to the connections in all of the TBR classes for the Catalyst 8510 MSR and LightStream 1010 ATM switch routers.

Table 15-6   Threshold Group Parameters for TVCs (Catalyst 8510 MSR and LightStream 1010)

Group  Maximum Cells  Maximum Queue Limit  Minimum Queue Limit  Mark Threshold  Discard Threshold  Use 

7

65,535

511

31

25%

87%

TBR_1

8

65,535

511

31

25%

87%

TBR_2

9

65,535

511

31

25%

87%

TBR_3

10

65,535

511

31

25%

87%

TBR_3

Each threshold group is divided into eight regions. Each region has a set of thresholds that are calculated from the corresponding threshold group parameters given in Table 15-5. The threshold group might be in any one of the regions depending on the fill level (cell occupancy) of that group. And that region is used to derive the set of thresholds which apply to all the connections in that group.

Table 15-7 gives the eight thresholds for threshold groups 6, 7, 8, and 9.

Table 15-7   Region Thresholds for Threshold Groups

Region  Lower Limit  Upper Limit  Queue Limit  Marking Threshold  Discard Threshold 

0

0

8191

511

127

447

1

8128

16,383

255

63

223

2

16,320

24,575

127

31

111

3

24,512

32,767

63

15

63

4

32,704

40,959

31

15

31

5

40,896

49,151

31

15

31

6

49,088

57,343

31

15

31

7

57,280

65,535

31

15

31

For more information about threshold groups and configuration parameters, see "Configuring Resource Management," and the Guide to ATM Technology.

CTT Row

A row in the connection traffic table (CTT) is created for each unique combination of traffic parameters. When a TVC is set up in response to a request by tag switching, a CTT row is obtained from the resource manager by passing the traffic parameters that include the service category (TBR_x [WRR_x], where x is 1, 2, 3, or 4). If a match is found for the same set of traffic parameters, the row index is returned; otherwise a new table is created and the row index of that CTT row is returned. Since all data TVCs use the same traffic parameters, the same CTT row can be used for all TVCs of a particular service category once it is created.


Note   There are no user configurable parameters for the CTT with TVCs.

RM CAC Support

Connection admission control (CAC) is not supported for tag virtual channels (TVCs). All TVCs are best effort connections; therefore, no bandwidth is guaranteed by the RS. Only the WRR scheduler is used. So, all of the traffic parameters (PCR, MCR, MBS, CDVT, and SCR) are unspecified. There is no best effort limit like there is with ATM Forum UBR and ABR connections. CAC is bypassed for TVCs.

Tag Switching Configuration Example

Figure 15-4 shows an example tag switching network.


Figure 15-4   Example Network for Tag Switching


Router 5-1 Configuration

The configuration of router R5-1, interface e0/1, follows:

router_R5-1# configure terminal
router_R5-2(config)# ip cef switch
router_R5-1(config)# tag-switching advertise-tags
router_R5-1(config)# interface e0/1
router_R5-1(config-if)# tag-switching ip
router_R5-1(config-if)# exit
router_R5-1(config)#
Router 5-2 Configuration

The configuration between router R5-1, interface e0/1, and R5-2, interface e0/1, follows:

router_R5-2# configure terminal
router_R5-2(config)# ip cef switch
router_R5-2(config)# tag-switching advertise-tags
router_R5-2(config)# interface e0/1
router_R5-2(config-if)# tag-switching ip
router_R5-2(config-if)# exit
router_R5-2(config)#

The configuration between router R5-2, interface e0/2, and R5-3, interface e0/2, follows:

route_R5-2(config)# interface e0/2
route_R5-2(config-if)# tag-switching ip
route_R5-2(config-if)# exit

The configuration of router R5-2, interface a2/0.1, follows:

router_R5-2(config-if)# interface a2/0.1 
router_R5-2(config-subif)# ip address 189.26.11.15 255.255.0.0
router_R5-2(config-subif)# tag-switching ip
router_R5-2(config-subif)# no shutdown
router_R5-2(config-subif)# exit
router_R5-2(config)# interface a2/0
router_R5-2(config)# no shutdown
Router 5-3 Configuration

The configuration of router R5-3, interface e0/2, follows:

router_R5-3# configure terminal
router_R5-3(config)# ip cef switch
router_R5-3(config)# tag-switching advertise-tags
router_R5-3(config)# interface e0/2
router_R5-3(config-if)# tag-switching ip
router_R5-3(config-if)# exit

The configuration of router R5-3, interface e0/5 follows:

router_R5-3(config)# interface e0/5
router_R5-3(config-if)# tag-switching ip
router_R5-3(config-if)# exit

The configuration of router R5-3, interface atm 2/0.1, follows:

router_R5-3# configure terminal
router_R5-3(config)# interface atm 2/0.1 
router_R5-3(config-if)# ip address 189.25.12.13 255.255.0.0
router_R5-3(config-if)# tag-switching ip
router_R5-3(config-if)# no shutdown
router_R5-3(config-if)# exit
router_R5-3(config)# interface a2/0
router_R5-3(config-if)# no shutdown
ATM Switch Router A5-4 Configuration

The configuration of ATM switch router A5-4, interfaces atm 0/1/1 and atm 0/0/3, follows:

atm_A5-4# configure terminal
atm_A5-4(config)# interface atm 0/1/1
atm_A5-4(config-if)# no shutdown
atm_A5-4(config-if)# ip address 189.24.15.12 255.255.0.0
atm_A5-4(config-if)# tag-switching ip
atm_A5-4(config-if)# exit
atm_A5-4(config)# tag-switching ip
atm_A5-4(config)# interface atm 0/0/3
atm_A5-4(config-if)# no shutdown
atm_A5-4(config-if)# ip address 189.25.15.11 255.255.0.0
atm_A5-4(config-if)# tag-switching ip
atm_A5-4(config-if)# exit
atm_A5-4(config)# tag-switching ip
Router 5-5 Configuration

The configuration of router R5-5, interface e0/2, follows:

router_R5-5# configure terminal
router_R5-5(config)# ip cef switch
router_R5-5(config)# tag-switching advertise-tags
router_R5-5(config)# interface e0/2
router_R5-5(config-if)# tag-switching ip
router_R5-5(config-if)# exit
ATM Switch Router A6-4 Configuration

The configuration of ATM switch router A6-4, interface atm 0/1/1, follows:

atm_A6-4# configure terminal
atm_A6-4(config)# interface atm 0/1/1
atm_A6-4(config-if)# no shutdown
atm_A6-4(config-if)# ip address 189.24.14.12 255.255.0.0
atm_A6-4(config-if)# tag-switching ip
atm_A6-4(config-if)# exit

The configuration of ATM switch router A6-4, interface atm 0/0/3, follows:

atm_A6-4# configure terminal
atm_A6-4(config)# interface atm 0/0/3
atm_A6-4(config-if)# no shutdown
atm_A6-4(config-if)# ip address 189.26.14.11 255.255.0.0
atm_A6-4(config-if)# tag-switching ip
atm_A6-4(config-if)# exit

MPLS Overview

MPLS Label Distribution Protocol (LDP), as standardized by the Internet Engineering Task Force (IETF) and as enabled by Cisco IOS software, allows the construction of highly scalable and flexible IP Virtual Private Networks (VPNs) that support multiple levels of services. MPLS offers the following benefits:

  • IP over ATM scalability—Enables service providers to keep up with Internet growth
  • IP services over ATM—Brings Layer 2 benefits to Layer 3, such as traffic engineering capability
  • Standards—Supports multi-vendor solutions
  • Architectural flexibility—Offers choice of ATM or router technology, or a mix of both

This section describes the Multiprotocol Label Switching (MPLS) distribution protocol. MPLS combines the performance and capabilities of Layer 2 (data link layer) switching with the proven scalability of Layer 3 (network layer) routing. This chapter includes the following sections:

  • Additional MPLS Documentation
  • MPLS Overview
  • MPLS Network Packet Transmission
  • Configuring Label Edge Routing
  • Configuring VPN Networks on Fast Ethernet Interfaces

Obtaining Additional MPLS Documentation

This chapter contains early field test MPLS configuration information for label edge routing (LER) and VPN networks on Fast Ethernet interfaces. For additional MPLS configuration documentation, refer to the sources in Table 15-8.

Table 15-8   Additional MPLS Configuration Documentation

Document  Section  URL 

ATM Switch Router Software Configuration Guide

"Configuring Tag Switching"

http://www.cisco.com/univercd/cc/td/doc/product/atm/c8540/12_1/1hous_mt/sw_conf/tag.htm

Layer 3 Switching Software Feature and Configuration Guide

"Tag Switching"

http://www.cisco.com/univercd/cc/td/doc/product/l3sw/8540/12_1/lhouse/sw_confg/8500tags.htm

ATM and Layer 3 Troubleshooting Guide

"Troubleshooting Tag and MPLS Switching Connections"

See PDF Version for EFT documentation

Cisco IOS Switching Services Configuration Guide, Release 12.1

"Multi protocol Label Switching Overview"

/en/US/docs/ios/12_1/switch/configuration/guide/xcdtagov.html#xtocid480

Cisco IOS Switching Services Configuration Guide, Release 12.1

"Configuring Multiprotocol Label Switching"

/en/US/docs/ios/12_1/switch/configuration/guide/xcdtagc.html#xtocid264140

Cisco IOS Switching Services Configuration Guide, Release 12.1

"Configuring Cisco Express Forwarding"

/en/US/docs/ios/12_1/switch/configuration/guide/xcdcefc.html#46064

Hardware and Software Restrictions

The following restrictions or limitations apply to MPLS on the Catalyst 8540, Catalyst 8510 and LightStream 1010:

  • MPLS is supported on the Enhanced Gigabit Ethernet, POS, Enhanced ATM router module (1483 PVC), Fast Ethernet, and ATM interfaces

Note    Fast Ethernet and ATM interfaces must be linked to an Enhanced ATM router module interface by using the mpls-forwarding command to provide MPLS support.

  • Traffic Engineering MPLS-QOS is not supported.
  • Multicast over MPLS is not supported.
  • Access-list based tag advertisements and filtering of MPLS packets based on access-lists are not supported.
  • Jumbo frames on MPLS interfaces is not supported.
  • Support for EBGP, RIP, OSPF between CE-PE and support for RIP, OSPF, and ISIS between PE-P.
    In the case of a TC-ATM link between PE-P, only OSPF and ISIS protocols are supported.
  • Support IBGP between PE.
  • Port-channel cannot be MPLS enabled.
  • Port-channel cannot be VRF enabled.
  • BVI cannot be MPLS enabled.
  • BVI cannot be VRF enabled.
  • Statistics at label level are not supported.
  • Layer 2 statistics or Layer 3 statistics for ATM interface are not supported.
  • When using the mpls-forwarding command to link a Fast Ethernet module with shared CAM (content addressable memory) to an ATM router module you can only configure the "master" port (not the "slave" ports) of the Ethernet processor interface. However, once the configuration is applied to the master port the controlling ATM router module performs MPLS and VRF processing for all ports controlled by the Ethernet processor interface (master and slave ports).

Note    There is one master port per Ethernet processor interface (which controls four Fast Ethernet interfaces). For example, on an Ethernet processor interface controlling Fast Ethernet interfaces 2/0/0 through 2/0/3, Fast Ethernet interface 2/0/3 is the master port.

MPLS/Tag Switching Terminology

Table 15-9 provides a conversion from the tag switching designations to the equivalent MPLS designations.

Table 15-9   Equivalency Table for Tag Switching and MPLS Terms

Old Tag Switching Terminology  New MPLS IETF Terminology 

Tag switching

MPLS (Multiprotocol Label Switching)

Tag (short for tag switching)

MPLS

Tag (item or packet)

Label

TDP (Tag Distribution Protocol)

LDP (Label Distribution Protocol)

Cisco TDP and LDP MPLS are nearly identical in function, but use incompatible message formats and some different procedures.

Tag switched

Label switched

TFIB (tag forwarding information base)

LFIB (label forwarding information base)

TSR (tag switch router)

LSR (label switch router)

TSC (tag switched controller)

LSC (label switched controller)

ATM-TSR (ATM tag switch router)

ATM-LSR (ATM label switch router, such as the Cisco BPX 8650 switch)

TVC (tag VC, tag virtual circuit)

LVC (label VC, label virtual circuit)

TSP (tag switch path)

LSP (label-switched path)

XTag ATM (extended Tag ATM) port

XmplsATM (extended MPLS ATM) port

From an historical and functional standpoint, Label Distribution Protocol (LDP) is a superset of the pre-standard Cisco Tag Distribution Protocol (TDP), which also supports MPLS forwarding along normally routed paths. For those features that LDP and TDP share in common, the pattern of protocol exchanges between network routing platforms is identical. The differences between LDP and TDP for those features supported by both protocols are largely embedded in their respective implementation details. For more information on MPLS/tag switching terminology, refer to the Cisco IOS Switching Services Configuration Guide, Release 12.1.

How MPLS Works

In conventional Layer 3 forwarding, 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 packet's next hop.

In the most common case, the only relevant field in the header is the destination address field, but in some cases other header fields may also be relevant. As a result, the header analysis must be done independently at each router through which the packet passes, and a complicated lookup must also be done at each router.

In MPLS, the analysis of the Layer 3 header is done just once, when the packet enters the network at the ingress LSR (label switch router). This LSR reads the Layer 3 header and inserts a small fixed-format label in front of each data packet. For ATM MPLS connections, the label used is the VPI/VCI of the virtual circuit.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 to the forwarding function.

The initial choice of label need not be based exclusively on the contents of the Layer 3 header; it can also be based on policy. This allows forwarding decisions at subsequent hops to be based on policy as well.

Once a label is chosen, a short label header is put at the front of the Layer 3 packet, so that the label value can be carried across the network with the packet. At each subsequent hop, the forwarding decision can be made simply by looking up the label. There is no need to re-analyze the header. Since the label is a fixed length an unstructured value, looking it up is fast and simple.

A label represents a forwarding equivalence class, but it does not represent a particular path through the network. In general, the path through the network continues to be chosen by the existing Layer 3 routing algorithms such as OSPF, Enhanced IGRP, and BGP. That is, at each hop when a label is looked up, the next hop chosen is determined by the dynamic routing algorithm.

The 32-bit MPLS label is located after the Layer 2 header and before the IP header. The MPLS label contains the following fields:

  • The label field (20-bits) carries the actual value of the MPLS label.
  • The CoS field (3-bits) can affect the queuing and discard algorithms applied to the packet as it is transmitted through the network.
  • The Stack (S) field (1-bit) supports a hierarchical label stack.
  • The TTL (Time to Live) field (8-bits) provides conventional IP TTL functionality.

The MPLS label is also called a "Shim" header.

Distribution of Label Bindings

Each label switch router (LSR) in the network makes an independent, local decision as to which label value to use to represent an FEC. This association is known as label binding. Each LSR informs its neighbors of the label bindings it has made. This awareness of label bindings by neighboring routers and switches facilitates the following protocols:

  • 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)

MPLS LDP provides a standard methodology for hop-by-hop, or dynamic label, distribution in an MPLS network by assigning labels to routes that have been chosen by the underlying Interior Gateway Protocol (IGP) routing protocols. The resulting labeled paths, called label switch paths or LSPs, forward label traffic across an MPLS backbone to particular destinations. These capabilities enable service providers to implement Cisco MPLS-based IP VPNs and IP+ATM services across multi-vendor MPLS networks.

LDP allows label switch routers (LSRs) to request, distribute, and release label prefix binding information to peer routers in a network. LDP enables LSRs to discover potential peers and to establish LDP sessions with those peers to exchange label binding information.

An LDP label binding is an association between a destination prefix and a label. The label used in a label binding is allocated from a set of possible labels called a label space.

LDP supports two types of label spaces:

  • Interface-specific—An interface-specific label space uses interface resources for labels. For example, LC-ATM interfaces use VPIs/VCIs for labels. Depending on its configuration, an LDP platform may support zero, one, or more interface-specific label spaces.
  • Platform-wide—An LDP platform supports a single platform-wide label space for use by interfaces that can share the same labels. For Cisco platforms, all interface types except LC-ATM use the platform-wide label space.

Summary Route Propagation

Figure 15-5 shows the summary route propagation between four LSRs in an MPLS network. The LDP discover mechanism is used to periodically transmit LDP hello messages and to signal its desire to advertise label bindings. The LSR sends the LDP hello messages as UDP packets to the well known LDP port (646). The hello messages carry the LDP identifier (ID) of the label space for sending LSR. SalesLSR4 sends a hello packet with the VPI and VCI used to connect to FEC 172.68.0.0. Each LSR then propagates that FEC replacing the VPI and VCI used to connect to its ingress interface.When a labeled packet is being sent from an LSR to its neighbor LSR, the label value carried by the packet is the label value that the egress LSR assigned to represent the FEC of the packet. This causes the label value (VPI/VCI) to be swapped as the packet traverses the network.


Figure 15-5   Summary Route Propagation Between LSRs


LFIB Table Look Up Process

Figure 15-6 shows the packet transmission and LFIB table look up process used between a source and destination over an ATM MPLS network. AdminLSR1 is the ingress point for packets from the router AdminRt1. When the LSR receives the packet it determines the FEC and determines the LSP to use by looking in the LFIB table.


Note   The LFIB table is propagated using the LDP discover mechanism shown in Figure 15-5.

AdminLSR1 adds the label (VPI/VCI) 65,180 to the packet and forwards the packet out ATM interface 0/1/0. The intermediate LSR (NetLSR2) takes the labeled packet and pairs the incoming interface and label and then uses a lookup table to determine the outgoing interface and label. After swapping the incoming label with the new outgoing label the packet is forwarded out to the next LSR.

The label swapping process is continued at each LSR until the last LSR. The egress LSR performs the same look up as the intermediate LSRs but the outgoing label is stripped off and the packet is either routed or switched using Layer 3 to its destination.


Figure 15-6   ATM MPLS LFIB Table Update


MPLS Network Packet Transmission

This section provides a description of a packet being transmitted across an MLPS enabled network and the process used to switch the packets.

When a packet is received at an MPLS ingress interface the interface driver uses the IDB (interface descriptor block) to start the following MPLS process on the packet:

  • Packet encapsulation is checked and verified
  • Packet is checked for QoS or policing limitations.
  • Label and ingress interface data are used to check the TFIB trying to determine the egress label and interface number.
  • The TTL field is updated and the label is either replaced with the next hop label or popped (deleted) if this is the MPLS edge exit LSR.
  • The packet is transmitted to the next hop.

Figure 15-7 shows a packet as it traverse a network from its source on network 130.0.0.0 to its destination on network 180.0.0.0.


Figure 15-7   ATM MPLS Example Network Packet Transmission


The packet from network 130.0.0.0 enters router AdminRt1 at Ethernet interface 2/3 with a destination IP address on network 180.0.0.0. The router preforms a standard routing table lookup and determines the packet should be routed out ATM interface 0/0 to the next hop interface 140.0.0.1 on interface ATM 1/0/0. By using CEF (Cisco Express Forwarding) the Layer 3 switched packet interface FIB (forwarding information base) is queried and the next hop is determined to be out through ATM MPLS interface 3/0/0. Prior to transmission to the next LSR an MPLS label (or VPI/VCI) is appended to the packet just before the destination IP address.

From this point on through the MPLS network, the only information that is checked by the successive LSRs is the label information in the packet. When the packet reaches the edge LSR the MPLS label is popped off and subsequent switching is completed using Layer 3 and standard routing practices.

Configuring Label Edge Routing

This section describes label edge router (LER) for the Cisco Catalyst 8540. With LER, the Cisco Catalyst 8540 can be installed at the edge of a packet- and cell-based network with both or either of them MPLS-enabled. LER also supports multiple TVCs to the same destination prefix and allows a TVC to be selected based upon the CoS value in the incoming label or ToS in the IP packet. The enhanced ATM router module (ARM) serves as the proxy interface for every incoming and outgoing ATM interface (that is linked to an Enhanced ATM router module using the mpls-forwarding command) in the LSP path to do the MPLS packet processing. To enable LER functionality, you must first configure tag switching on an ATM interface and link the ATM interface to an ATM router module for MPLS packet processing. For more information on configuring MPLS on ATM interfaces, refer to "Configuring Tag Switching" in the ATM Switch Router Software Configuration Guide. For more information on configuring MPLS on Ethernet interfaces, refer to "Configuring Tag Switching" in the Layer 3 Switching Software and Feature Configuration Guide.

LER Software Limitations

The following restrictions apply to LER on the Cisco Catalyst 8540:

  • The ATM interface (only main interface) can be linked with only the enhanced ATM router module main interface.
  • VRF configuration on ATM OC-x interfaces is not supported.
  • The COS, LFIB, and Label region in the SDM can be modified using the sdm sram command. But, the changes only take effect after a switch reload.
  • Load Balancing between provider edge (PE) and provider (P) switches is not supported.
  • The SDM SRAM size for LFIB, Label Rewrite, and Label COS region does not increase dynamically when the number of entries increase.

Note    To change SDM SRAM configuration you must use the sdm size configuration command and the reload command to reconfigure the memory and then halt and perform a cold restart of the switch.

  • Packet counters are not implemented for MPLS traffic.
  • Forwarding of VPN traffic is based only on the VPN routing table and not on the global routing table. If the VPN routing table lookup fails, the packets will be discarded.
  • The Enhanced ATM router module internal link has a maximum capacity of 1.2 Gbps which could affect the number of interfaces—either Fast Ethernet or ATM—associated with the Enhanced ATM router module.
  • Only 2k terminating TAG VCs are supported per controlling Enhanced ATM router module hardware interface.
  • Fragmentation based on MTU for IP to MPLS and MPLS to MPLS traffic is implemented in the route processors not on the interface modules.

MPLS Processing

To configure LER with the enhanced ATM router module acting as MPLS edge proxy, perform the following steps:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Selects the interface to be configured.

Step 2 

Switch(config-if)# mpls ip

Enables MPLS on the ATM interface.

Step 3 

Switch(config-if)# mpls-forwarding interface atm card/subcard/port

Links the specified ATM interface to the enhanced ATM router module interface, which acts as an MPLS edge proxy.


Note   You must enable MPLS on the ATM interface by using the mpls ip command.


Note   Once MPLS is enabled on an ATM interface and the interface is linked to the enhanced ATM router module, all head-end, control, and tail-end VCs through that ATM interface terminate on the Enhanced ATM router module. All MPLS or IP packet processing is performed on the linked Enhanced ATM router module.


Note   If you attempt to link an already linked ATM interface to another enhanced ATM router module interface, an error message similar to the following results: ATM <x/x/x> is already functioning as mpls edge for ATM <y/y/y>.


Note   If you attempt to unlink an ATM interface that is not linked, an error message similar to the following results: ATM <x/x/x> is not linked to ATM <y/y/y>.

Example

The following example shows how to link an ATM interface to an enhanced ATM router module interface for LER MPLS functionality:

Switch# configure terminal
8540-ATM-PE1(conf)# interface atm 3/0/0
8540-ATM-PE1(conf-if)# mpls ip
8540-ATM-PE1(conf-if)# mpls-forwarding interface atm 10/0/1

Tag Switching Processing

To configure LER with the enhanced ATM router module acting as a tag edge proxy, perform the following steps:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port

Switch(config-if)#

Selects the interface to be configured.

Step 2 

Switch(config-if)# tag switching ip

Enables mpls on the ATM interface

Step 3 

Switch(config-if)# mpls-forwarding interface atm card/subcard/port

Links the specified ATM interface to the enhanced ATM router module interface, which acts as an MPLS edge proxy.


Note   You must enable tag switching on the ATM interface by using the tag-switching ip command.


Note   Once tag switching is enabled on an ATM interface and the interface is linked to the enhanced ATM router module, all head-end, control, and tail-end VCs through that ATM interface terminate on the enhanced ATM router module. All MPLS/IP packet processing is performed on the linked enhanced ATM router module.


Note   If you attempt to link an already linked ATM interface to another enhanced ATM router module interface, an error message similar to the following results: ATM <x/x/x> is already functioning as mpls edge for ATM <y/y/y>.


Note   If you attempt to unlink an ATM interface that is not linked, an error message similar to the following results: ATM <x/x/x> is not linked to ATM <y/y/y>.

Example

The following example shows how to link an ATM interface to an enhanced ATM router module interface for LER MPLS functionality:

Switch# configure terminal
8540-ATM-PE1(conf)# interface atm 3/0/0
8540-ATM-PE1(conf-if)# tag-switching ip
8540-ATM-PE1(conf-if)# mpls-forwarding interface atm 10/0/1

MPLS Over Fast Ethernet Interfaces

This section describes how to configure MPLS on Fast Ethernet interfaces. By linking a Fast Ethernet interface to an enhanced ATM router module interface, tag or MPLS switching can be enabled on Fast Ethernet interfaces and Fast Ethernet interfaces can be part of a VPN. The enhanced ATM router module (ARM) serves as the MPLS processor on behalf of the Fast Ethernet card. The Fast Ethernet interface forwards all MPLS packets it receives to the enhanced ATM router module. It also forwards all IP packets to the enhanced ATM router module if a VRF is configured on the Fast Ethernet or if the outgoing interface is MPLS-enabled. The enhanced ATM router module processes the packets and forwards them to the appropriate outgoing port.


Note   IPX routing and MPLS processing are incompatible. You must remove all IPX routing configuration from the Fast Ethernet interface with which you wish to link, and from all Fast Ethernet interfaces on the interface module controlled by the same Ethernet processor interface, before configuring MPLS. Each Ethernet processor interface controls four Fast Ethernet interfaces on the interface module. On a 16-port Fast Ethernet interface module, ports 0 through 3 are controlled by one Ethernet processor interface, ports 4 through 7 by another, and so forth. For example, if you want to configure an MPLS control link on Fast Ethernet interface 3/0/1, you must remove all IPX configuration from interfaces 3/0/0, 3/0/1, 3/0/2, and 3/0/3.

Configuring MPLS on Fast Ethernet Interfaces

To configure a MPLS for a Fast Ethernet interface, perform the following steps:

  Command  Purpose 
Step 1 

Switch(config)# interface fastethernet card/subcard/port
Switch(config-if)#

Selects the Fast Ethernet interface to be configured.

Step 2 

Switch(config-if)# mpls-forwarding interface atm card/subcard/port

Links a Fast Ethernet interface to an enhanced ATM router module interface, which performs VPN processing for a Fast Ethernet interface

Example

The following example shows how to configure a Fast Ethernet interface and link it to the enhanced ATM router module for processing:

Switch# configure terminal
Switch(conf)# interface fastethernet 3/0/0
Switch(conf-if)# tag-switching ip
Switch(conf-if)# ip address 12.0.0.2 255.0.0.0
Switch(conf-if)# mpls-forwarding interface ATM2/0/0
Switch(conf-if)# end
Switch# 

MPLS configuration on a Fast Ethernet interface has the following software restrictions:

  • Subinterfaces on a Fast Ethernet interface cannot be linked to enhanced ATM router module interfaces.
  • VPN can be configured on the Fast Ethernet interface using the ip vrf forwarding vrf-name command and linking it to an ARM interface using the mpls-forwarding interface command.
  • The enhanced ATM router module provides efficient MPLS processing for four Fast Ethernet interfaces.
  • Pings may fail between an all MPLS configuration of Fast Ethernet interfaces, which are not associated with an active Enhanced ATM router module even though TDP or LDP might comes up and stays up. When the TDP comes up it causes the MPLS tags to be distributed which causes ping packets to reach the Fast Ethernet interfaces as tagged packets but are then dropped.
  • Each Fast Ethernet interface can be linked with only one Enhanced ATM router module interface. However, more than one Fast Ethernet interface can be linked with the same Enhanced ATM router module.

MPLS VPNs

This section describes how to configure MPLS VPNs on the ATM switch router.

When used with MPLS, the VPN feature allows several sites to interconnect transparently through a service provider network. One service provider network can support several different IP VPNs. Each of these networks appears to the users as a private network, separate from all other networks. Within a VPN, each site can send IP packets to any other site in the same VPN.

Each VPN is associated with one or more VPN routing or forwarding instances (VRFs). A VRF consists of an IP routing table, a derived Cisco express forwarding (CEF) table, and a set of interfaces that use this forwarding table.

The ATM switch router maintains a separate routing and CEF table for each VRF. This prevents information being sent outside the VPN and allows the same subnet to be used in several VPNs without causing duplicate IP address problems.

For additional MPLS configuration documentation, refer to the sources in Table 15-10.

Table 15-10   Additional MPLS VPN Configuration Documentation

Document  URL 

MPLS Virtual Private Networks

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120 /120newft/120t/120t5/vpn.htm

MPLS VPN over ATM: with OSPF on the Customer Side (with Area 0)

http://www.cisco.com/warp/public/121/mpls_ospf2.html

MPLS VPN over ATM: with OSPF on the Customer Side (without Area 0)

http://www.cisco.com/warp/public/121/mpls_ospf1.html

Configuring VPN MPLS over ATM with Cisco 7500 Routers and LightStream 1010 Switches

http://www.cisco.com/warp/public/121/vpn-mpls.html

MPLS VPN over ATM Networks Configuration Examples

http://www.cisco.com/univercd/cc/td/doc/product/vpn/solution/m anmpls/overview/configat.htm

This section describes how to configure MPLS VPNs on Fast Ethernet and ATM interfaces. By linking the interface to an enhanced ATM router module interface, tag switching can be enabled on the interfaces and they can be part of a VPN Network. The enhanced ATM Router Module (ARM) serves as the MPLS processor on behalf of the interfaces. The VPN interfaces forward all IP packets they receive from the CE device to the enhanced ATM router module. The enhanced ATM router module processes the packets and forwards them to the appropriate outgoing port.


Note   IPX routing and VPN processing are incompatible. You must remove all IPX routing configuration from the Fast Ethernet interface with which you wish to link, and from all Fast Ethernet interfaces on the interface module controlled by the same Ethernet processor interface, before configuring VPN. Each Ethernet processor interface controls four Fast Ethernet interfaces on the interface module. On a 16-port Fast Ethernet interface module, ports 0 through 3 are controlled by one Ethernet processor interface, ports 4 through 7 by another, and so forth. For example, if you want to configure an MPLS control link on Fast Ethernet interface 3/0/1, you must remove all IPX configuration from interfaces 3/0/0, 3/0/1, 3/0/2, and3/0/3.

Configuring VPN on Fast Ethernet Interface

To configure a Fast Ethernet interface as part of an MPLS VPN, perform the following steps:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port
Switch(config-if)#

Selects the Fast Ethernet interface.

Step 2 

Switch(config-if)# ip vrf forwarding vrf-name

Associates a VRF with an interface or subinterface.

Step 3 

Switch(config-if)# ip address ip-address mask

Configures the IP and subnetwork address.

Step 4 

Switch(config-if)# mpls-forwarding interface atm card/subcard/port

Links a Fast Ethernet interface to an enhanced ATM router module interface, which performs MPLS processing for a Fast Ethernet interface

Fast Ethernet Interface Example

The following example shows how to configure the Fast Ethernet interface connected to the customer equipment from the PE ATM switch router and links it to the enhanced ATM router module for processing:

8540-ATM-PE1# configure terminal
8540-ATM-PE1(conf)# interface FastEthernet0/0/0
8540-ATM-PE1(conf-if)# ip vrf forwarding vpn1
8540-ATM-PE1(conf-if)# ip address 12.0.0.2 255.0.0.0
8540-ATM-PE1(conf-if)# mpls-forwarding interface ATM2/0/0
8540-ATM-PE1(conf-if)# end
8540-ATM-PE1# 


Note   Subinterfaces on a Fast Ethernet interface cannot be linked to enhanced ATM router module interfaces.


Note   MPLS can be configured on the Fast Ethernet interface using the mpls-forwarding interface command and by linking it to an enhanced ATM router module interface using the mpls-forwarding interface command. The enhanced ATM router module interface should be UP for MPLS processing to work.


Note   The enhanced ATM router module provides efficient MPLS processing for four Fast Ethernet interfaces.

Network Configuration Example

Figure 15-8 is an example of an MPLS VPN using ATM switch routers.


Figure 15-8   MPLS VPN Example Network


Figure 15-8 shows a VPN using the following routers and ATM switch routers:

  • 75k-CE1 and 75k-CE2 are the customer edge devices.
  • 8540-ATM-PE1 and 8540-ATM-PE2 are the provider edge devices connecting the customer devices.
  • 8540-ATM-P is the provider backbone device.
  • The autonomous system numbers are configured as follows:
    • 75k-CE1 is in autonomous system number 104
    • 75k-CE2 is in autonomous system number 105
    • 8540-ATM-PE1 and 8540-ATM-PE2 are configured in autonomous system number 100

    • Note   For this example LDP and IP CEF are running.

75k-CE1 Configuration

The configuration of router 75k-CE1, follows:

!
interface FastEthernet2/0
 ip address 12.0.0.1 255.0.0.0
 full-duplex
end
!
router bgp 104
 bgp log-neighbor-changes
 redistribute connected
 neighbor 12.0.0.2 remote-as 100
!

8540-ATM-PE1 Configuration

The configuration of ATM switch router 8540-ATM-PE1, follows:

!
ip vrf vpn1
 rd 200:1
 route-target export 200:1
 route-target import 100:1
!
interface Loopback0
 ip address 22.0.0.1 255.255.255.255
end
!
interface FastEthernet0/0/0
 ip vrf forwarding vpn1
 ip address 12.0.0.2 255.0.0.0
 mpls-forwarding interface ATM2/0/0
end
!
interface ATM11/0/1
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
!
router ospf 100
 log-adjacency-changes
network 22.0.0.0 0.255.255.255 area 100
!
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 24.0.0.1 remote-as 100
 neighbor 24.0.0.1 update-source Loopback0
 !
 address-family ipv4 vrf vpn1
 redistribute connected
 neighbor 12.0.0.1 remote-as 104
 neighbor 12.0.0.1 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 24.0.0.1 activate
 neighbor 24.0.0.1 send-community extended
 exit-address-family
!

8540-ATM-P Configuration

The configuration of ATM switch router 8540-ATM-P, follows:

!
interface Loopback0
 ip address 23.0.0.1 255.255.255.255
end

!
interface ATM12/0/0
ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
interface ATM12/0/2
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
!
router ospf 100
 log-adjacency-changes
network 23.0.0.0 0.255.255.255 area 100

8540-ATM-PE2 Configuration

The configuration of ATM switch router 8540-ATM-PE2, follows:

!
ip vrf vpn1
 rd 100:1
 route-target export 100:1
 route-target import 200:1

!
interface Loopback0
 ip address 24.0.0.1 255.255.255.255
end

!
interface FastEthernet9/0/1
 ip vrf forwarding vpn1
 ip address 7.0.0.1 255.0.0.0
 mpls-forwarding interface ATM2/0/0
end

!
interface ATM12/0/2
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!

router ospf 100
 log-adjacency-changes
network 24.0.0.0 0.255.255.255 area 100
!

router bgp 100
 bgp log-neighbor-changes
 neighbor 22.0.0.1 remote-as 100
 neighbor 22.0.0.1 update-source Loopback0
 !
 address-family ipv4 vrf vpn1
 redistribute connected
 neighbor 7.0.0.2 remote-as 105
 neighbor 7.0.0.2 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 22.0.0.1 activate
 neighbor 22.0.0.1 send-community extended
 exit-address-family
!


75k-CE2 Configuration

The configuration of router 75k-CE2, follows:

!
interface FastEthernet4/0
 ip address 7.0.0.2 255.0.0.0
 no ip mroute-cache
 duplex half
end
!
router bgp 105
 bgp log-neighbor-changes
 redistribute connected
 neighbor 7.0.0.1 remote-as 100
!

Configuring MPLS VPN Using ATM RFC 1483 Interfaces

Defined in RFC 1483, multiprotocol encapsulation over ATM, provides a mechanisms for carrying traffic other than just IP traffic. RFC 1483 specifies two ways to do this:

  • Logical Link Control (LLC)/Subnetwork Access Protocol (SNAP) encapsulation—in this method, multiple protocol types can be carried across a single connection with the type of encapsulated packet identified by a standard LLC/SNAP header.
  • Virtual connection multiplexing—in this method, only a single protocol is carried across an ATM connection, with the type of protocol implicitly identified at connection setup.

LLC encapsulation is provided to support routed and bridged protocols. In this encapsulation format, PDUs from multiple protocols can be carried over the same virtual connection. The type of protocol is indicated in the packet SNAP header. By contrast, the virtual connection multiplexing method allows for transport of just one protocol per virtual connection.

To Configure an ATM RFC 1483 MPLS VPN interface on the ATM switch router, perform the following steps:

  Command  Purpose 
Step 1 

Switch(config)# interface atm card/subcard/port.subinterface point-to-point
Switch(config-if)#

Creates a point-to-point subinterface.

Step 2 

Switch(config-if)# ip vrf forwarding vrf-name

Associates a VRF with an interface or subinterface.

Step 3 

Switch(config-sub-if)# atm pvc vpi-A vci-A interface atm card/subcard/port vpi-B vci-B

Creates a PVC to the outgoing ATM interface.

Step 4 

Switch(config-if)# ip address ip-address mask

Assigns an IP address and subnet mask.


Note   To configure a VPN on ATM router module multipoint sub-interface, along with the previously mentioned configuration steps you also need to configure a map-list and apply it on the appropriate multipoint subinterface. See "Configuring IP over ATM," section, "Configuring a PVC-Based Map List" section.


Note   To configure a VPN on enhanced ARM interface you can also use the point-to-point subinterface mode instead of the multipoint.

Example

The following example shows how to configure the enhanced ATM router module interface as part of a VPN:

8540-ATM-PE1(conf)# interface ATM2/0/0.1 point-to-point
8540-ATM-PE1(conf-if)# ip vrf forwarding vpn1
8540-ATM-PE1(conf-if)# ip address 12.0.0.2 255.0.0.0
8540-ATM-PE1(conf-if)# end
8540-ATM-PE1# 

The following example shows how to configure the RFC1483 MPLS VPN interface connected to the customer equipment from the PE ATM switch router and cross connected to the enhanced ATM router module interface:

8540-ATM-PE1# configure terminal
8540-ATM-PE1(conf)# interface ATM11/0/2
8540-ATM-PE1# 

The following example shows how to configure the RFC 1483 MPLS VPN interface connected to the provider switch from the PE ATM switch router and cross connected to the enhanced ATM router module interface:

8540-ATM-PE1(config)# interface ATM11/0/1
8540-ATM-PE1(conf-if)# ip unnumbered Loopback0
8540-ATM-PE1(conf-if)# tag-switching ip
8540-ATM-PE1(conf-if)# mpls-forwarding interface ATM2/0/0
8540-ATM-PE1(conf-if)# end
8540-ATM-PE1# 

Network Configuration Example

Figure 15-9 is an example of an MPLS VPN RFC 1483 network using ATM switch routers.


Figure 15-9   MPLS VPN ATM 1483 Example Network


Figure 15-9 shows an RFC 1483 VPN using the following routers and ATM switch routers:

  • 75k-CE1 and 75k-CE2 are the customer edge devices.
  • 8540-ATM-PE1 and 8540-ATM-PE2 are the provider edge devices connecting the customer devices.
  • 8540-ATM-P is the provider backbone device.
  • The autonomous system numbers are configured as follows:
    • 75k-CE1 is in autonomous system number 104
    • 75k-CE2 is in autonomous system number 105
    • 8540-ATM-PE1 and 8540-ATM-PE2 are configured in autonomous system number 100

    • Note   For this example LDP and IP CEF are running.

75k-CE1 Configuration

The configuration of router 75k-CE1, follows:

!
interface ATM0/0.2 point-to-point
 ip address 12.0.0.1 255.255.0.0
 atm pvc 30 3 300 aal5snap
end
!
router bgp 104
 bgp log-neighbor-changes
 redistribute connected
 neighbor 12.0.0.2 remote-as 100
!

8540-ATM-PE1 Configuration

The configuration of ATM switch router 8540-ATM-PE1, follows:

!
ip vrf vpn1
 rd 200:1
 route-target export 200:1
 route-target import 100:1

!
interface Loopback0
 ip address 22.0.0.1 255.255.255.255
end
!
!
interface ATM2/0/0.1 point-to-point
 ip vrf forwarding vpn1
 ip address 12.0.0.2 255.0.0.0
end
!
interface ATM11/0/2
 no ip address
 atm pvc 3 300 pd on interface ATM2/0/0.1 2 200 encap aal5snap
 logging event subif-link-status
 no atm ilmi-keepalive
end
!

interface ATM11/0/1
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
!
router ospf 100
 log-adjacency-changes
network 22.0.0.0 0.255.255.255 area 100
!
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 24.0.0.1 remote-as 100
 neighbor 24.0.0.1 update-source Loopback0
 !
 address-family ipv4 vrf vpn1
 redistribute connected
 neighbor 12.0.0.1 remote-as 104
 neighbor 12.0.0.1 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 24.0.0.1 activate
 neighbor 24.0.0.1 send-community extended
 exit-address-family
!

8540-ATM-P Configuration

The configuration of ATM switch router 8540-ATM-P, follows:

!
interface Loopback0
 ip address 23.0.0.1 255.255.255.255
end

!
interface ATM12/0/0
ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
interface ATM12/0/2
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
 tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!
!
router ospf 100
 log-adjacency-changes
network 23.0.0.0 0.255.255.255 area 100
8540-ATM-PE2 Configuration

The configuration of ATM switch router 8540-ATM-PE2, follows:

!
ip vrf vpn1
 rd 100:1
 route-target export 100:1
 route-target import 200:1

!
interface Loopback0
 ip address 24.0.0.1 255.255.255.255
end

!
interface ATM2/0/0.1 point-to-point
 ip vrf forwarding vpn1
 ip address 7.0.0.1 255.0.0.0
end
!
!
interface ATM12/0/1
 no ip address
 atm pvc 2 100 pd on interface ATM2/0/0.1 2 200 encap aal5snap
 logging event subif-link-status
 clock source free-running
 no atm ilmi-keepalive
end
!
!
interface ATM12/0/2
 ip unnumbered Loopback0
 logging event subif-link-status
 no atm ilmi-keepalive
  tag-switching ip
 mpls-forwarding interface ATM2/0/0
end
!

router ospf 100
 log-adjacency-changes
network 24.0.0.0 0.255.255.255 area 100
!

router bgp 100
 bgp log-neighbor-changes
 neighbor 22.0.0.1 remote-as 100
 neighbor 22.0.0.1 update-source Loopback0
 !
 address-family ipv4 vrf vpn1
 redistribute connected
 neighbor 7.0.0.2 remote-as 105
 neighbor 7.0.0.2 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family vpnv4
 neighbor 22.0.0.1 activate
 neighbor 22.0.0.1 send-community extended
 exit-address-family
!

75k-CE2 Configuration

The configuration of router 75k-CE2, follows:

!
interface ATM2/0.2 point-to-point
 ip address 7.0.0.2 255.0.0.0
 atm pvc 2 2 100 aal5snap
end
!
!
router bgp 105
 bgp log-neighbor-changes
 redistribute connected
 neighbor 7.0.0.1 remote-as 100
!