|
|
This chapter provides procedures for configuring the ATM module as a trunk or nontrunk 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 2820 Series and Catalyst 1900 Series Enterprise Edition Software Configuration Guide. For detailed information about commands used in this chapter, see the "Command Reference" appendix.
Using the Catalyst 2820 menus, you can enter Cisco IOS commands to configure the LANE client software on the ATM module.
To access the CLI from the Catalyst 2820 management console, do the following:
Step 1 Select [P] Port Configuration from the Catalyst 2820 Main Menu.
The following display appears for a nontrunk ATM module:
Catalyst 2820 - Port B Configuration (Right Slot)
Module Name: ATM 155 MM Fiber, Version 01
Description: Multimode Fiber ATM Network Status: Operational
802.1d STP State: Forwarding Forward Transitions: 9
--------------------Settings------------------
[D] Description/name of port
------------------Module Settings-------------
[M] Module status Enabled
[I] Port priority (spanning tree) 128 (80 hex)
[C] Path cost (spanning tree) 10
[H] Port fast mode (spanning tree) Enabled
--------------------Actions-------------------
[R] Reset module [F] Reset module with factory defaults
------------------Related Menus---------------
[K] Command Line Interface [L] ATM and LANE status
[A] Port addressing [V] View port statistics
[N] Next port [G] Goto port
[P] Previous port [X] Exit to Main Menu
Enter Selection:
The following display appears for an ATM trunk module:
Catalyst 2820 - Port B Configuration (Right Slot)
Module Name: ATM 155 MM Fiber, Version 03
Description: Multimode Fiber ATM Network Status: Operational
----------------------- Setting ----------------------------------------
[D] Description/name of port
[S] Status of trunk Enabled
----------------------- Module Settings --------------------------------
[I] Port priority (spanning tree) - option 1 128 (80 hex)
[J] Port priority (spanning tree) - option 2 128 (80 hex)
[C] Path cost (spanning tree) 10
----------------------- Actions ----------------------------------------
[E] Show VLAN port priorities [Z] Show VLAN States
[M] Assign VLANs to option 1 port priority
[O] Assign VLANs to option 2 port priority
[R] Reset module [F] Reset module with factory defaults
----------------------- Related Menus ----------------------------------
[K] Command Line Interface [L] ATM and LANE status
[A] Port addressing [V] View port statistics
[N] Next port [G] Goto port
[P] Previous port [X] Exit to Main Menu
Enter Selection:
Step 2 Select [K] Command Line Interface from the Port Configuration Menu. The CLI screen shown in Figure 3-3 is displayed.
CLI session with ATM module is open. To end the CLI session, enter [CTRL-G]. ATM>
This section explains how to configure the Catalyst 2820 ATM module LEC from the CLI at the Catalyst 2820 management console. The ATM module does not forward any frames from the switch until you define LANE clients. Once you define a LANE client with an ELAN mapped to a VLAN, you must manually configure the ATM module with the VLAN information. The ATM module then forwards the traffic to the appropriate ELAN.
Before you configure the LEC, ensure that the LANE server is configured. Refer to the "LANE Configuration Requirements." section in the "Installing the ATM Module" chapter.
Configuring the LEC specifies the emulated LAN 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 | Enters global configuration mode. | |
| interface | type_number.subif | Enter interface 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 example configuration procedure 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:
Step 2 Enter global configuration mode by entering the configure terminal command:
Step 3 Enter interface configuration mode by entering the interface type_number.subif command:
Step 4 Configure the LEC by entering the lane client ethernet vlan_number elan_name command:
Step 5 Exit interface configuration mode and return to EXEC mode by pressing Ctrl-Z:
Step 6 (Optional) From EXEC mode, save the configuration to nonvolatile random-access memory (NVRAM) by entering the write memory command:
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.
The ATM module is ready to transmit and receive data between your LAN and the ATM network.
Once 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 LANE client.
You can verify the ATM and LANE status by using the show lane command or the ATM and LANE Status screen.
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>
You can use the ATM and LANE Status screen of the Catalyst 2820 management console to verify the operational status of the ATM and LANE connections.
To verify ATM and LANE status from the ATM and LANE status screen, follow these steps:
Step 1 Select [P] Port Configuration from the Catalyst 2820 Main Menu.
The Port Configuration menu is displayed.
Step 2 Select [L] ATM and LANE status from the Port Configuration menu.
The ATM and LANE Status screen shown in Figure 3-4 is displayed.
Catalyst 2820 - Port B (Right Slot)
ATM and LANE Status
------------------ Module Status ------------------
Up time 0d00h02m46s
Firmware version v11.3(1)
MAC address of the module 00-C0-1D-FC-A2-FC
ATM physical link status Operational
ATM traffic mode LAN emulation
----------------------- Actions ----------------------------------------
[L] List configured LANE clients
[X] Exit to previous menu
Enter Selection:
Step 3 Select [L] List configured LANE clients to list the configured LANE clients.
The following display appears:
Step 4 Select [X] Exit to previous menu to return to the Catalyst 2820 Port Configuration Menu.
You can verify the ATM port statistics by using the show interface command or the View Port Statistics screen.
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:
Step 2 Enter the show interface EXEC command:
ATM1 is up, line protocol is up
Hardware is Catalyst 2800 ATM
Internet address is 172.20.128.105
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 2800 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#
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.
To view the port statistics on the View Port Statistics display, follow these steps:
Step 1 Select [P] Port Configuration from the Catalyst 2820 Main Menu.
The Port Configuration menu is displayed.
Step 2 Select [V] View port statistics from the Port Configuration menu.
The port statistics (see Figure 3-5) are displayed.
Catalyst 2820 - Port B (Right Slot)
Receive Statistics Transmit Statistics
------------------------------------- -------------------------------------
Good AAL5 frames 0 Good AAL5 frames 1
Good ATM cells 0 Good ATM cells 3
Broadcast/multicast frames 0 Broadcast/multicast frames 0
Good frames forwarded 0 Queue full discards 0
Frames filtered 0
Runt frames 0
No buffer discards 0
Other discards 0
Errors:
CRC errors 0
Cell HEC errors 0
Giant frames 0
Address violations 0
Select [A] Port addressing, [C] Configure port,
[N] Next port, [P] Previous port, [G] Goto port,
[R] Reset port statistics, or [X] Exit to Main Menu:
Step 3 Select [X] Exit to Main Menu to return to the Catalyst 2820 Main Menu.
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.
You cannot create both LECs and RFC-1483 PVCs on an ATM module. If you want to create a LEC after an RFC-1483 PVC has been configured, you must first remove all PVCs. Use the CLI command no pvc vcd to remove all RFC-1483 PVCs. Then use the CLI command lane client ethernet to create a LEC.
If you create a RFC-1483 PVC, you cannot create a LEC on the ATM module. If you want to create a RFC-1483 PVC after a LEC has been 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 "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
RFC-1483 PVC:
Step 1 Enter the enable privileged EXEC mode:
Step 2 Enter global configuration mode by entering the configure terminal command:
Step 3 Enter interface configuration mode by entering the int atm0 command:
Step 4 Create PVCs for RFC 1483 by entering the atm pvc command:
Step 5 Change the subinterface from atm0.0 to atm0.1 by entering the int atm0.1 command:
Step 6 Bind the VLAN to PVCs by entering the atm bind command:
Step 7 Change subinterface from atm0.1 to atm0.2 by entering the int atm0.2 command:
Step 8 Bind the VLAN to PVCs by entering the atm bind command:
Step 9 Exit the configuration mode by entering the end command:
For a detailed configuration example, refer to "Configuration Examples" appendix.
|
|