cc/td/doc/product/l3sw/8540/rel_12_0/wx5_11a
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the Catalyst 8510 CSR Switch Route Processor

Configuring the Catalyst 8510 CSR Switch Route Processor

This chapter describes how to configure the Catalyst 8510 CSR switch route processor (SRP) so it can be accessed by other devices. This chapter also describes how you can use Flash PC Cards to copy system images and make standard system configurations. Flash PC Cards are not required for the operation of the Catalyst 8510 CSR. This chapter includes the following sections:


Note You are at step 2 in the suggested process for configuring your switch router (see Table 2-1). You should have already set up the hardware and are ready to proceed with configuring the route processor.

About the Switch Route Processor

The SRP (Figure 4-1) provides intelligence to the Catalyst 8510 CSR, interfacing with the switch fabric through the backplane. The SRP runs elements of Cisco IOS software for high-speed Layer 3 switching, including the Cisco Express Forwarding table, routing protocol control, and dynamic IP multicast. The SRP also supports Simple Network Management Protocol (SNMP) and many Management Information Bases (MIBs).


Figure 4-1: The Switch Route Processor on the Catalyst 8510 CSR

The SRP resides in slot 2 (the third slot from the top) and has a 100-MHz MIPS R5000 processing subsystem. It also has a dual-height Flash memory Type II slot, which you can use for Flash EPROM modules, for adding up to 20 MB of extra memory and supporting larger Cisco IOS images.

Starting Up the Router

The following is a review of tasks you should have completed during hardware installation, including starting up the router. These tasks must be completed before configuring the SRP.

Step 1 Check that the router is set for the correct AC (or DC) power voltages.

Refer to the Catalyst 8510 CSR Chassis Installation Guide for correct power voltages.

Step 2 Connect the cables to the router.

Step 3 Connect a console terminal to the router.

For instructions, see the Catalyst 8510 Campus Switch Router Interface Module and Processor Installation Guide.

Step 4 Start up the router.

Step 5 To enter CLI configuration mode, answer no when you are prompted to enter the initial dialog:

Would you like to enter the initial dialog? [yes]: no

You see the following user EXEC prompt: Router>

You can begin configuring the SRP.

Using the Console Port or Management Port

You can configure the Catalyst 8510 CSR from a direct console connection to the console port or remotely through its management port.

To configure this interface, see the "Configuring the SRP Management Port (Ethernet0)" section.

About Passwords

You can configure both an enable password and an enable secret password. For maximum security, the enable password should be different from the enable secret password.

The Enable Password

The enable password is a nonencrypted password. It can contain any number of uppercase and lowercase alphanumeric characters. Give the enable password only to users permitted to make configuration changes to the switch router.

The Enable Secret Password

The enable secret password is a secure, encrypted password. By setting an encrypted password, you can prevent unauthorized configuration changes. On systems running Cisco IOS, you must type in the enable secret password before you can access global configuration mode.You must type in the enable secret password to access boot ROM software.

An enable secret password can contain from 1 to 25 uppercase and lowercase alphanumeric characters. The first character cannot be a number. Spaces are valid password characters. Leading spaces are ignored; trailing spaces are recognized.

You will configure passwords in the next section, "Configuring the SRP Management Port (Ethernet0)."

Configuring the SRP Management Port (Ethernet0)

The Ethernet port on the SRP, Ethernet0, is a management port that allows multiple simultaneous Telnet or SNMP network management sessions.

You can remotely configure the Catalyst 8510 CSR through the Ethernet interface on the management port, but first you must configure an IP address on the management port so that the SRP is reachable. There are two ways to configure the management port interface: manually from the command-line interface (CLI) or copying the configuration from the BOOTP server into NVRAM. To configure the management port from the CLI, see Table 4-1.


Note The Ethernet port interface on the SRP does not route or bridge traffic to other Ethernet ports on the Catalyst 8510 CSR. This Ethernet port is a management port only and should not be configured as a routing port.

Note Before you begin to manually configure the management port interface, obtain its IP address and IP subnet mask. Also make sure the console cable is connected to the console port.


Table 4-1: Configuring the Management Port from the CLI
Step Command Description

1

Router> enable

Router#

Enter enable mode the first time by typing enable.

The # prompt indicates you are in enable mode.

2

Router# enable-password password

Set the enable password.

For details, see the preceding section, About Passwords.

3

Router# show hardware

Issue the show hardware command to verify the installed hardware part numbers and serial numbers.

4

Router# configure terminal

Router(config)#

Enter global configuration mode. You can also abbreviate the command to config t.

The prompt Router(config)# indicates that you are in global configuration mode.

5

Router(config)# enable secret password

Enter an enable secret password. Once set, a user must enter the enable secret password to gain access to global configuration mode.

6

Router(config)# interface ethernet0

Enter interface configuration mode on the Ethernet interface Ethernet0--the management port on the SRP.

7

Router(config-if)# ip address ip_address subnetmask

Enter the IP address and IP subnet mask for the management port interface.

8

Router(config-if)# exit

Router(config)#

Return to global configuration mode.

9

Router(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 Catalyst 8510 CSR.

10

Router(config-line)# password password

Enter a password for Telnet sessions.

11

Router(config-line)# Ctrl-Z

Return to privileged EXEC mode.

12

Router# copy running-config startup-config

Copy your configuration changes to NVRAM.

The Catalyst 8510 CSR should now be operating correctly and transferring data. To confirm that the hardware and software installation and configuration procedures were successful, refer to the Catalyst 8510 Campus Switch Router Interface Module and Processor Installation Guide.

Displaying the Operating Configuration

You can view the configuration file from EXEC (enable) mode.

Router# show running-config
Router# show startup-config

If you made changes to the configuration, but did not yet write the changes to NVRAM, the results of the show running-config command will differ from the results of the show startup-config command.

Configuring the Host Name and Clock

In addition to the system passwords and enable password, system parameters such as the host name and current time and date should be set as part of the initial system configuration. These system parameters make it easier to configure and troubleshoot the switch router. To configure the host name and clock, follow the steps in Table 4-2.


Table 4-2: Configuring the Host Name and Clock
Step Command Description
1

Router# clock set hh:mm:ss day month year

From privileged EXEC mode, set the current time and date in 24-hour format. For example, to set the clock for 1:30 p.m. on March 12, 1999, you would enter the following:

clock set 13:30:00 12 March 1999

2

Router# configure terminal

Router(config)#

Enter global configuration mode.

3

Router(config)# hostname name_string

Enter a system name. In this example, we set the hostname to "8510CSR."

4

8510CSR(config)# end

Return to privileged EXEC mode.

5

8510CSR# copy running-config startup-config

Copy your configuration changes to NVRAM.

Using Flash PC Cards

Flash PC Cards store a copy of the software image. TH efollowing sections describe how to format, delete, configure, and copy files between the onboard Flash memory Single In-Line Memory Module (SIMM), Flash PC Cards, and network servers.


Note A Flash PC Card must be ordered as a spare part.

Formatting a Flash PC Card

A Flash PC Card is blank and must be formatted before use. The formatting procedure erases all information on the Flash PC Card.

To format a Flash PC Card, follow these steps:

Step 1 To copy existing files from the Flash PC Card to a TFTP server before reformatting it, enter the copy flash tftp EXEC command.

Step 2 Insert the Flash PC Card into slot 0. (If slot 0 is unavailable, use slot 1.)

For more information, refer to the Catalyst 8510 Campus Switch Router Interface Module and Processor Installation Guide.

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

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

The Flash PC Card is now formatted and ready to use.


Note In this example, an 8-MB Flash PC Card was used. At the line Formatting sector 1, the system counts the card's sectors backward from 64 to 1 as it formats them. For 16-MB Flash PC Cards, the system counts backward from 128 to 1; for 20-MB Flash PC Cards, the system counts backward from 160 to 1.

Copying the Startup Configuration File to a Flash PC Card

Table 4-3 describes how to copy the startup configuration file from the Flash memory SIMM to a Flash PC Card once the Flash PC Card is formatted and ready to use.


Table 4-3: Copying the Startup Configuration to a Flash PC Card
Step Command Description
1

8510CSR# copy startup-config slot0:

From privileged EXEC mode, copy the file startup-config to the Flash PC Card in slot 0.

2

Destination filename [startup-config]?

2386 bytes copied in 0.268 secs

You can either change the filename or press Enter to accept the default filename, startup-config.

The command also reports the number of bytes copied.

3

8510CSR#

You can enter more commands or exit.

Copying an Image from One PC Card to Another

On platforms with multiple Flash memory file systems, you can copy files from one Flash memory file system, such as internal Flash memory or a Flash PC Card, to another Flash memory file system. Copying files to different Flash memory file systems lets you create backup copies of working configurations, and duplicate configurations for other routers.

The following example describes how to copy a new image from a Flash PC Card in slot 1 to a Flash PC Card in slot 0 that already contains an old image. This system also has a default boot image in the onboard Flash memory. Before you start, insert the Flash PC Cards in both slot 0 and slot 1.

Tips
that the new image fits on the Flash PC Card in slot 0 along with the old image.

To copy the new image from the new Flash PC Card in slot 1 onto the Flash PC Card in slot 0 that contains the old image, enter this command from privileged EXEC mode:

8510CSR# copy slot1:image.new slot0:image.new

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 PC Cards.

Checking Which File System You Are In

To discover which file system device you are accessing, use the pwd command.

8510CSR# pwd
bootflash

Moving Between Flash Memory Media

To move between Flash memory media, use the cd [bootflash: | slot0: | slot1:] command.

8510CSR# cd slot0:
8510CSR# pwd
slot0
8510CSR#

Listing the Flash Memory Directory Contents

To list the directory contents of any Flash memory media, use the dir [bootflash: | slot0: | slot1:] command.

8510CSR# dir
Directory of slot0:/
 
1 -rw-	3509000	Jan 25 1999 19:46:25  cat8510c-in-mz.120-1.W5.6a.bin
3 -rw- 	3509004	Feb 5 1999 19:46:25  cat8510c-in-mz.120-1a.W5.6b.bin
4 -rw-	2386	Feb 19 1999 17:25:36  startup-config
 
 
16384000 bytes total (9360836 bytes free)
8510CSR# 

Deleting Files from Flash Memory

When you delete a file from Flash memory, the system marks the file as deleted, allowing you to later recover a deleted file using the undelete command. Erased files cannot be recovered. To permanently erase the configuration file, use the squeeze command.

The Squeeze command permanently removes files marked for deletion, and pushes all the other undeleted files together to eliminate spaces between them. To prevent data loss due to sudden power loss, the "squeezed" data is temporarily saved to another location in Flash memory. The squeeze command keeps a log of the functions performed so that if a power failure occurs, the system continues the process when the power resumes.

Caution When deleting files from memory, be careful not to delete all the system images. If you delete all existing system images, you can no longer download new images.

The following is an example of using the delete and squeeze commands together. Note that the delete command requires you to specify the filename, while the squeeze command requires that you specify the Flash memory media (for example, slot0:).

8510CSR# delete cat8510c-in-mz.120-1.W5.6a.bin
8510CSR# dir
Directory of slot0:/
 
4 -rw-        2386	Feb 19 1999 17:25:36  startup-config
 
16384000 bytes total (9360836 bytes free)
8510CSR# 

The image file is marked for deletion. Use the squeeze command to complete the operation.

8510CSR# squeeze slot0:
All deleted files will be removed, proceed? [confirm] y
Squeeze operation may take a while, proceed? [confirm] Y
ebESESESESESESESES
8510CSR#dir
4 -rw-        2386	Feb 19 1999 17:25:36  startup-config
 
12869836 bytes available (1825540 bytes used)
 

Table 4-4 lists and describes the output that could be generated from a squeeze command.


Table 4-4: Interpreting the Output from the Squeeze Command
Output Letter Description

e

This special location has been erased (which must be performed before any write operation).

b

The data about to be written to this special location was temporarily copied.

E

The sector temporarily occupied by the data was erased.

S

The data was written to its permanent location in Flash memory.

Z

This log was erased after the squeeze command was successfully completed.

Booting from a Flash PC Card

Future releases of Cisco IOS system images can be obtained from a network server, a floppy disk, or a Flash PC Card. This section describes how to configure the switch router so that it boots from an image on a Flash PC Card. To enable booting from a Flash PC Card, use the commands in Table 4-5.


Table 4-5: Booting from a Flash PC Card
Step Command Description

1 . 

8510CSR# configure terminal

8510CSR(config)#

Enter global configuration mode.

2 . 

8510CSR(config)# no boot system

Disable booting from bootflash.

3 . 

8510CSR(config)# boot system flash slot0:<image_name>

From global configuration mode, enable booting from the image name file on the Flash PC Card in slot 0.

4 . 

8510CSR(config)# config-reg 0x2102

Disable the Break key.

5 . 

8510CSR# copy running-config startup-config

Save the configuration to NVRAM.

6 . 

8510CSR# reload

Reboot the system. When the system reloads, it boots the image file from the Flash PC Card in slot 0.

When you enter boot commands, be careful not to insert extra spaces because they influence the way the switch router interprets the command.

The following command correctly instructs the switch router to boot the image1 file.

8510CSR(config)# boot system flash slot0:image1
 

The following command incorrectly contains a space between "slot0:" and "image2." The switch router finds the filename field blank and so boots the first file on the Flash PC Card.

8510CSR(config)# boot system flash slot0: image2

Backing Up a System Image to a TFTP Server

To create a backup copy of your system image, or to verify that the copy in Flash memory is the same as the original file on disk, you can copy system images from Flash memory to a Trivial File Transfer Protocol (TFTP) server.

In some implementations of TFTP, you must create a dummy file on the TFTP server and give it read, write, and execute permissions before copying the file over it. Refer to your TFTP documentation for more information.

Tips Before you copy software between the network server and Flash memory in the router, do the following:

To create a backup of the system software on a TFTP server, use the commands in Table 4-6.


Table 4-6: Backing Up the System Software Image to a TFTP Server
Step Command Description

1 . 

8510CSR# cd slot0:

From privileged EXEC mode, change the Flash device to slot 0 on the Flash PC Card.

2 . 

8510CSR# show flash all

The show flash all command displays the contents of Flash memory, including the names of the images that currently reside there.

Note the name of the image file you want to copy.

3 . 

8510CSR# copy flash tftp:

Copy a file from Flash memory to a TFTP server. Be sure to include a colon at the end of the tftp parameter as shown in this example.

4 . 

Source filename [cat8510c-in-mz.120-1.W5.6b.bin]

Enter the name of the system image.

5 . 

Address or name of remote host []?

[172.68.16.129]?

Enter the domain name or IP address of the TFTP server. You can accept the default address in square brackets or enter a new address.

6 . 

Destination filename

[cat8510c-in-mz.120-1.W5.6b.bin]?

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

Copying a System Image from a TFTP Server to a Flash PC Card

It is a good idea to have a copy of the current system image on a Flash PC Card in case the file in Flash memory becomes corrupted. You can then replace the system software by copying the image from the Flash PC Card to the onboard Flash memory. Follow the steps in Table 4-7 to copy the system image from a TFTP server to a Flash PC Card.


Table 4-7: Copying the System Image from a TFTP Server to a Flash PC Card
Step Task/Command Description

1 . 

Insert a properly formatted Flash PC Card into slot 0.

2 . 

8510CSR# cd slot0:

From privileged EXEC mode, change the Flash device to slot 0 on the Flash PC Card.

3 . 

8510)# pwd

slot0

Verify that you are in the slot 0 directory.

4 . 

8510CSR# copy tftp flash

Copy a file from a TFTP server to Flash memory.

5 . 

Source filename [cat8510c-in-mz.120-1a.W5.6b.bin]

You are prompted to enter the name of the system image.

6 . 

Address or name of remote host [172.68.16.129]?

Enter the domain name or IP address of the TFTP server. You can accept the default address in square brackets or enter a new address.

7 . 

Destination filename [cat8510c-in-mz.120-1a.W5.6b.bin]?

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

8 . 

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.

When you have completed all of the configuration tasks for your SRP, see "Layer 3 Switching Interface Configurations," for instructions on configuring the switch router interfaces.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Aug 2 15:35:54 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.