cc/td/doc/product/core/cis7600/cfgnotes
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the OC-12 ATM Optical Services Modules
ATM Overview
Supported Features
Configuring the OC-12 ATM Interfaces
Configuring Virtual Connections
SONET and SDH Configuration Commands

Configuring the OC-12 ATM Optical Services Modules


This chapter describes the 2-port OC-12ATM WAN Optical Services Modules (OSMs).

This chapter consists of these sections:

ATM Overview

Asynchronous Transfer Mode (ATM) uses cell-switching and multiplexing technology that combines the benefits of circuit switching (constant transmission delay and guaranteed capacity) with those of packet switching (flexibility and efficiency for intermittent traffic).

ATM is a connection-oriented environment. All traffic to or from an ATM network is prefaced with a virtual path identifier (VPI) and virtual channel identifier (VCI). A VPI/VCI pair is considered a single virtual circuit. Each virtual circuit is a private connection to another node on the ATM network. Each virtual circuit is treated as a point-to-point mechanism to another router or host and is capable of supporting bidirectional traffic.

Each ATM node is required to establish a separate connection to every other node in the ATM network that it must communicate with. All such connections are established using a permanent virtual circuit (PVC), which a network operator configures, or a switched virtual circuit (SVC), which is set up and torn down with an ATM signaling mechanism. This signaling is based on the ATM Forum User-Network Interface (UNI) specification V3.x, 4.0.

Supported Features

The WAN ports on the 2-port OC-12 ATM OSMs support the following features:

For QoS configuration information and examples for the WAN OSM ports, see the "Configuring Traffic Shaping" section.

For MPLS QoS configuration information and examples for the WAN OSM ports, see the "Configuring MPLS QoS" section.

For general information on how to configure Cisco IOS QoS, refer to these Cisco IOS publications:

Cisco IOS Quality of Service Solutions Configuration Guide at this URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/qos_c/index.htm

Cisco IOS Quality of Service Solutions Command Reference at this URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/qos_r/index.htm

Configuring the OC-12 ATM Interfaces

This section provides procedures for initial configuration of an OC-12 ATM OSM interface:

Initial Configuration for the OC-12 ATM OSM

On power up, the interfaces on a new OC-12 ATM OSM are shut down. To enable an interface, you must enter the no shutdown command in configuration mode. When the OC-12 ATM interface is enabled with no additional configuration, the default interface configuration file parameters are used. These default parameters are listed in Table 8-1.

Table 8-1   OC-12c/STM-4c ATM Module Configuration Default Values

Parameter  Configuration Command  Default Value 

Maximum transmission unit (mtu)

[no] mtu bytes

4470 bytes

Loopback

[no] loopback [diagnostic | line]

no loopback

ATM VCs per VP

atm vc-per-vp

1023

After you verify that the new OC-12 ATM module is installed correctly (the active LED goes on and all cables are correctly connected), you can use the configure command to configure the ATM interfaces.

Enabling the ATM Interface

A Catalyst 6000 family switch and Cisco 7600 series Internet Router identifies an interface address by its slot number and port number in the format slot/port. For example, the slot/port address of an interface on a 2-port OC-12 ATM OSM installed in slot 4 is 4/1.

Before using the configure command, you must enter the privileged level mode of the EXEC command interpreter by using the enable command. The system will prompt you for a password if one is set.

Use the following procedure to configure the 2-port OC-12 ATM OSMs. Press the Return key after each configuration step unless otherwise noted.

To configure the ATM interfaces, perform this task:

  Command  Purpose 
Step 1 
Router# show module

Confirms that the system recognizes the module by entering the show module command.

Step 2 
Router# show interface atm slot/port

Checks the status of each port by entering the show interface command.

Step 3 
Router# configure terminal

Enters configuration mode and specifies that the console terminal will be the source of the configuration subcommands.

Step 4 
Router(config)# interface atm slot/port

Specifies the new interface to configure by entering the interface command, followed by type and slot/port.

Step 5 
Router(config-if)# ip address ip-address mask [secondary]

Assigns an IP address and subnet mask to the interface.

Step 6 
Router(config-if)# no shutdown
Router(config-if)# end

Changes the interface state to up and enables the interface.

Step 7 
Router# copy running-config startup-config

Writes the new configuration to memory.

This example shows how to configure an OC-12 ATM OSM interface:

Router# configure terminal
Router(config)# interface atm 4/0
Router(config-if)# ip address 1.2.3.4 255.255.255.0
Router(config-if)# no shutdown
Router# copy running-config startup-config

Valid VCI and VPI Configurations

The default number of VPIs per ATM interface is 15. The maximum number of VCIs per VPI is 1023.

Table 8-2 shows the valid VCs per VP and maximum VPI configurations.

Table 8-2   Valid VCI and VPI Configurations

VCs per VP  Maximum VPIs 

1024

15

512

31

256

63

128

127

64

255

32

255

16

255

Configuring the Maximum VCs per VP

The ATM interfaces are configured by default to allow a maximum of 1023 VCs per VP. To change this value, perform this task beginning in global configuration mode:

  Command  Purpose 
Step 1 
Router(config)# interface atm slot/port

Enters interface configuration mode and specifies the ATM interface to configure.

Step 2 
Router(config-if)# atm vc-per-vp

Configures the maximum number of VCs per VP to 16, 32, 64, 128, 256, 512, 1024. The default is 1024.

Step 3 
Router(config-if)# no shutdown

Enables the interface with the above configuration.

Configuring Virtual Connections

This section provides basic information for configuring PVCs, bridged PVCs (RFC 1483), PVC traffic parameters, and SVCs. In addition, this section documents commands and configurations that are unique to the 2-port OC-12 ATM OSMs.

For all other Cisco IOS features and commands supported on the OC-12 ATM OSMs, refer to the "Configuring ATM" chapter in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.1 at this URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/wan_c/wcdatm.htm

For complete command syntax information, refer to the ATM chapter in the Cisco IOS Wide-Area Networking Command Reference, Release 12.1 at this URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/wan_r/wratm/index.htm

Creating a PVC

To create a PVC on the ATM interface and enter interface-ATM-VC configuration mode, perform this task in interface configuration mode:

  Command  Purpose 
Step 1 

Router(config)# interface atm slot/port

Specifies the new interface to configure by entering the interface command, followed by type and slot/port.

Step 2 

Router(config-if)# ip address ip-address mask [secondary]

Assigns an IP address and subnet mask to the interface.

Step 3 
Router(config-if)# pvc [name] vpi/vci [ilmi | qsaal]

 

Configures a new ATM PVC by assigning a name (optional) and VPI/VCI numbers. Enter interface-ATM-VC configuration mode. Optionally configure ILMI or QSAAL encapsulation.

Step 4 

Router(config-if-atm-vc)# protocol protocol protocol-address [[no] broadcast]

Maps a protocol address to a PVC.

Step 5 

Router(config-if-atm-vc)# encapsulation {aal5mux | aal5snap}

(Optional) Configures the ATM adaptation layer (AAL) and encapsulation type. The default is aal5snap.

This example shows how to create a PVC:

Router(config)# interface atm 4/0
Router(config-if)# ip address 10.212.13.4 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# pvc cisco 0/56
Router(config-if-atm-vc)# protocol ip 10.212.13.5 broadcast
Router(config-if-atm-vc)# encapsulation aal5snap
Router(config-if-atm-vc)#

Configuring RFC 1483 Bridging for PVCs

RFC 1483 bridging as implemented on the OC-12 ATM OSMs supports point-to-point bridging of Layer 2 PDUs between the ATM interfaces on the OC-12 ATM OSMs and Ethernet ports.

Figure 8-1 shows a topology where two OC-12 ATM OSMs are used to forward Layer 2 PDUs through an ATM cloud. In this example, VLANs are forwarded over trunk links between the switches and ATM ports on modules installed in the routers. The traffic is then forwarded out through the ATM ports, configured for RFC 1483 on the OC-12 ATM OSMs, and through the ATM cloud.


Figure 8-1   Example of RFC 1483 Bridging Topology


RFC 1483 bridging for the OC-12 ATM OSM is supported on AAL5-MUX and AAL5-LLC Subnetwork Access Protocol (SNAP) encapsulated PVCs. RFC 1483 bridged PVCs must terminate on the ATM OSM, and the traffic forwarded over this bridged connection to the edge must be forwarded through an Ethernet port, as shown in Figure 8-1. Bridging between RFC 1483 bridged PVCs is not supported.


Note   RFC 1483 bridging in a switched virtual circuit (SVC) environment is not supported.


Note   For Virtual Trunking Protocol (VTP) to work properly, ensure that each main interface has a subinterface configured for a VC bound to VLANs 1 and 1002-1005.

To configure RFC 1483 bridging for PVCs, use the following commands beginning in global configuration mode:

  Command  Purpose 
Step 1 
Router(config)# interface atm slot/port

Specifies the main interface to configure.

Step 2 
Router(config-if)# atm bridge-enable

Enables bridging on the main interface.

Step 3 
Router(config-if)# exit

Returns to global configuration mode.

Step 4 
Router(config)# interface atm slot/port [.subinterface-number point-to-point]

Specifies the subinterface on which to configure the PVC.

Step 5 
Router(config-subif)# pvc [name] vpi/vci

Configures a new ATM PVC by assigning a name (optional) and VPI/VCI numbers.

Step 6 
Router(config-if-atm-vc)# bridge-vlan vlan_id [dot1q1] [dot1q-tunnel2] [lan-fcs]3

Binds the VLAN to the PVC.

Use the dot1q keyword to preserve the CoS information across the ATM PVC.

Use the lan-fcs keyword when you configure RFC 1483 bridging on a FlexWAN to preserve the LAN checksum across the ATM cloud.

Step 7 
Router(config-if-atm-vc)#

Specifies the default encapsulation type.

Step 8 
Router(config-if-atm-vc)# ^Z

Exits configuration mode.

Step 9 
Router# show interface atm slot/port [.subinterface-number

Verifies the subinterface configuration and status.

Step 10 
Router# show interface atm slot/port switchport

Verifies the main interface switchport configuration and status.

Step 11 
Router# show interface atm slot/port trunk

Verifies the trunk configuration and shows the forwarding states for the allowed VLANs.

When the dot1q keyword is specified, the 802.1Q header is transported across the ATM PVC. This allows CoS information to be preserved across the PVC. Without the dot1q keyword, the ingress side uses 0 as the CoS values when performing QoS.

When the dot1q-tunnel keyword is specified, 802.1Q tunneling is enabled, and service providers can use a single VLAN to support customers who have multiple VLANs, while preserving customer VLAN IDs and keeping traffic in different customer VLANs segregated. For more information on 802.1Q tunneling, see Configuring 802.1Q Tunneling

The lan-fcs keyword option applies only to the FlexWAN.

In the following example, bridging is enabled on the main ATM interface on an OC-12 ATM OSM, one PVC with aal5snap encapsulation is bound to VLAN 666, and another PVC is bound to VLAN 777:

Router# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# interface atm 6/1
Router(config-if)# atm bridge-enable
Router(config)# interface atm 6/1.3 point-to-point
Router(config-subif)# pvc 103/103
Router(config-if-atm-vc)# bridge-vlan 666 dot1q
Router(config-if-atm-vc)# oam-pvc manage
Router(config-if-atm-vc)# exit
Router(config-subif)# exit
Router(config)# interface atm 6/1.4 point-to-point
Router(config-subif)# pvc 104/104
Routerconfig-if-atm-vc)# bridge-vlan 777
Router(config-if-atm-vc)# 
Router(config-if-atm-vc)# ^Z
Router#

The following commands verify the interface configuration and status:

Router# show interface atm 6/1.3
ATM6/1.3 is up, line protocol is up
  Hardware is ATM OC12 LC
  Internet address is 8.8.8.1/24
  MTU 4470 bytes, BW 599040 Kbit, DLY 80 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ATM
  5 packets input, 566 bytes
  5 packets output, 566 bytes
  1445 OAM cells input, 1446 OAM cells output
Router# show interface atm 6/1 switchport
Name:AT6/1
Switchport:Enabled
Administrative Mode:trunk
Operational Mode:trunk
Administrative Trunking Encapsulation:dot1q
Operational Trunking Encapsulation:dot1q
Negotiation of Trunking:Off
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:666,777,1002-1005
Pruning VLANs Enabled:2-1001
Router# show interface atm 6/1 trunk

Port      Mode         Encapsulation  Status        Native vlan
AT6/1     on           802.1q         trunking      1

Port      Vlans allowed on trunk
AT6/1     666,777,1002-1005

Port      Vlans allowed and active in management domain
AT6/1     666,777,1002-1005

Port      Vlans in spanning tree forwarding state and not pruned
AT6/1     666,777,1002-1005



Router# show running-config interface atm 6/1
Building configuration...

Current configuration :306 bytes
!
interface ATM6/1
 no ip address
 atm clock INTERNAL
 atm mtu-reject-call
 atm bridge-enable
 no atm auto-configuration
 no atm ilmi-keepalive
 no atm address-registration
 mls qos trust dscp
 switchport
 switchport trunk allowed vlan 666,777,1002-1005
 switchport mode trunk
 switchport nonegotiate
end

Router# show running-config interface atm 6/1.3
Building configuration...

Current configuration :172 bytes
!
interface ATM6/1.3 point-to-point
 ip address 8.8.8.1 255.255.255.0
 pvc 103/103
  bridge-vlan 666
  oam-pvc manage
  encapsulation aal5snap
 !
 mls qos trust dscp
end

Router# show running-config interface atm 6/1.4
Building configuration...

Current configuration :129 bytes
!
interface ATM6/1.4 point-to-point
 pvc 104/104
  bridge-vlan 777
  encapsulation aal5snap 
 !
 mls qos trust dscp
end

Configuring RFC 1483 Bridging on the Main Interface

You can enable RFC 1483 Bridging on the main interface using the bridge-vlan command. In the following example, bridging is enabled on the main ATM interface—a PVC is configured on the main interface on an OC-12 ATM OSM with PVC 10/10 bound to VLAN 99 and PVC 10/11 bound to VLAN 100. The show interface atm command displays the interface configurations and status:

router# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)# int atm 6/2
router(config-if)# pvc 10/10
router(config-if-atm-vc)# bridge-vlan 99 dot1q
router(config-if-atm-vc)# pvc 10/11
router(config-if-atm-vc)# bridge-vlan 100
router(config-if-atm-vc)# end
router(config)# sh ru int atm 6/2
Building configuration...

Current configuration :326 bytes
!
interface ATM6/2
 no ip address
 shutdown
 atm clock INTERNAL
 atm mtu-reject-call
 atm bridge-enable
 no atm ilmi-keepalive
 pvc 10/10
  bridge-vlan 99 dot1q
 !
 pvc 10/11
  bridge-vlan 100
 !
 mls qos trust dscp
 switchport
 switchport trunk allowed vlan 99,100
 switchport mode trunk
 switchport nonegotiate
end

Configuring 802.1Q Tunneling

802.1Q tunneling enables service providers to use a single VLAN to support customers who have multiple VLANs, while preserving customer VLAN IDs and keeping traffic in different customer VLANs segregated. Dot1q tunneling and L2 protocol tunneling are configured only on the service provider router. The customer side is not aware of such configuration.

Figure 8-2 shows two customer premise equipment (CPE) devices (CPE 1 and CPE 2). Each CPE device has a PVC bound to VLAN 15, which is enabled using the following commands:

Router(config-if)# pvc 2/100
Router(config-if-atm-vc)# bridge-vlan 15 dot1q

At the service provider (SP) side, the PVC is bound to VLAN 99 and the dot1q-tunnel keyword is specified. The main ATM interface also has the atm bridge-enable dot1q-tunnel command. With the dot1q-tunnel keyword, the spanning tree BPDU filter and L2 protocol tunneling are both enabled automatically. The following example shows this configuration:

Router(config-if)# atm bridge-enable dot1q-tunnel
Router(config-if)# pvc 2/100
Router(config-if-atm-vc)# bridge-vlan 99 dot1q-tunnel

Figure 8-2   Network with 802.1Q Tunneling


In this example, the customer's vlan is tunneled by the service provider. Frames enter the SP domain with an explicit 802.1Q tag of 15. The frames are then forwarded with an SP VLAN tag of 99. In the service provider network, the network only sees the service provider VLAN. The original customer VLAN is recovered when it leaves the service provider network—VLAN 99 is stripped and the original frame is recovered as it leaves the dot1q-tunnel interface.

For complete information on 802.1Q tunneling on the Cisco 7600 Internet Router, see the
Cisco 7600 Series Cisco IOS Software Configuration Guide, 12.1E at the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/core/cis7600/ios121_8/swcg/dot1qtnl.htm

You can enable 802.1Q tunneling using the bridge-vlan <vlan> dot1q-tunnel command:

bridge-vlan vlan [dot1q] [dot1q-tunnel]
[no] bridge-vlan vlan [dot1q] [dot1q-tunnel]
Customer Configuration

The following example shows how to configure 802.1Q tunneling on the customer side:


Note    To enable 802.1Q tunneling on the customer side, you must enter the dot1q keyword with the bridge-vlan command.

Router(config)# interface ATM6/2
router(config-if)# no ip address
router(config-if)# atm clock internal
router(config-if)# atm mtu-reject-call
router(config-if)# atm bridge-enable
Router(config-if-atm-vc)# pvc 2/101
Router(config-if-atm-vc)# bridge-vlan 15 dot1q
Service Provider Configuration

The following example shows how to configure 802.1Q tunneling on the service provider side:


Note    To enable 802.1Q tunneling on the service provider side, you must enter the dot1q-tunnel keyword with the bridge-vlan command.

Router# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# int atm 6/2