Guest

Cisco Catalyst 5000 Series Switches

Configuring PVCs for the ATM Module

 Feedback

Table of Contents

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 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 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 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. Refer to Table 6-1 for a list of ATM modules and applicable software releases.

Table  6-1: Software Release Compatibility
Module Product Number Supervisor Engine SW Release ATM PVC SW 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 Using ATM Software Release 3.2

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

  • You can configure a VLAN using either LANE or PVCs. You cannot configure the same VLAN to use both PVCs and LANE simultaneously.

  • Only RFC-1483, bridged-Ethernet LLC/SNAP encapsulation is supported.

  • If two PVCs are configured on the same VLAN and ATM module, packets received from one PVC are not forwarded to the other PVC.

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 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 Save the configuration. 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.


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

Example Configuration

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


Figure 6-1: VLANs over PVCs



Example Configuration Assumptions

The following assumptions apply for this example configuration:

  • All prerequisite tasks have been performed.

  • The configuration in Figure 6-1 illustrates the VLAN and switch connections listed in Table 6-2.


Table  6-2: PVC Connections in Figure 6-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
  • PVC 3 is required for Switch 1 to communicate with Switch 3, because the ATM module on Switch 2 does not forward packets received from Switch 1 on PVC 1 to Switch 3 on PVC 2.

  • The ATM module is installed in slot 2 in the Catalyst 5000 series switch chassis.

Example Prerequisites

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

  • Verify that you have Catalyst 5000 series switch ATM module software release 3.1 or later.

  • Obtain the VLAN number to be configured.

  • Obtain the VPI and VCI for each PVC to be configured.

  • Set up PVCs within the ATM cloud.

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


Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM>

Step 5 Activate the privileged mode on the ATM module.

ATM> enable
ATM#

Step 6 Enter the configuration mode.

ATM# configure terminal
ATM (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

VCDs 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 Save the configuration 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.

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 3.2 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 the privileged mode on the ATM module. enable
Step 2 Enter the 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 the privileged mode on the ATM module. enable
Step 2 Enter the 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.

Procedure

To configure ATM PVC traffic-shaping software, 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
Note This step is optional; if you wish to change the default configurations1, 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 pvcvcd 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.5 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, the aal5snap options must be used.
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.
5 NVRAM=nonvolatile random-access memory

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 the following commands:

  • show atm vlan

After entering this command, you see this display:
ATM# show atm vlan
VCD                   VLAN ID
10                    5
11                    5
  • show atm vc

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

Example 1: Traffic Shaping on an ATM Module--Non-Redundant Configuration

Figure 6-2 illustrates how to set up a VLAN to run over PVCs and to configure those PVCs for a specific PCR on ATM module. This example applies to both the single and dual PHY OC-3 ATM module and the dual PHY DS3 ATM modules.


Figure 6-2: VLANs over PVCs



Example 1 Configuration Assumptions

The following assumptions apply for this example:

  • Figure 6-2 illustrates the VLAN and switch connections, VPIs, VCIs, and traffic rates listed in Table 6-3:


Table  6-3: PVC Connections in Figure 6-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
  • The ATM module is installed in slot 2 of the Catalyst 5000 series switches.

  • A fully meshed topology is required. PVC 3 is required for Switch 1 to communicate with Switch 3, because the ATM module on Switch 2 does not forward packets received from Switch 1 on PVC 1 to Switch 3 on PVC 2.

  • Any number of PVCs can be bound to the same VLAN. However, to prevent loops, each PVC must uniquely connect a VLAN group between two Catalyst 5000 series switches. You can also enable Spanning-Tree Protocol to prevent loops.

Example 1 Prerequisites

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

  • Verify that you have software release 50.1 or later.

  • Obtain the VLAN number to be configured.

  • Obtain the VPI and VCI for each PVC to be configured.

  • Note the interface number on the LightStream 1010 ATM switch to which the Catalyst 5000 series ATM module is connected. You need this interface number to connect the PVCs across the ATM cloud on the Lightstream 1010 switch.

Example 1 Configuration Procedure

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


Note The following 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:

Switch> enable
Switch#
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface atm0/0/0
Switch(config-if)# atm pvc 0 32 interface atm0/0/1 0 32
Switch(config-if)# end
Switch#

Step 2 Verify the setup of PVC 1. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/0
Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/0 0 5 PVC ATM2/0/0 0 32 UP
ATM0/0/0 0 16 PVC ATM2/0/0 0 33 UP
ATM0/0/0 0 18 PVC ATM2/0/0 0 34 UP
ATM0/0/0 0 32 PVC ATM0/0/1 0 32 UP
Switch#

Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:

Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)# interface atm0/0/1
Switch(config-if)# atm pvc 0 33 interface atm0/0/2 0 33
Switch(config-if)# end
Switch#

Step 4 Verify the setup of PVC 2. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/1
Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/1 0 5 PVC ATM2/0/0 0 35 UP
ATM0/0/1 0 16 PVC ATM2/0/0 0 36 UP
ATM0/0/1 0 18 PVC ATM2/0/0 0 37 UP
ATM0/0/1 0 32 PVC ATM0/0/0 0 32 UP
ATM0/0/1 0 33 PVC ATM0/0/2 0 33 UP
Switch#

Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:

Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config-if)# interface atm0/0/2
Switch(config-if)# atm pvc 0 34 interface atm0/0/0 0 34
Switch(config-if)# end
Switch#

Step 6 Verify the setup of PVC 3. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/2
Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/2 0 5 PVC ATM2/0/0 0 38 UP
ATM0/0/2 0 16 PVC ATM2/0/0 0 39 UP
ATM0/0/2 0 18 PVC ATM2/0/0 0 40 UP
ATM0/0/2 0 33 PVC ATM0/0/1 0 33 UP
ATM0/0/2 0 34 PVC ATM0/0/0 0 34 UP
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 the following commands:

Console> enable
Enter password:
Console> (enable) set vlan 5
Console> (enable) session 2
Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM>

Step 8 Configure PVC 1 and PVC 3 on Switch 1 by entering the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm pvc 10 0 32 aal5snap 45000
ATM(config-if)# atm ds3-scramble
ATM(config-if)# atm lbo long
ATM(config-if)# atm framing m23adm
ATM(config-if)# atm clock internal
ATM(config-if)# atm pvc 11 0 34 aal5snap 45000
ATM(config-if)# end
ATM#

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 the Catalyst 5000 series Switch 1 by entering the following commands:

ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm bind pvc vlan 10 5
ATM(config-if)# atm bind pvc vlan 11 5
ATM(config-if)# end
ATM#

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 the Catalyst 5000 series Switch 1 by entering the following commands:

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         10    0    32   PVC  AAL5-SNAP      45000    0     0    ACTIVE
ATM0         11    0    34   PVC  AAL5-SNAP      45000    0     0    ACTIVE
ATM#

Step 11 Save the configuration as follows:

ATM# write memory
Building configuration...
[OK]
ATM#
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 the following commands:

Console> enable
Enter password:
Console> (enable) set vlan 5
Console> (enable) session 2
Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM#

Step 13 Configure PVC 1 and PVC 2 on Switch 2 by entering the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm pvc 10 0 32 aal5snap 45000
ATM(config-if)# atm ds3-scramble
ATM(config-if)# atm lbo long
ATM(config-if)# atm framing m23adm
ATM(config-if)# atm clock internal
ATM(config-if)# atm pvc 11 0 33 aal5snap 2080
ATM(config-if)# end
ATM#

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:

ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm bind pvc vlan 10 5
ATM(config-if)# atm bind pvc vlan 11 5
ATM(config-if)# end
ATM#

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 the Catalyst 5000 series Switch 2 by entering the following commands:

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 10 0 32 PVC AAL5-SNAP      45000   0 0    ACTIVE
ATM0 11 0 33 PVC AAL5-SNAP      2080    0 0    ACTIVE
ATM#

Step 16 Save the configuration as follows:

ATM# write memory
Building configuration...
[OK]
ATM#
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 the following commands:

Console> enable
Enter password:
Console> (enable) set vlan 5
Console> (enable) session 2
Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM>

Step 18 Configure PVC 2 and PVC 3 on Switch 3 by entering the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm pvc 10 0 33 aal5snap 2080
ATM(config-if)# atm pvc 11 0 34 aal5snap 45000
ATM(config-if)# end
ATM#

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:

ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm bind pvc vlan 10 5
ATM(config-if)# atm bind pvc vlan 11 5
ATM(config-if)# end
ATM#

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 the Catalyst 5000 series Switch 3 by entering the following commands:

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 10 0 33 PVC AAL5-SNAP      2080     0     0   ACTIVE
ATM0 11 0 34 PVC AAL5-SNAP 45000    0     0   ACTIVE
ATM#

Step 21 Save the configuration as follows:

ATM# write memory
Building configuration...
[OK]
ATM#
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 the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# no atm pvc 10
ATM(config-if)# no atm pvc 11
ATM#
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 the following commands:

ATM(config-if)# no atm bind pvc vlan 10 5
ATM(config-if)# no atm bind pvc vlan 11 5
ATM#

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.

Example 2: Traffic Shaping on an ATM Module--Redundant Configuration

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. This example applies to the dual PHY DS3 module, but the same configuration can be used for dual PHY OC-3 modules (with appropriate PCRs).


Figure 6-3: Redundant PVC Traffic-Shaping



In this example, 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 6-4 shows the PVCs used to transmit data when the 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.


Table  6-4: Redundancy Coverage for Figure 6-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 the transmission of data 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 6-5 lists the PVC and switch connections, VPI, VCI, and traffic rates shown in Figure 6-3.


Table  6-5: PVC Connections in Figure 6-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
  • The ATM module is installed in slot 2 of the Catalyst 5000 series switches.

  • Any number of PVCs can be bound to the same VLAN. However, to prevent loops, each PVC must uniquely connect a VLAN group between two Catalyst 5000 series switches. You can also enable Spanning-Tree Protocol to prevent loops.

Example 2 Prerequisites

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

  • Verify that you have ATM module software release 51.1(1) or above.

  • Obtain the VLAN number to be configured.

  • Obtain the VPI and VCI for each PVC to be configured.

  • Note the interface number of the LightStream 1010 ATM switch to which the Catalyst 5000 series ATM module is connected. You need this interface number to connect the PVCs across the ATM cloud on the Lightstream 1010 ATM switch.

Example 2 Configuration Procedure

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


Note The following 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:

Switch> enable
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface atm0/0/0
Switch(config-if)# atm pvc 0 32 int atm0/0/2 0 32
Switch(config-if)# end
Switch#

Step 2 Verify the setup of PVC 1. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/0

Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/0 0 5 PVC ATM2/0/0 0 32 UP
ATM0/0/0 0 16 PVC ATM2/0/0 0 33 UP
ATM0/0/0 0 18 PVC ATM2/0/0 0 34 UP
ATM0/0/0 0 32 PVC ATM0/0/2 0 32      UP
Switch#

Step 3 Create PVC 2 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:

Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface atm0/0/2
Switch(config-if)# atm pvc 0 33 int atm0/0/1 0 33
Switch(config-if)# end
Switch#

Step 4 Verify the setup of PVC 2. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/2

Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/2 0 5 PVC ATM2/0/0 0 38 UP
ATM0/0/2 0 16 PVC ATM2/0/0 0 39 UP
ATM0/0/2 0 18 PVC ATM2/0/0 0 40 UP
ATM0/0/2 0 32 PVC ATM0/0/0 0 32 UP
ATM0/0/2 0 33 PVC ATM0/0/1 0 33 UP
Switch#

Step 5 Create PVC 3 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:

Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z .
Switch(config)# interface atm0/0/3
Switch(config-if)# atm pvc 0 34 int atm0/0/0 0 34
Switch(config-if)# end
Switch#

Step 6 Verify the setup of PVC 3. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/3

Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/3 0 5 PVC ATM2/0/0 0 41 UP
ATM0/0/3 0 16 PVC ATM2/0/0 0 42 UP
ATM0/0/3 0 18 PVC ATM2/0/0 0 43 UP
ATM0/0/3 0 34 PVC ATM0/0/0 0 34 UP
Switch#

Step 7 Create PVC 4 within the ATM cloud. Enter these commands on the LightStream 1010 ATM switch:

Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface atm0/0/1
Switch(config-if)# atm pvc 0 35 interface atm0/0/3 0 35
Switch(config-if)# end
Switch#

Step 8 Verify the setup of PVC 4. Enter this command on the LightStream 1010 ATM switch:

Switch# show atm vc interface atm0/0/1

Interface VPI VCI Type X-Interface X-VPI X-VCI Status
ATM0/0/1 0 5 PVC ATM2/0/0 0 35 UP
ATM0/0/1 0 16 PVC ATM2/0/0 0 36 UP
ATM0/0/1 0 18 PVC ATM2/0/0 0 37 UP
ATM0/0/1 0 33 PVC ATM0/0/2 0 33 UP
ATM0/0/1 0 35 PVC ATM0/0/3 0 35 UP
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 the following commands:

Console> enable
Enter password:
Console> (enable) set vlan 5
Console> (enable) session 2
Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM>

Step 10 Configure PVCs 1, 2, 3, and 4 on Switch 1 by entering the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm pvc 1 0 32 aal5snap 45000
ATM(config-if)# atm ds3-scramble
ATM(config-if)# atm lbo long
ATM(config-if)# atm framing m23adm
ATM(config-if)# atm clock internal
ATM(config-if)# atm pvc 2 0 33 aal5snap 45000
ATM(config-if)# atm pvc 3 0 34 aal5snap 45000
ATM(config-if)# atm pvc 4 0 35 aal5snap 45000
ATM(config-if)# end
ATM#

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 Catalyst 5000 series Switch 1 by entering the following commands:

ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm bind pvc vlan 1 5
ATM(config-if)# atm bind pvc vlan 2 5
ATM(config-if)# atm bind pvc vlan 3 5
ATM(config-if)# atm bind pvc vlan 4 5
ATM(config-if)# end
ATM#

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 Catalyst 5000 series Switch 1 by entering the following commands:

ATM# show atm vlan
VCD   VLAN-ID
  1   5
  2   5
  3   5
  4   5
ATM#
ATM# show atm vc
AAL / Peak Avg. Burst
Interface VCD VPI VCI Type Encapsulation Kbps Kbps Cells Status
ATM0           1     0     32   PVC   AAL5-SNAP      45000    0      0   ACTIVE
ATM0           2     0     33   PVC   AAL5-SNAP      45000    0      0   ACTIVE
ATM0           3     0     34   PVC   AAL5-SNAP      45000    0      0   ACTIVE
ATM0           4     0     35   PVC   AAL5-SNAP      45000    0      0   ACTIVE
ATM#

Step 13 Save the configuration as follows:

ATM# write memory
Building configuration...
[OK]
ATM#
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 the following commands:

Console> enable
Enter password:
Console> (enable) set vlan 5
Console> (enable) session 2
Trying ATM-2...
Connected to ATM-2.
Escape character is '^]'.
ATM>

Step 15 Configure PVCs 1, 2, 3, and 4 on Switch 2 by entering the following commands:

ATM> enable
ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm pvc 1 0 32 aal5snap 45000
ATM(config-if)# atm ds3-scramble
ATM(config-if)# atm lbo long
ATM(config-if)# atm framing m23adm
ATM(config-if)# atm clock internal
ATM(config-if)# atm pvc 2 0 33 aal5snap 45000
ATM(config-if)# atm pvc 3 0 34 aal5snap 45000
ATM(config-if)# atm pvc 4 0 35 aal5snap 45000
ATM(config-if)# end
ATM#

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:

ATM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ATM(config)# interface atm0
ATM(config-if)# atm bind pvc vlan 1 5
ATM(config-if)# atm bind pvc vlan 2 5
ATM(config-if)# atm bind pvc vlan 3 5
ATM(config-if)# atm bind pvc vlan 4 5
ATM(config-if)# end
ATM#

Step 17 Verify the setup on the Catalyst 5000 series Switch 2 by entering the following commands:

ATM# show atm vlan
VCD VLAN-ID
  1 5
  2 5
  3 5
  4 5
ATM#
ATM# show atm vc
AAL / Peak Avg. Burst
Interface VCD VPI VCI Type Encapsulation Kbps Kbps Cells Status
ATM0 1 0 32 PVC AAL5-SNAP 45000    0 0  ACTIVE
ATM0 2 0 33 PVC AAL5-SNAP 45000    0 0  ACTIVE
ATM0 3 0 34 PVC AAL5-SNAP      45000    0     0  ACTIVE
ATM0 4 0 35 PVC AAL5-SNAP      45000    0     0  ACTIVE
ATM#

Step 18 Save the configuration as follows:

ATM# write memory
Building configuration...
[OK]
ATM#

How ATM PVC Traffic Shaping Works

Figure 6-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 10 rate queues. Twenty-four PVCs are divided among the 10 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. 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 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 which software release and ATM module you are using, as follows:

  • If you are using software release 50.1 (which only supports OC-3 ATM modules), eight rate queues are available with a PCR range of 2081 to 155,000 kbps.

  • If you are using software release 51.1 with an OC-3 module, eight rate queues are available with a PCR range of 2081 to 155,000 kbps and two rate queues are available with a PCR range of 1 to 2080 kbps.

  • If you are using software release 51.1 with a DS3 module, eight rate queues are available with a PCR range of 2081 to 45,000 kbps and two rate queues are available with a PCR range of 1 to 2080 kbps.

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 6-4: ATM PVC Traffic Shaping with the ATM Dual PHY DS3 Module