|
|
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:
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).
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.
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.
You can configure the Catalyst 8510 CSR from a direct console connection to the console port or remotely through its management port.
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 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)."
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.
| Step | Command | Description |
|---|---|---|
1 | | Enter enable mode the first time by typing enable. The # prompt indicates you are in enable mode. |
2 | | Set the enable password. For details, see the preceding section, About Passwords. |
3 | | Issue the show hardware command to verify the installed hardware part numbers and serial numbers. |
4 | | Enter global configuration mode. You can also abbreviate the command to config t. The prompt |
5 | | Enter an enable secret password. Once set, a user must enter the enable secret password to gain access to global configuration mode. |
6 | | Enter interface configuration mode on the Ethernet interface Ethernet0--the management port on the SRP. |
7 | | Enter the IP address and IP subnet mask for the management port interface. |
8 | | Return to global configuration mode. |
9 | | |
10 | | Enter a password for Telnet sessions. |
11 | | Return to privileged EXEC mode. |
12 | | 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.
You can view the configuration file from EXEC (enable) mode.
Router# show running-configRouter# show startup-configIf 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.
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.
| Step | Command | Description |
|---|---|---|
| 1 | | 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 | | Enter global configuration mode. |
| 3 | | Enter a system name. In this example, we set the hostname to "8510CSR." |
| 4 | | Return to privileged EXEC mode. |
| 5 | | Copy your configuration changes to NVRAM. |
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.
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.
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.
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.
| Step | Command | Description |
|---|---|---|
| 1 | | From privileged EXEC mode, copy the file startup-config to the Flash PC Card in slot 0. |
| 2 | | 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 | | You can enter more commands or exit. |
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. |
8510CSR# copy slot1:image.new slot0:image.new
To discover which file system device you are accessing, use the pwd command.
8510CSR# pwd bootflash
To move between Flash memory media, use the cd [bootflash: | slot0: | slot1:] command.
8510CSR# cd slot0: 8510CSR# pwd slot0 8510CSR#
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#
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.
| 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. |
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.
| Step | Command | Description | ||
|---|---|---|---|---|
| | Enter global configuration mode. | ||
| | Disable booting from bootflash. | ||
| | From global configuration mode, enable booting from the image name file on the Flash PC Card in slot 0. | ||
| | Disable the Break key. | ||
| | Save the configuration to NVRAM. | ||
| | 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
![]() | 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.
| Step | Command | Description | ||
|---|---|---|---|---|
| | From privileged EXEC mode, change the Flash device to slot 0 on the Flash PC Card. | ||
|
| 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. | ||
| | |||
| | Enter the name of the system image. | ||
|
| 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. | ||
|
| Enter the destination filename. You can accept the default filename in square brackets or enter a new filename. |
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.
| Step | Task/Command | Description | ||
|---|---|---|---|---|
| Insert a properly formatted Flash PC Card into slot 0. | |||
| | From privileged EXEC mode, change the Flash device to slot 0 on the Flash PC Card. | ||
| | Verify that you are in the slot 0 directory. | ||
| | Copy a file from a TFTP server to Flash memory. | ||
| | You are prompted to enter the name of the system image. | ||
| | 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. | ||
| | Enter the destination filename. You can accept the default filename in square brackets or enter a new filename. | ||
| | 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.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Aug 2 15:35:54 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.