cc/td/doc/product/lan/cat5000/rel_4_1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring PVCs for the ATM Module

Configuring PVCs for the ATM Module

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.


Note Software releases 50.1 and 51.1 are separate images from the Catalyst 5000 series LAN Emulation (LANE) software; software releases 50.1 and 51.1 do not support traffic shaping with LANE and support only RFC 1483-bridged Ethernet
Subnetwork Access Protocol (SNAP)-encapsulated PVCs with peak cell-rate shaping.

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.

Table  11-1: Software Release Compatibility
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

Configuring PVC-Supported VLANs

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:

Setting Up a PVC within the ATM Cloud

To configure a PVC within the ATM cloud, refer to the appropriate publication from your switch vendor.

Setting Up a VLAN over PVCs

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.

Procedure

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.


Note The atm bind pvc vlan vcd vlanid command is valid only for the current software release.

Example Configuration

Figure 11-1 is an example of setting up a VLAN to run over a PVC on the ATM module.


Figure 11-1: VLANs over a PVC on the ATM module



Example Configuration Assumptions

The following assumptions apply for this example configuration:


Table  11-2: PVC Connections in Figure 11-1
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

Example Prerequisites

Before configuring the VLAN over PVCs, you must perform these tasks:

Example Configuration Procedure

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:

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:

    ATM (config-if)# atm bind pvc vlan 10 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 configuration mode as follows:

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:

Step 12 Save the configuration and restart Switch 1 as follows:

Step 13 Configure Switches 2 and 3 by repeating Steps 1 through 6 with appropriate values for each switch.

Removing Previously Assigned PVCs from a VLAN

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.


Note The procedures in this section apply to ATM software release 4.1 and ATM PVC traffic-shaping software release 50.1.

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

Configuring PVCs Using ATM PVC Traffic-Shaping Software

This section describes how to configure traffic shaping. Traffic shaping requires software release 50.1 or release 51.1.

Configuring ATM PVC Traffic-Shaping Software

Follow the procedures in this section to set up both a redundant configuration and a nonredundant configuration for traffic-shaping on an ATM module.

Procedure

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

1 The default configurations are as follows: clock internal=transmit clock is generated internally; ATM framing=C-Bit with ADM; line buildout=short; DS3-scramble=disabled.
2 To configure traffic shaping, you must use the aal5snap options.
3 The peak argument must not exceed 45,000 kbps for DS3 modules or 155,000 kbps for OC-3 modules.
4 The atm bind pvc vlan vcd vlan_num command is valid only for the current software release; this command may change in future releases.

Note The atm bind pvc vlan vcd vlanid command is valid only for the current software release. The atm traffic-shape rate command is not available in software releases 50.1 or 51.1.

Verification

To verify the ATM PVC traffic-shaping configuration, enter these commands:

After entering this command, you see this display:
ATM# show atm vlan
VCD                   VLAN ID
10                    5
11                    5
After entering this command, you see this display:
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

Traffic-Shaping on an ATM Module--Nonredundant Configuration Example

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.


Figure 11-2:
Configuring a PVC for a Specific PCR on an ATM Module



Example 1 Configuration Assumptions

These assumptions apply for this example:


Table  11-3: PVC Connections in Figure 11-2
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

Example 1 Prerequisites

Before configuring the VLAN over PVCs, you must perform these tasks:

Example 1 Configuration Procedure

To configure the example in this section, follow these steps.


Note These procedures apply only if your ATM switch is a Cisco Lightstream 1010 ATM switch. If you have a different ATM switch, consult the publication that accompanied the switch.
Set up the PVCs within the ATM cloud.

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:

Set up PVC 1 and PVC 3 on the Catalyst 5000 series Switch 1.

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:

Set up PVC 1 and PVC 2 on the Catalyst 5000 series Switch 2.

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:

Set up PVC 2 and PVC 3 on the Catalyst 5000 series Switch 3.

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:

Remove and unbind the previously assigned PVCs from VLAN 5 (optional).

Step 22 Remove and unbind PVCs 1, 2, and 3 from VLAN 5 by entering these commands:

Unbind the previously assigned PVCs without removing the PVC (optional).

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.


Note The no atm bind pvc vlan vcd vlanid command is valid only for the current software release.

Traffic Shaping on an ATM Module--Redundant Configuration Example

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


Figure 11-3:
Redundant PVC Traffic-Shaping



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.


Table  11-4: Redundancy Coverage for Figure 11-3
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

Note To ensure redundancy for data transmission using dual PHYs, you must set up PVCs 1, 2, 3, and 4 on the same VLAN and configure the same data rate for each PVC.

Example 2 Configuration Assumptions

The following assumptions apply for example 2:


Table  11-5: PVC Connections in Figure 11-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

Example 2 Prerequisites

Before configuring the VLAN over PVCs, you must perform these tasks:

Example 2 Configuration Procedure

To configure example 2 in this section, follow these steps:


Note These procedures apply only if your ATM switch is a Cisco Lightstream 1010 ATM switch. If you have a different ATM switch, consult the publication that accompanied the switch.
Set up the PVCs within the ATM cloud.

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 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:

Set up the PVCs on the Catalyst 5000 series Switch 1.

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:

Set up the PVCs on the Catalyst 5000 series Switch 2.

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:

Understanding ATM PVC Traffic Shaping

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.


Figure 11-4:
ATM PVC Traffic Shaping with the ATM Dual PHY DS3 Module




hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.