|
|
This chapter provides procedures for configuring the ATM module. The procedures include configuring the ATM LAN emulation (LANE) client (LEC) from the command-line interface (CLI) and verifying the configuration. Additionally, this chapter explains how to manually configure the ATM module to support RFC 1483. For information about the trunking and nontrunking features, see the Catalyst 2900 Series XL Enterprise Edition Software Configuration Guide. For detailed information about commands used in this chapter, see the "Command Reference" appendix.
switch# session 1 ATM>Entering Console for module in slot 1 Type "^G" to end this session Press RETURN to get started! ATM>
If the ATM module is installed in Slot A, the session displays interface 1; if the module is installed in Slot B, the session displays interface 2.
This section explains how to configure the ATM module LEC from the CLI at the Catalyst 2900 series switch management console. The ATM module does not forward any frames from the switch until you define LEC. Once you define a LEC with an ELAN mapped to a VLAN, the ATM module forwards the traffic to the appropriate ELAN.
Before you configure the LEC, ensure that the LES is configured. Refer to the "LANE Configuration Requirements" section in the "Installing an ATM Module" chapter.
Configuring the LEC specifies the ELAN in the ATM network to which your LAN is connected.
Table 3-1 lists the Cisco IOS commands used to configure (and verify) the LEC.
| Command | Value | Description |
|---|---|---|
enable |
| Enters EXEC mode. |
configure terminal |
| Enters global configuration mode. |
interface | type_number.subif multipoint | Enters interface configuration mode. |
lane client ethernet | vlan_number elan_name | Configures LEC. |
show interface |
| Verifies that the ATM is connected to the network. Displays the operational state of the ATM interface and the rate at which packets are transferred. |
show lane |
| Verifies that the LEC is operational. Also shows the ATM network service access point (NSAP) address of the LANE configuration. |
write memory |
| Saves the configuration to nonvolatile random-access memory (NVRAM). |
In the configuration procedure example that follows, the following information applies:
To configure the LEC from the CLI, follow these steps:
Step 1 Enter privileged EXEC mode by entering the enable command:
ATM> enable ATM#
Step 2 Enter global configuration mode by entering the configure terminal command:
ATM# configure terminal Enter configuration commands, one per line. End with CNTL/Z. ATM(config)#
Step 3 Enter interface configuration mode by entering the interface type_number.subif multipoint command:
ATM(config)# interface atm1.1 multipoint ATM(config-if)#
Step 4 Configure the LEC by entering the lane client ethernet vlan_number elan_name command:
ATM(config-if)# lane client ethernet 1 marketing ATM(config-if)#
Step 5 Exit interface configuration mode and return to EXEC mode by pressing Ctrl-Z:
ATM(config-if)# ^Z ATM#
Step 6 (Optional) From EXEC mode, save the configuration to nonvolatile random-access memory (NVRAM) by entering the write memory command:
ATM# write memory ATM#
This step saves the commands you used in Steps 1 through 5 in the NVRAM file. You can use this file the next time you access the module.
When you have configure the LEC, the ATM module is ready to transmit and receive data between your LAN and the ATM network.
After the LEC is configured, you can verify that the configuration is complete. This section tells you how to verify the ATM and LANE status and view the port statistics for the LEC.
You can verify the ATM and LANE status by using the show lane command.
The show lane command verifies that the LEC is operational and shows the ATM NSAP addresses of the LANE configuration.
To verify ATM and LANE status from the CLI, enter the show lane EXEC command:
ATM> show lane
LE Client ATM1.1 ELAN name: marketing Admin: up State: operational
Client ID: 2 LEC up for 6 minutes 14 seconds
Join Attempt: 2
HW Address: 00c0.1dfc.a2fc Type: ethernet Max Frame Size: 1516
VLANID: 1
ATM Address: 39.000000000000000000000000.00C01DFCA2FC.00
VCD rxFrames txFrames Type ATM Address
0 0 0 configure 39.000000000000000000000000.00605C28DA23.00
4 0 2 direct 39.000000000000000000000000.00605C28DA21.01
5 0 0 distribute 39.000000000000000000000000.00605C28DA21.01
6 0 20 send 39.000000000000000000000000.00605C28DA22.01
13 0 0 forward 39.000000000000000000000000.00605C28DA22.01
8 58 55 data 39.000000000000000000000000.00605C28DA20.01
ATM>
The port statistics verify that the ATM module is transmitting and receiving data across the ATM network. For example, the display shows the number of ATM Adaptation Layer 5 (AAL5) frames and ATM cells transmitted and received. You can verify ATM port statistics by using the show interface command.
The show interface command verifies that the ATM port is connected to the network by displaying information such as the operational state of the ATM interface and the rate at which packets are transferred.
To verify ATM port statistics from the CLI, do the following:
Step 1 Enter the enable EXEC command:
ATM> enable ATM#
Step 2 Enter the show interface EXEC command:
ATM# show interface
ATM1 is up, line protocol is up
Hardware is Catalyst 2900 ATM
Internet address is 199.90.198.195
MTU 1500 bytes, sub MTU 1500, BW 156250 Kbit, DLY 100 usec, rely 255/255, load
1/255
Encapsulation ATM, loopback not set, keepalive set (10 sec)
Encapsulation(s): AAL5, PVC mode
1024 maximum active VCs, 1024 VCs per VP, 22 current VCCs
VC idle disconnect time: 300 seconds
Signalling vc = 1, vpi = 0, vci = 5
UNI Version = 3.1, Link Side = user
Last input 00:00:07, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 3000 bits/sec, 3 packets/sec
5 minute output rate 2000 bits/sec, 3 packets/sec
82111 packets input, 10186865 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
82152 packets output, 10176265 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
ATM1.1 is up, line protocol is up
Hardware is Catalyst 2900 ATM
MTU 1500 bytes, BW 156250 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation ATM-LANE
ARP type: ARPA, ARP Timeout 04:00:00
ATM#
You must manually configure the ATM module to support RFC-1483 logical link control (LLC) encapsulation. By using RFC 1483, you can transport Ethernet frames over permanent virtual connections (PVCs). You can create a PVC for RFC-1483 LLC encapsulation support.
For RFC-1483 LLC encapsulation, you must bind PVCs to the VLAN, and the VLAN ID must match the VLAN used on the switch. Each ATM trunk supports a maximum of
64 active VLANs at one time. You can logically group users on Ethernet and ATM networks by mapping VLANs on the Ethernet network to PVCs on the ATM network.
If you create an RFC-1483 PVC, you cannot create a LEC on the ATM module. If you want to create an RFC-1483 PVC after a LEC is configured, you must first remove all existing LECs. Use the CLI command no lane client ethernet to remove LECs. After you create a PVC, you must bind it to the VLAN. For more information on binding the PVC, refer to the following section, "Configuration Example for RFC-1483 PVC ." A detailed example with a Cisco router and an LS1010 ATM switch is discussed in the "Configuration Examples" appendix.
The following example shows how to manually configure the ATM module to support
an RFC-1483 PVC:
Step 1 Enter the privileged EXEC mode by entering the enable command:
atm> enable
atm#
Step 2 Enter global configuration mode by entering the configure terminal command:
atm# config terminal
atm(config-if)#
Step 3 Enter interface configuration mode by entering the int atm1 command:
atm(config-if)# int atm1
Step 4 Create PVCs for RFC 1483 by entering the atm pvc command:
atm(config-if)# atm pvc 100 1 100 aal15snap 20000 20000 32 atm(config-if)# atm pvc 101 1 101 aal15snap atm(config-if)# atm pvc 200 1 200 aal15snap
Step 5 Change the subinterface from atm1.1 to atm1.2 by entering the int atm1.2 multipoint command:
atm(config-if)# int atm1.2 multipoint
atm(config-subif)#
Step 6 Bind the VLAN to PVCs by entering the atm bind command:
atm(config-subif)# atm bind pvc vlan 100 1
atm(config-subif)# atm bind pvc vlan 101 1
Step 7 Change subinterface from atm1.1 to atm1.2 by entering the int atm1.2 multipoint command:
atm(config-subif)# int atm 1.2 multipoint
Step 8 Bind the VLAN to PVCs by entering the atm bind command:
atm(config-subif)# atm bind pvc vlan 200 2
Step 9 Exit the configuration mode by pressing Ctrl-Z:
ATM(config-if)# ^Z ATM#
For a detailed configuration example, refer to the "Configuration Examples" appendix.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Mar 20 15:36:09 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.