|
|
This chapter describes how to configure permanent virtual connections (PVCs) for the Asynchronous Transfer Mode (ATM) module.
You can configure PVCs with Catalyst 5000 series ATM software release 3.2 or with ATM PVC traffic shaping software release 50.1. Software release 50.1 allows you to configure a VLAN to run over PVCs so that you can specify a cell rate for traffic flow.
For information on accessing the ATM module and customizing the configuration from the terminal and from nonvolatile random-access memory (NVRAM), refer to "Configuring the ATM Module." For information about ATM commands, refer to the Catalyst 5000 Series Command Reference publication.
![]() | Caution Catalyst 5000 ATM Single PHY modules (product numbers WS-X5153, WS-X5154, and WS-X5155) require Catalyst 5000 series supervisor engine module software release 1.4 or above. Catalyst 5000 ATM Dual PHY modules (product numbers WS-X5156, WS-X5157, and WS-X5158) require Catalyst 5000 series supervisor engine module software release 2.1(5) or above. |
To use PVCs, you must configure PVCs into both the Catalyst 5000 series ATM module and the ATM switch cloud. PVCs remain active until the circuit is removed from either configuration.
PVC-based ATM link functionality allows Catalyst 5000 series switches to connect to each other through ATM interfaces over PVCs. One or more PVCs can be configured for each VLAN on every Catalyst 5000 series ATM module. Connectivity can be back-to-back or through an ATM switch cloud, using RFC 1483-compliant, bridged Logical Link Control/Subnetwork Access Protocol (LLC/SNAP) packet encapsulation.
When you create a PVC, you create a virtual channel descriptor (VCD) and attach it to the virtual path identifier (VPI) and virtual channel identifier (VCI). A VCD identifies which VPI-VCI pair to use for a particular packet. The Catalyst 5000 series ATM module requires this feature to manage packet transmission. The number chosen for the VCD is independent of the VPI-VCI pair used.
PVC functionality is compatible with switched virtual connection (SVC)-based LANE, with the following restrictions:
To configure a PVC within the ATM cloud, refer to the appropriate manual from your switch vendor.
The Catalyst 5000 series ATM module supports a VLAN using either LANE or PVCs. This section describes the procedure for setting up a VLAN to run over PVCs.
Use this procedure to set up a VLAN to run over PVCs on the Catalyst 5000 series ATM module:
| Task | Command |
|---|---|
| Step 1 Activate the privileged mode on the supervisor module. | enable |
| Step 2 Enter your password. | <password> |
| Step 3 Assign an Ethernet port to the specified VLAN. | set vlan vlan_num mod_num/port_num |
| Step 4 Establish a connection to the ATM module. | session mod_num |
| Step 5 Activate the privileged mode on the ATM module. | enable |
| Step 6 Enter the configuration mode. | configure terminal |
| Step 7 Select the ATM interface. | interface atm0 |
| Step 8 Set up the PVCs. | atm pvc vcd vpi vci aal5snap |
| Step 9 Bind the PVCs to the VLAN. | atm bind pvc vlan vcd vlan_num |
| Step 10 Set up other PVCs for the same VLAN if needed by repeating Steps 8 and 9. | |
| Step 11 Exit configuration mode. | Ctrl-Z |
| Step 12 Verify the setup. | show atm vlan
show atm vc |
| Step 13 Write the configuration to NVRAM. | write memory |
If you have enabled VTP in the ATM module, the Catalyst 5000 series ATM module creates LAN Emulation Clients (LECs) for each VLAN configured on the supervisor module. The ATM module software also automatically deletes a previously existing LEC for a particular VLAN when that LEC is subsequently configured to run over a PVC.
Figure 6-1 is an example of setting up a VLAN to run over a PVC on the Catalyst 5000 series ATM module.

The following assumptions apply for this example configuration:
| PVC | VLAN/Switch Connections |
|---|---|
| 1 | Connects VLAN 5 on Switch 1 to VLAN 5 on Switch 2 |
| 2 | Connects VLAN 5 on Switch 2 to VLAN 5 on Switch 3 |
| 3 | Connects VLAN 5 on Switch 1 to VLAN 5 on Switch 3 |
Before configuring the VLAN over PVCs, you must perform these tasks:
You must configure one PVC connection between each pair of Catalyst 5000 series switches for each VLAN on a particular ATM module. Follow these steps at Switch 1 to configure a VLAN to run over a PVC:
Step 1 Activate the privileged mode on the supervisor module.
Console> enable
Step 2 Enter your password.
Step 3 Assign an Ethernet port to VLAN 5.
Console> (enable) set vlan 5 mod_num/port_num
Step 4 Establish a connection to the ATM module.
Console> (enable) session 2
You see the example display:
ATM>
Step 5 Activate the privileged mode on the ATM module.
ATM> enable
ATM#
Step 6 Enter the configuration mode.
ATM# configure terminalATM (config)#
Step 7 Select the ATM interface.
ATM (config)# interface atm0
ATM (config-if)#
All PVC-related configurations for VLANs can be performed on atm0, the major interface, because the subinterface number has no significance in PVC-supported VLANs.
Step 8 Set up the PVCs for Switch 1.
ATM (config-if)# atm pvc 10 0 31 aal5snap
ATM (config-if)# atm pvc 11 0 31 aal5snap
The VCD numbers 10 and 11 can be any unused VCD. To find unused VCDs, enter the command show atm vc.
Step 9 Bind the PVCs by entering the following commands at the ATM module prompt:
(a) Bind PVC 10 to VLAN 5.ATM (config-if)# atm bind pvc vlan 10 5
(b) Bind PVC 11 to VLAN 5.ATM (config-if)# atm bind pvc vlan 11 5
Be sure to Enter the VCD numbers applied in Step 3. The last value in the syntax (5) represents the VLAN number.
Performing this step deletes a previously configured LEC for VLAN 5. You can bind any number of PVCs to the same VLAN by performing Steps 3 and 4. To prevent loops, each PVC must uniquely connect a VLAN group between two Catalyst 5000 series switches.
Step 10 Exit the configuration mode.
ATM (config-if)# Ctrl-Z
ATM#
Step 11 Verify the setup by displaying all VLANs and virtual circuits by entering the show atm vlan and show atm vc commands. The ATM module always sets up the AAL5-SAAL and AAL5-ILMI PVCs, even if LANE is not running. You see the example display:
ATM# show atm vlan
VCD VLAN-ID
10 5
11 5
ATM#
ATM# show atm vc
AAL / Peak Avg. Burst
Interface VCD VPI VCI Type Encapsulation Kbps Kbps Cells Status
ATM0 1 0 5 PVC AAL5-SAAL 0 0 0 ACTIVE
ATM0 2 0 16 PVC AAL5-ILMI 0 0 0 ACTIVE
ATM0 10 0 31 PVC AAL5-SNAP 0 0 0 ACTIVE
ATM0 11 0 33 PVC AAL5-SNAP 0 0 0 ACTIVE
ATM#
ATM# write memory
Building configuration...
[OK]
ATM#
Step 12 Write the configuration to NVRAM and restart Switch 1.
ATM# write memory
Step 13 Configure Switches 2 and 3 by repeating Steps 1 through 6 with appropriate values for each switch.
You can remove and unbind a previously assigned PVC from a VLAN. You can also unbind a previously assigned PVC from a VLAN without removing the PVC itself. If you do not remove the PVC itself, you can bind the PVC to a different VLAN.
To remove a previously assigned PVC from a VLAN, perform these steps:
To unbind a previously assigned PVC from a VLAN without removing the PVC itself, perform these steps:
This section describes how to configure traffic shaping. Traffic shaping requires the use of software release 50.1.
To configure software release 50.1, complete these steps:
| Task | Command |
|---|---|
| Step 1 Activate the privileged mode on the supervisor module. | enable |
| Step 2 Enter your password. | <password> |
| Step 3 Assign an Ethernet port to the specified VLAN. | set vlan vlan_num mod_num/port_num |
| Step 4 Establish a connection to the ATM module. | session mod_num |
| Step 5 Activate the privileged mode on the ATM module. | enable |
| Step 6 Enter the configuration mode. | configure terminal |
| Step 7 Select the ATM interface. | interface atm0 |
| Step 8 Set up the PVCs. | atm pvc vcd vpi vci aal-encap aal5snap peak [oam seconds] |
| Step 9 Bind the PVCs to the VLAN. | atm bind pvc vlan vcd vlan_num |
| Step 10 Set up other PVCs for the same VLAN if needed by repeating Steps 8 and 9. | |
| Step 11 Exit configuration mode. | Ctrl-Z |
| Step 12 Write the configuration to NVRAM. | write memory |
To verify the ATM PVC traffic-shaping configuration, enter the following commands:
ATM# show atm vlan VCD VLAN ID 10 5 11 5
ATM# show atm vc AAL Peak Avg. Burst Interface VCD VPI VCI Type Encapsulation Kbps Kbps Cells Status ATM0 100 31 PVC AAL5-SNAP 20000 0 0 Active ATM0 110 33 PVC AAL5-SNAP 60000 0 0 Active
Figure 6-2 describes how to set up a VLAN to run over PVCs and to configure those PVCs for a specific peak cell-rate (PCR) on software release 50.1 or later.

The following assumptions apply for this example:
| PVC | VLAN/Switch Connections | VPI | VCI | Rate in kbps |
|---|---|---|---|---|
| 1 | Connects Switch 1 to Switch 2 on VLAN 5 | 0 | 32 | 20000 |
| 2 | Connects Switch 2 to Switch 3 on VLAN 5 | 0 | 33 | 40000 |
| 3 | Connects Switch 1 to Switch 3 on VLAN 5 | 0 | 34 | 60000 |
Before configuring the VLAN over PVCs, you must perform these tasks:
To configure the example in this section, follow these steps.
Step 1 Create PVC 1 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 2 Verify the setup of PVC 1. Enter these commands on the LightStream 1010 switch:
Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 4 Verify the setup of PVC 2. Enter these commands on the LightStream 1010 switch:
Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 6 Verify the setup of PVC 3. Enter these commands on the LightStream 1010 switch:
Step 7 At the console of the Catalyst 5000 series Switch 1, establish a connection to the ATM module in slot 2 by entering the following commands:
Step 8 Configure PVC 1 and PVC 3 on Switch 1 by entering the following commands:
You can perform all PVC-related configurations for all VLANs on atm0, the major interface, because the subinterface number has no significance for PVC-supported VLANs. VCD numbers 10 and 11 (used above) can be any unused VCDs. Enter the show atm vc command to find unused VCDs.
Step 9 Bind PVC 1 and PVC 3 to VLAN 5 on the Catalyst 5000 series Switch 1 by entering the following commands:
Enter the VCD numbers used in Step 8. The last option in the atm bind command specifies VLAN 5.
Step 10 Verify the setup on the Catalyst 5000 series Switch 1 by entering the show atm command as follows:
Step 11 Write the configuration to NVRAM by entering the write memory command as follows:
Step 12 At the console of the Catalyst 5000 series Switch 2, establish a connection to the ATM module in slot 2 by entering the following commands:
Step 13 Configure PVC 1 and PVC 2 on Switch 2 by entering the following commands:
You can perform all PVC-related configurations for all VLANs on atm0, the major interface, because the subinterface number has no significance for PVC-supported VLANs. VCDs 10 and 11 (used above) can be any unused VCDs. Enter the show atm vc command to find unused VCDs.
Step 14 Bind PVC 1 and PVC 2 to VLAN 5 on the Catalyst 5000 series Switch 2 by entering the following commands:
Enter the VCDs used in Step 13. The last option in the atm bind command specifies VLAN 5.
Step 15 Verify the setup on the Catalyst 5000 series Switch 2 by entering the following commands:
Step 16 Write the configuration to NVRAM by entering the write memory command as follows:
Step 17 At the console of the Catalyst 5000 series Switch 3, establish a connection to the ATM module in slot 2 by entering the following commands:
Step 18 Configure PVC 2 and PVC 3 on Switch 3 by entering the following commands:
You can perform all PVC-related configurations for all VLANs on atm0, the major interface, because the subinterface number has no significance for PVC-supported VLANs. VCDs 10 and 11 (used above) can be any unused VCDs. Enter the show atm vc command to find unused VCDs.
Step 19 Bind PVC 2 and PVC 3 to VLAN 5 on the Catalyst 5000 series Switch 3 by entering the following commands:
Enter the VCDs used in Step 18. The last option in the atm bind command specifies VLAN 5.
Step 20 Verify the setup on the Catalyst 5000 series Switch 3 by entering the following commands:
Step 21 Write the configuration to NVRAM by entering the write memory command as follows:
Step 22 Remove and unbind PVCs 1, 2, and 3 from VLAN 5 by entering the following commands:
Step 23 Unbind PVCs 1, 2, and 3 from VLAN 5 without removing the PVCs by entering the following commands:
After completing this step, you can bind PVCs 10 and 11 to another VLAN.
The topology in Figure 6-3 shows the PVCs needed for complete redundancy if PHY A or PHY B on either Switch 1 or Switch 2 fails.
In this example, you see Catalyst 5000 series Switch 1 and Catalyst 5000 series Switch 2, each with an ATM Dual PHY module, connected to a LightStream 1010 ATM switch in the ATM cloud. PVCs 1, 2, 3, and 4 are configured on VLAN 5.

Assume PHY A on Switch 1 goes down and transmits no data to PHY A on Switch 2 over PVC 1, even though PHY A on Switch 2 remains active. When PHY A on Switch 1 goes down, PHY B on Switch 1 becomes active and transmits data to PHY A on Switch 2 over PVC 2.
Similarly, if PHY A on Switch 2 goes down and transmits no data to Switch 1 over PVC 1, PHY B on Switch 2 becomes active and transmits data to Switch 1 over PVC 3.
Table 6-3 shows the PVCs used to transmit data when specified PHYs for the Catalyst 5000 series switches in Figure 6-3 are active. For example, if PHY A on Switch 1 and PHY A on Switch 2 are both active, data is transmitted on PVC 1.
| Catalyst 5000 Series Switch 1 | Catalyst 5000 Series Switch 2 | PVC Used |
|---|---|---|
| PHY A-- active | PHY A-- active | 1 |
| PHY A-- active | PHY B-- active | 2 |
| PHY B-- active | PHY A-- active | 3 |
| PHY B-- active | PHY B-- active | 4 |
The following assumptions apply for this example:
| PVC | VLAN 5/Switch Connections | VPI | VCI | Rate in kbps |
|---|---|---|---|---|
| 1 | Connects PHY A on Switch 1 to PHY A on Switch 2 | 0 | 32 | 60000 |
| 2 | Connects PHY B on Switch 1 to PHY A on Switch 2 | 0 | 33 | 60000 |
| 3 | Connects PHY A on Switch 1 to PHY B on Switch 3 | 0 | 34 | 60000 |
| 4 | Connects PHY B on Switch 1 to PHY B on Switch 2 | 0 | 35 | 60000 |
Before configuring the VLAN over PVCs, you must perform these tasks:
To configure the example in this section, follow these steps.
Step 1 Create PVC 1 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 2 Verify the setup of PVC 1. Enter these commands on the LightStream 1010 switch:
Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 4 Verify the setup of PVC 2. Enter these commands on the LightStream 1010 switch:
Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 6 Verify the setup of PVC 3. Enter these commands on the LightStream 1010 switch:
Step 7 Create PVC 4 within the ATM cloud. Enter these commands on the LightStream 1010 switch:
Step 8 Verify the setup of PVC 4. Enter these commands on the LightStream 1010 switch:
Step 9 At the console of the Catalyst 5000 series Switch 1, session to the ATM module in slot 2 by entering the following commands:
Step 10 Configure PVCs 1, 2, 3, and 4 on Switch 1 by entering the following commands:
You can perform all PVC-related configurations for all VLANs on atm0, the major interface, because the subinterface number has no significance for PVC-supported VLANs. VCD numbers 10 and 11 (used above) can be any unused VCDs. Enter the show atm vc command to find unused VCDs.
Step 11 Bind the PVCs to VLAN 5 on the Catalyst 5000 series Switch 1 by entering the following commands:
Enter the VCD numbers used in Step 8. The last option in the atm bind command specifies VLAN 5.
Step 12 Verify the setup on the Catalyst 5000 series Switch 1 by entering the following commands:
Step 13 Write the configuration to NVRAM by entering the write memory command as follows:
Step 14 At the console of the Catalyst 5000 series Switch 2, session to the ATM module in slot 2 by entering the following commands:
Step 15 Configure PVCs 1, 2, 3, and 4 on Switch 2 by entering the following commands:
You can perform all PVC-related configurations for all VLANs on atm0, the major interface, because the subinterface number has no significance for PVC-supported VLANs. VCDs 10 and 11 (used above) can be any unused VCDs. Enter the show atm vc command to find unused VCDs.
Step 16 Bind the PVCs to VLAN 5 on the Catalyst 5000 series Switch 2 by entering the following commands:
Step 17 Verify the setup on the Catalyst 5000 series Switch 2 by entering the following commands:
Step 18 Write the configuration to NVRAM by entering the write memory command as follows:
Figure 6-4 shows two Catalyst 5000 series switches using the ATM PVC traffic-shaping software. The ATM modules in this example contain eight rate queues. Twenty PVCs are divided among the eight rate queues, each of which specifies a particular cell rate for the PVC set attached to it. In this example, PVC 1 through PVC 7 are in VLAN 1, and PVC 8 through PVC 20 are in VLAN 2.

To configure ATM PVC traffic shaping, you must assign a specified cell rate to a PVC. After you assign the cell rate, the software places the PVC to which the cell rate has been assigned in a dynamically created rate queue. The software can create up to eight rate queues, and you can assign each queue a unique cell-rate value.
You can configure up to 4096 PVCs on the ATM module. You can also divide the PVCs attached to the rate queues among different VLANs. The minimum cell rate is 2081 kbps. Traffic shaping supports only peak cell rate (PCR).
|
|