cc/td/doc/product/atm/ls1010s/wa4/12_0_4
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the ASP

Configuring the ASP

This chapter discusses the initial configuration of the LightStream 1010 ATM switch processor (ASP) and includes the following sections:

The LightStream 1010 ATM switch defaults to a working configuration suitable for most networks. However, you might need to customize the configuration for your network.

Although some software configuration examples are provided, this chapter does not provide complete software configuration information. Refer to the LightStream 1010 ATM Switch Software Configuration Guide for complete software configuration information and the LightStream 1010 ATM Switch Command Reference publication for command syntax.

Before You Begin

Complete all the interface and power connections described in the LightStream 1010 ATM Switch Hardware Installation Guide and the port adapter module (PAM) connections described in the LightStream 1010 ATM Switch PAM Installation Guide before you begin to configure the switch.

You can configure the LightStream 1010 ATM switch from a direct console connection to the console port or remotely through the Ethernet interface on the ASP.

If you are using a direct console connection, configure your terminal emulation program for 9600 baud, 8 data bits, no parity, and 1 stop bit.

If you are using the Ethernet interface, you need to assign an IP address to the Ethernet interface. The Ethernet interface allows multiple simultaneous Telnet sessions or Simple Network Management Protocol (SNMP) network management for the switch. Ethernet interface configuration instructions are described later in this chapter in the section "Configuring the Ethernet Interface."

Powering On the System

Before you power on the system, make sure you have:

All configuration tasks are performed from your terminal emulation program window.

Power on your console and LightStream 1010 ATM switch. Messages similar to the following appear in your terminal emulation program window:


Note The messages vary, depending on the Cisco IOS release and feature set you selected. The screen displays in this section are for reference only and might not exactly reflect the messages on your console.
              Restricted Rights Legend
 
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
 
           Cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706
 
Cisco Internetwork Operating System Software
IOS (tm) LS1010 WAX-X Software (LS1010-WP-M), Version 11.3(X)TWAX(X)
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Mon 22-Dec-97 02:43 by
Image text-base: 0x600108C0, data-base: 0x602E8000
 
cisco ASP1 (R4600) processor with 16384K bytes of memory.
R4600 processor, Implementation 32, Revision 2.0
Last reset from power-on
1 Ethernet/IEEE 802.3 interface.
16 ATM network interfaces.
125K bytes of non-volatile configuration memory.
 
8192K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
8192K bytes of Flash internal SIMM (Sector size 256K).
 
Press RETURN to get started!
 
Switch>
 

Enter the show hardware command to verify the installed hardware part and serial numbers:

Switch# show hardware
 
LS1010 named Switch, Date: 15:28:50 UTC Thu Dec 19 1996
Feature Card's FPGA Download Version: 8
 
Slot Ctrlr-Type    Part No.  Rev  Ser No  Mfg Date   RMA No. Hw Vrs  Tst EEP
---- ------------  ---------- -- -------- --------- -------- ------- --- -
3/0  155MM PAM     73-1496-03 A0 03518499 Apr 17 96 00-00-00   3.1     0   2
3/1  155MM PAM     73-1496-03 A0 02831932 Jul 12 96 00-00-00   3.1     0   2
4/0  155MM PAM     73-1496-03 00 03115086 Oct 31 96 00-00-00   3.1     0   2
4/1  155MM PAM     73-1496-03 A0 05406523 Mar 26 97 00-00-00   3.1     0   2
2/0  ATM Swi/Proc 73-1402-06 A0 03201406 Jun 06 97 00-00-00   4.1     0   2
2/1 FC-PFQ 73-2281-04 01 05434424 Jul 17 97 00-00-00   4.1     0   2
 
DS1201 Backplane EEPROM:
Model  Ver.  Serial  MAC-Address  MAC-Size  RMA  RMA-Number   MFG-Date
------ ---- -------- ------------ --------  ---  ----------  -----------
LS1010  2   68000003 00400B0A1080   256      0        0      Jan 19 1996
 
Switch#
 

The LightStream 1010 ATM switch should now be operating correctly and transferring data. To confirm that the hardware and software installation and configuration procedures were successful, refer to the next chapter "Checking the ASP Installation."

Configuring the Ethernet Interface

You can remotely configure the LightStream 1010 ATM switch through the Ethernet interface, but first you must configure an IP address on the Ethernet interface so that it is reachable. There are two ways to configure the Ethernet interface: manually from the command-line interface (CLI) or automatically from a BOOTP server.

Manual Configuration

Before you begin to manually configure the Ethernet interface, obtain the IP address and subnet mask.

Take these steps:
Step Command Description
1

Switch> enable

Switch#

Enter privileged EXEC mode.

2

Switch# configure terminal

Switch(config)#

Enter global configuration mode.

3

Switch(config)# interface eth 2/0/0

Enter interface configuration mode on Ethernet interface 2/0/0 (the Ethernet port on the ASP).

4

Switch(config)# ip address ipaddress subnetmask

Enter the IP address and subnet mask for the Ethernet interface.

5

Switch(config)# line vty 0 4

Enter line configuration mode for virtual terminal connections. Commands entered in this mode control the operation of telnet sessions to the LightStream 1010 ATM switch.

6

Switch(config-line)# password password

Enter a password for telnet sessions.

7

Switch(config-line)# end

Switch#

Return to EXEC mode.

BOOTP Server Configuration

You can set up the LightStream 1010 ATM switch to retrieve its Ethernet IP address from a BOOTP server. Add the MAC and Ethernet IP addresses to the BOOTP configuration file on the BOOTP server. This configuration allows the LightStream 1010 ATM switch to use the BOOTP protocol to retrieve an Ethernet IP address from the BOOTP server.

The switch performs a BOOTP request only if the current IP address is set to 0.0.0.0 on the switch. (This setting is the default for a new switch or a switch without a configuration file.)

Take these steps:
Step Command Description
1

-

Install the BOOTP server code on the workstation (BOOTP server) if it is not already installed.

2

-

Locate the switch MAC address on the label attached to the front of the switch.

3

-

Add an entry to the BOOTP configuration file (usually /usr/etc/bootptab) for each switch. Press Return after each entry to create a blank line between each entry. See the following Example BOOTP Configuration File.

4

Switch> enable

Password:

Switch#

Enter privileged EXEC mode.

5

Switch# reload

Reload the LightStream 1010 ATM switch to request the IP address from the BOOTP server.

Example BOOTP Configuration File
 
# /etc/bootptab: database for bootp server (/etc/bootpd)
#
# Blank lines and lines beginning with '#' are ignored.
#
# Legend:
#
#       first field -- hostname
#                       (may be full domain name and probably should be)
#
#       hd -- home directory
#       bf -- bootfile
#       cs -- cookie servers
#       ds -- domain name servers
#       gw -- gateways
#       ha -- hardware address
#       ht -- hardware type
#       im -- impress servers
#       ip -- host IP address
#       lg -- log servers
#       lp -- LPR servers
#       ns -- IEN-116 name servers
#       rl -- resource location protocol servers
#       sm -- subnet mask
#       tc -- template host (points to similar host entry)
#       to -- time offset (seconds)
#       ts -- time servers
 
#
# Be careful about including backslashes where they're needed. Weird (bad)
# things can happen when a backslash is omitted where one is intended.
#
 
# First, we define a global entry which specifies the stuff every host uses.
 
<Additional display messages omitted.>
 
#########################################################################
# Start of individual host entries
#########################################################################
switch:         tc=netcisco0:   ha=0000.0ca7.ce00:      ip=192.31.7.97:
dross:          tc=netcisco0:   ha=00000c000139:        ip=192.31.7.26:
 
<Additional display messages omitted.>

Configuring the System Information

Several system parameters should be set as part of the initial system configuration. These system parameters make troubleshooting and configuring the switch easier.

Take these steps:
Step Command Description
1

Switch> enable

Switch#

Enter privileged EXEC mode.

2

Switch# clock set hh:mm:ss

Set the current time in military format, where hh:mm:ss is the time in hours, minutes, and seconds.

3

Switch# configure terminal

Switch(config)#

Enter global configuration mode.

4

Switch(config)# hostname name_string

Enter a system name.

5

Switch(config)# enable password password

Enter an enable password to restrict configuration changes. Give this password to users permitted to make configuration changes to the LightStream 1010 ATM switch.

6

Switch(config)# end

Switch#

Return to EXEC mode.

Configuring the ATM Interfaces

When you power on the switch for the first time, the ATM interfaces are automatically configured on the physical ports. Private Network-Network Interface (PNNI) and the physical card type are used to automatically derive the ATM interface type, User-Network Interface (UNI) version, maximum virtual path identifier (VPI) and virtual channel identifier (VCI) bits, ATM interface side, and ATM UNI type. Refer to the
LightStream 1010 ATM Switch Software Configuration Guide for more information.

Configuring Flash Memory Cards

You can copy, delete, and configure files between the onboard Flash memory Single In-Line Memory Module (SIMM), Flash memory cards, and network servers.

The subsections that follow contain information about the memory file system commands:

Viewing the Contents of Flash Memory

This section describes some of the commands you can use with the onboard Flash memory SIMM (bootflash) and Flash memory cards.

Enter the pwd privileged EXEC command to determine which file system device you are accessing:

Switch# pwd
bootflash
 

Enter the cd [bootflash: | slot0: | slot1:] privileged EXEC command to move between Flash memory media:

Switch# cd slot0:
Switch# pwd
slot0
Switch#
 

Enter the dir [bootflash: | slot0: | slot1:] privileged EXEC command to list the directory of any Flash memory media:

Switch# dir
-#- -length- -----date/time------ name
1   5393     May 03 1996 15:32:57 startup-config
2   1814648  Jul 15 1996 10:29:34 ls1010-wp-mz.111-3.005
31819888  Aug 20 1996 15:22:21 ls1010-wp-mz.111-3.018
 
2428436 bytes available (5566956 bytes used)
Switch#

Deleting Files from Flash Memory

Enter the delete privileged EXEC command to mark a file for deletion from any Flash memory media:

Switch# delete ls1010-wp-mz.111-3.005
Switch# dir
-#- -length- -----date/time------ name
1   5393     May 03 1996 15:32:57 startup-config
31819888  Aug 20 1996 15:22:21 ls1010-wp-mz.111-3.018
 
2428436 bytes available (5566956 bytes used)
Switch#
 
Caution
When deleting files from memory, do not delete all images. If you delete all existing images, you can no longer download any new images.

To verify that the delete command was successful, enter the dir command.


Note Deleted files are marked for deletion, but still occupy space in Flash memory. To remove them, enter the squeeze privileged EXEC command.

The squeeze privileged EXEC command permanently removes files marked for deletion, and pushes all other undeleted files together to eliminate spaces between them:

Switch# squeeze slot0:
All deleted files will be removed, proceed? [confirm]y
Squeeze operation may take a while, proceed? [confirm]yebESESESESESESESESESESESE
SESESZ
Switch# dir
-#- -length- -----date/time------ name
1   5393     May 03 1996 15:32:57 startup-config
2   1819888  Aug 20 1996 15:22:21 ls1010-wp-mz.111-3.018
 
6169852 bytes available (1825540 bytes used)
Switch#
 

In this output, the characters indicate the following:

To prevent data loss due to sudden power loss, the "squeezed" data is temporarily saved to another location of Flash memory specifically allocated for that purpose.

The squeeze command operation keeps a log of the functions performed so that if a power failure occurs, the system continues the process when the power resumes. The character "Z" means this log was erased after the successful squeeze command operation.

Formatting a Flash Memory Card

A Flash memory card shipped as part of a LightStream 1010 ATM switch contains a system image. A Flash memory card ordered as a spare part is blank and must be formatted before use. This section describes how to format a Flash memory card.

Take these steps:

Step 1 Enter the copy flash tftp EXEC command to copy any important files on the Flash memory card to a TFTP server before reformatting the card. The formatting procedure erases all information on the Flash memory card.

Step 2 Insert the Flash memory card into slot 0. (If slot 0 is not available, use slot 1.) Refer to the section "Installing and Removing Flash Memory Cards" in the chapter "Installing the ASP" for more information.

Step 3 Enter the format slot0: (or format slot1:) privileged EXEC command:

    Switch# format slot0:
    All sectors will be erased, proceed? [confirm]
    Enter volume id (up to 30 characters): MyNewCard
    Formatting sector 1
    Format device slot0 completed
    Switch#
    

The new Flash memory card is now formatted and ready to use.

Copying Bootable Images

As future releases of Cisco IOS system images become available, you can receive them either as a file booted from a network server, a file on a floppy disk, or a file on a Flash memory card.

The example that follows describes how to use a new image on a Flash memory card in slot 1 in a system that has an old image on a Flash memory card in slot 0, and a default boot image on the onboard Flash memory SIMM.

In the example, there are three files:

You can copy the new image from the new Flash memory card in slot 1 onto the Flash memory card in slot 0 that contains the old image.

The example that follows assumes that the new image fits on the Flash memory card in slot 0, beside the old image. If there is not enough space, use the delete command to mark the files for deletion from the Flash memory card until there is enough room for the new image; however, do not delete the image.old file. Then enter the squeeze command to remove the files marked for deletion from the Flash memory card. If, after you delete the files and use the squeeze command, the two files cannot coexist on the Flash memory card in slot 0, remove the card, then insert the new Flash memory card (with the file image.new) in slot 0. Enter the boot system flash slot0:image.new command to designate the file image.new as the default boot image.

Make sure both Flash memory cards are installed in slots 0 and 1, and power on the switch. To copy bootable images, take these steps:

Step Command Description
1

Switch> enable

Password:

Switch#

Enter privileged EXEC mode.

2

Switch# copy slot1:image.new slot0:image.new

Copy the file image.new in slot 1 to the Flash memory card in slot 0 only if there is enough memory space for the two images to coexist.

3

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#

Enter global configuration mode.

4

Switch(config)# no boot system

Disable booting from bootflash.

5

Switch(config)# boot system flash slot0:image.new

Switch(config)# Ctrl-z

Switch#

Enable booting from the file image.new on the Flash memory card in slot 0.

6

Switch# copy running-config startup-config

Save the configuration to NVRAM.

7

Switch# reload

Reboot the system. When the system reloads, it boots the file image.new from the Flash memory card in slot 0.

Enabling Booting from a Flash Memory Card

Take these steps:
Step Command Description
1

Switch> enable

Password:

Switch#

Enter privileged EXEC mode.

2

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#

Enter global configuration mode.

3

Switch(config)# boot system flash slot0:image.new

Enable booting from the file image.new on the Flash memory card in slot 0.

4

Switch(config)# config-reg 0x2102

Disable Break.

5

Switch(config)# exit

Return to privileged EXEC mode.

6

Switch# copy running-config startup-config

Save the configuration to NVRAM.

7

Switch# reload

Reboot the system. When the system reloads, it boots the file image.new from the Flash memory card in slot 0.

When you enter boot commands, be careful not to insert extra spaces, which influence the way the switch interprets the command. For example, notice the difference in the following commands:

Switch(config)# boot system flash slot0:myfile (correct command)
Switch(config)# boot system flash slot0: myfile (incorrect command)
 

In the first case, the switch boots the file specified (myfile). In the second case, the switch finds the filename field blank and boots the first file on the Flash memory card.

Copying a System Image to a TFTP Server for Backup

Take these steps:
Step Command Description
1

Switch> enable

Password:

Switch#

Enter privileged EXEC mode.

2

Switch# cd slot 0:

Change directories to slot 0.

3

Switch# pwd

slot0

Verify that you are in the slot 0 directory.

4

Switch# dir

-#- -length- -----date/time------ name

1 1617864 Nov 01 1996 17:01:27 ls1010-wi-mz_111-1

Display the contents of Flash memory. Note the name of the file you want to copy. In this example, the system image is ls1010-wi-mz_111-1.

5

Switch# copy flash tftp

Copy a file from Flash memory to a TFTP server.

6

Enter source filename: ls1010-wi-mz_111-1

Enter the name of the system image. In this example, the system image is ls1010-wi-mz_111-1.

7

Enter destination filename [ls1010-wi-m_1.083.bin.Z]:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCC

Enter the destination filename. You can accept the default filename in square brackets or enter a new filename.

The series of Cs indicates that a checksum verification of the image is occurring after the image has been written to Flash memory.

8

Address or name of remote host [172.69.1.129]?

!

Switch#

Enter the name or address of the remote host. You can accept the default address in square brackets or enter a new address.

Copying a System Image to Flash Memory from a TFTP Server

If the software image on your switch was updated or corrupted, you might want to replace the LightStream 1010 ATM switch system software by copying the image from a TFTP server to the onboard Flash memory.

Take these steps:
Step Command Description
1

Switch> enable

Password:

Switch#

Enter privileged EXEC mode.

2

Switch# cd slot0:

Change directories to slot 0.

3

Switch# pwd

slot0

Verify that you are in the slot 0 directory.

4

Switch# copy tftp flash

Copy a file from a TFTP server to Flash memory.

5

Enter source filename: ls1010-wi-mz_111-1

Enter the name of the system image. In this example, the system image is ls1010-wi-mz_111-1.

6

Enter destination filename [ls1010-wi-m_1.083.bin.Z]:

Enter the destination filename. You can accept the default filename in square brackets or enter a new filename.

7

5746016 bytes available on device slot0, proceed? [confirm] y

Enter y if enough space exists in Flash memory for the file you want to copy.

8

Address or name of remote host [172.69.1.129]?

!Accessing file "ls1010-wi-m_1.083.bin.Z" on dirt.cisco.com ...FOUND

Loading ls1010-wi-m_1.083.bin.Z from 171.69.1.129 (via Ethernet2/0/0): !!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Enter the name or address of the remote host. You can accept the default address in square brackets or enter a new address.

Verifying the System Code Version

When you restart the system, the system loads the system image from Flash memory. You can enter the show version privileged EXEC command to display the current system image version:

Switch# show version
Cisco Internetwork Operating System Software
IOS (tm) IISP Software (LS1010-WI-M), Version XX.X(X), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-199X by cisco Systems, Inc.
Compiled Tue 14-May-96 14:49 by integ
Image text-base: 0x600108B0, data-base: 0x602DE000
 
ROM: System Bootstrap, Version 201(1025), SOFTWARE
 
ls1010_c5500 uptime is 5 days, 23 hours, 28 minutes
System restarted by power-on
System image file is "bootflash:ls1010-wi-mz_111-1", booted via bootflash
 
cisco ASP (R4600) processor with 16384K bytes of memory.
R4600 processor, Implementation 32, Revision 2.0
Last reset from power-on
1 Ethernet/IEEE 802.3 interface.
20 ATM network interfaces.
125K bytes of non-volatile configuration memory.
 
8192K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102
 
Switch#

Recovering from Locked Memory Blocks

A locked block of Flash memory occurs when power is lost or a Flash memory card is unplugged during a write or erase operation. When a block of Flash memory locks, it cannot be written to, erased, or copied from and the operation consistently fails at a particular block location. You can recover from locked blocks by reformatting the Flash memory card with the format command.

Caution
Formatting a Flash memory card to recover from locked blocks causes you to lose existing data.

Note For complete command descriptions and configuration information, refer to the LightStream 1010 ATM Switch Command Reference publication and the LightStream 1010 ATM Switch Software Configuration Guide.

Saving the Configuration

When you have completed autoconfiguration and any manual configurations, copy the configuration into nonvolatile random-access memory (NVRAM). If you power off the LightStream 1010 ATM switch before saving the configuration to NVRAM, all manual configuration changes are lost. Enter the copy running-config startup-config privileged EXEC command to save the configuration to NVRAM:

Switch> enable
Switch# copy running-config startup-config
Building configuration...
%SYS-5-CONFIG_I: Configured from console by console
[OK]
Switch#

hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Jun 22 13:19:43 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.