|
|
This chapter describes how to configure permanent virtual connections (PVCs) for the 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 or 51.1. Software releases 50.1 and 51.1 allow 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 NVRAM, see "Configuring ATM Modules." For information about ATM commands, refer to the Catalyst 5000 Series Command Reference publication.
Caution
| The ATM single PHY OC-3, dual PHY OC-3, and dual PHY DS3 modules require compatible releases of the Catalyst 5000 series supervisor engine and ATM PVC traffic-shaping software. See Table 11-1 for a list of ATM modules and applicable software releases. |
| Module | Product Number | Supervisor Engine Software Release | ATM PVC Software Release |
|---|---|---|---|
| ATM Single PHY OC-3 | WS-X5153 WS-X5154 WS-X5155 | 1.6 or above | 50.1(1) or above |
| ATM Dual PHY OC-3 | WS-X5156 WS-X5157 WS-X5158 | 2.1(5) or above | 50.1(1) or above |
| ATM Dual PHY DS3 | WS-X5166 | 3.1 or above | 51.1(1) 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. You can configure one or more PVCs 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 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 publication 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 ATM module:
| Task | Command |
|---|---|
| Step 1 Activate 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 privileged mode on the ATM module. | enable |
| Step 6 Enter 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 Save the configuration. | write memory |
If you enable VTP in the ATM module, the 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 11-1 is an example of setting up a VLAN to run over a PVC on the 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 privileged mode on the supervisor module as follows:
Step 2 Enter your password.
Step 3 Assign an Ethernet port to VLAN 5 as follows:
Step 4 Establish a connection to the ATM module:
You see the example display:
Step 5 Activate privileged mode on the ATM module as follows:
Step 6 Enter configuration mode as follows:
ATM# configure terminalATM (config)# Step 7 Select the ATM interface as follows:
You can perform all PVC-related configurations for VLANs 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 as follows:
VCDs 10 and 11 can be any unused VCD. To find unused VCDs, enter the show atm vc command.
Step 9 Bind the PVCs by entering these commands at the ATM module prompt:
(a) Bind PVC 10 to VLAN 5.
(b) Bind PVC 11 to VLAN 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 configuration mode as follows:
ATM (config-if)# Ctrl-ZATM# 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 vlanATM# show atm vcATM# write memoryStep 12 Save the configuration and restart Switch 1 as follows:
ATM# write memoryStep 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:
| Task | Command |
|---|---|
| Step 1 Activate privileged mode on the ATM module. | enable |
| Step 2 Enter configuration mode. | configure terminal |
| Step 3 Select the ATM interface. | interface atm0 |
| Step 4 Remove the PVC from the VLAN. | no atm pvc vcd |
| Step 5 End the session. | Ctrl-Z |
To unbind a previously assigned PVC from a VLAN without removing the PVC itself, perform these steps:
| Task | Command |
|---|---|
| Step 1 Activate privileged mode on the ATM module. | enable |
| Step 2 Enter configuration mode. | configure terminal |
| Step 3 Select the ATM interface. | interface atm0 |
| Step 4 Unbind the PVC from the VLAN. | no atm bind pvc vlan vcd vlan_num |
| Step 5 End the session. | Ctrl-Z |
This section describes how to configure traffic shaping. Traffic shaping requires software release 50.1 or release 51.1.
Follow the procedures in this section to set up both a redundant configuration and a nonredundant configuration for traffic-shaping on an ATM module.
To configure ATM PVC traffic-shaping software, complete these steps:
| Task | Command |
|---|---|
| Step 1 Activate 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 privileged mode on the ATM module. | enable |
| Step 6 Enter configuration mode. | configure terminal |
| Step 7 Select the ATM interface. | interface atm0 |
| Note This step is optional; if you wish to change the default configurations,1 perform this step; otherwise, proceed to Step 9.
Step 8 Configure the interface. | atm clock internal
atm framing [m23adm | cbitplcp | m23plcp] atm lbo {short | long} atm ds3-scramble |
| Step 9 Set up the PVCs. | atm pvc vcd vpi vci [aal-encap] aal5snap2 peak3 [oam seconds] |
| Step 10 Bind the PVCs to the VLAN. | atm bind pvc vlan vcd vlan_num4 |
| Step 11 Set up other PVCs for the same VLAN if needed by repeating Steps 8 through 10. | |
| Step 12 Exit configuration mode. | Ctrl-Z |
| Step 13 Verify the setup. | show atm vlan
show atm vc |
| Step 14 Write the configuration to NVRAM. | write memory |
To verify the ATM PVC traffic-shaping configuration, enter these 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 11-2 illustrates how to set up a VLAN to run over PVCs and to configure those PVCs for a specific peak cell rate (PCR) on an ATM module. This example (referred to as example 1) applies to both the single and dual PHY OC-3 ATM module and the dual PHY DS3 ATM modules.

These 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 | 45000 |
| 2 | Connects Switch 2 to Switch 3 on VLAN 5 | 0 | 33 | 2080 |
| 3 | Connects Switch 1 to Switch 3 on VLAN 5 | 0 | 34 | 45000 |
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 ATM switch:
Step 2 Verify the setup of PVC 1. Enter this command on the LightStream 1010 ATM switch:
Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
Step 4 Verify the setup of PVC 2. Enter this command on the LightStream 1010 ATM switch:
Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
Step 6 Verify the setup of PVC 3. Enter this command on the LightStream 1010 ATM 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 these commands:
Step 8 Configure PVC 1 and PVC 3 on Switch 1 by entering these 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 9 Bind PVC 1 and PVC 3 to VLAN 5 on Switch 1 by entering these commands:
Enter the VCD numbers used in Step 8. The last option in the atm bind pvc command specifies VLAN 5.
Step 10 Verify the setup on Switch 1 by entering these commands:
Step 11 Save the configuration 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 these commands:
Step 13 Configure PVC 1 and PVC 2 on Switch 2 by entering these 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 Switch 2 by entering these commands:
Enter the VCDs used in Step 13. The last option in the atm bind pvc command specifies VLAN 5.
Step 15 Verify the setup on Switch 2 by entering these commands:
Step 16 Save the configuration 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 these commands:
Step 18 Configure PVC 2 and PVC 3 on Switch 3 by entering these 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 Switch 3 by entering these commands:
Enter the VCDs used in Step 18. The last option in the atm bind pvc command specifies VLAN 5.
Step 20 Verify the setup on Switch 3 by entering these commands:
Step 21 Save the configuration as follows:
Step 22 Remove and unbind PVCs 1, 2, and 3 from VLAN 5 by entering these commands:
Step 23 Unbind PVCs 1, 2, and 3 from VLAN 5 without removing the PVCs by entering these commands:
Step 24 Once you unbind the previously assigned PVCs, bind PVCs 10 and 11 to another VLAN.
Figure 11-3 shows the PVCs needed for complete redundancy if PHY A or PHY B on either Switch 1 or Switch 2 fails. This example (referred to as example 2) applies to the dual PHY DS3 module, but you can use the same configuration for dual PHY OC-3 modules (with appropriate PCRs).

In Figure 11-3, you see Catalyst 5000 series Switch 1 and Catalyst 5000 series Switch 2, each with an ATM dual PHY DS3 module, connected to a LightStream 1010 ATM switch in the ATM cloud.
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 B 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 PHY B on Switch 1 over PVC 3.
Table 11-4 shows the PVCs used to transmit data when the specified PHYs for the Catalyst 5000 series switches in Figure 11-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.
| Switch 1 | 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 example 2:
| PVC | Switch Connections | VPI | VCI | kbps Rate |
|---|---|---|---|---|
| 1 | Connects PHY A on Switch 1 to PHY A on Switch 2 | 0 | 32 | 45000 |
| 2 | Connects PHY A on Switch 1 to PHY B on Switch 2 | 0 | 33 | 45000 |
| 3 | Connects PHY B on Switch 1 to PHY A on Switch 2 | 0 | 34 | 45000 |
| 4 | Connects PHY B on Switch 1 to PHY B on Switch 2 | 0 | 35 | 45000 |
Before configuring the VLAN over PVCs, you must perform these tasks:
To configure example 2 in this section, follow these steps:
Step 1 Create PVC 1 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
Step 2 Verify the setup of PVC 1. Enter this command on the LightStream 1010 ATM switch:
Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
Step 4 Verify the setup of PVC 2. Enter this command on the LightStream 1010 ATM switch:
Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
CNTL/Z.Step 6 Verify the setup of PVC 3. Enter this command on the LightStream 1010 ATM switch:
Step 7 Create PVC 4 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:
Step 8 Verify the setup of PVC 4. Enter this command on the LightStream 1010 ATM switch:
Step 9 At the console of the Catalyst 5000 series Switch 1, session to the ATM module in slot 2 by entering these commands:
Step 10 Configure PVCs 1, 2, 3, and 4 on Switch 1 by entering these 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 11 Bind the PVCs to VLAN 5 on the Switch 1 by entering these commands:
Enter the VCD numbers used in Step 8. The last option in the atm bind pvc command specifies VLAN 5.
Step 12 Verify the setup on the Switch 1 by entering these commands:
Step 13 Save the configuration as follows:
Step 14 At the console of the Catalyst 5000 series Switch 2, session to the ATM module in slot 2 by entering these commands:
Step 15 Configure PVCs 1, 2, 3, and 4 on Switch 2 by entering these 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 these commands:
Step 17 Verify the setup on the Catalyst 5000 series Switch 2 by entering these commands:
Step 18 Save the configuration as follows:
Figure 11-4 shows two Catalyst 5000 series switches using the ATM PVC traffic-shaping software in a redundant configuration using ATM dual PHY DS3 modules. The ATM dual PHY DS3 modules contain ten rate queues. Twenty-four PVCs are divided among the ten 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, PVC 8 through PVC 20 are in VLAN 2, and PVC 21 through PVC 24 are in VLAN 3.
To configure ATM PVC traffic shaping, you must assign a specified cell rate to a PVC. The software places the PVC to which the cell rate has been assigned in a dynamically created rate queue. The software creates rate queues, and you can assign each queue a unique cell-rate value.
Ten rate queues are available on any ATM module. However, the allowable PCR range varies depending on the software release and ATM module you are using, as follows:
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. Traffic shaping supports only PCR.

|
|