|
|

The route processor uses a 200-MHz MIPS R5000 processing subsystem. The RP supports a dual-height Personal Computer Memory Card International Association (PCMCIA) Flash memory Type II slot, which you can use for a variety of Flash EPROM modules, for adding from 8 MB to 20 MB of additional memory, and for supporting larger Cisco IOS images. This chapter also describes how you can use Flash memory cards to program switches with standard configuration parameters. (Flash memory cards are not required for the operation of the Catalyst 8540 campus switch router.)
The RP resides in slot 4.
Before you begin to configure the route processor, complete all the interface and power connections described in the Catalyst 8540 Chassis Installation Guide and the line module connections described in the Catalyst 8540 Campus Switch Router Processor and Line Module Installation Guide.
You can configure the Catalyst 8540 campus switch router from a direct console connection to the console port or remotely through the Ethernet interface on the route processor.
Before you power up the system, make sure you have completed these tasks:
All configuration tasks are performed from your terminal emulation program window.
1. Power up your console and Catalyst 8540 campus switch router.
Messages appear in your terminal emulation program window.
The Catalyst 8540 campus switch router should now be operating correctly and transferring data. To confirm that the hardware and software installation and configuration procedures were successful, refer to the chapter "Checking the Component Installation" in the Catalyst 8540 Campus Switch Router Processor and Line Module Installation Guide.
This configuration sequence describes the following tasks:
Before you begin to manually configure the RP interface, obtain its IP address and IP subnet mask.
| Step | Command | Description |
| 1 | | To enter enable mode the first time, just enter enable. The # prompt indicates you are in enable mode. |
| 2 | | Set the enable password. |
| 3 | | |
| 4 | | Enter global configuration mode. You can also abbreviate the command to config t. The prompt |
| 5 | | Enter interface configuration mode on the Ethernet interface Ethernet0 (the management port on the RP). |
| 6 | | Enter the IP address and IP subnet mask for the Ethernet interface. |
| 7 | | Return to global configuration mode. |
| 8 | | |
| 9 | | Enter a password for Telnet sessions. |
| 10 | | Return to privileged EXEC mode. |
You can set up the Catalyst 8540 campus switch router 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 so that the Catalyst 8540 campus switch router can retrieve an Ethernet IP address from the BOOTP server.
The switch router 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.)
| Step | Command | Description |
| 1 | -- | Install the BOOTP server code on the workstation (BOOTP server) if it is not already installed. |
| 2 | -- | Note the switch router's MAC address, which you can find by issuing a show interface ethernet0 command. |
| 3 | -- | Add an entry to the BOOTP configuration file (usually /usr/etc/bootptab) for each switch. Press Enter after each entry to create a blank line between each entry. (See the following example BOOTP configuration file.) |
| 4 |
| Enter privileged EXEC mode. |
| 5 | | Reload the Catalyst 8540 campus switch router to request the IP address from the BOOTP server. |
# /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. Unexpected # things can happen when a backslash is omitted where one is intended. # # First, define a global entry that specifies the information every host uses. <Additional display messages omitted.> ######################################################################### # Start of individual host entries ######################################################################### switch: tc=netcisco0: ha=0000.0aab.ff00: ip=172.68.16.02: dross: tc=netcisco0: ha=00000abcd000: ip=172.68.16.10: <Additional display messages omitted.>
One of the first configuration tasks we recommend is to set the enable and enable secret passwords.
The enable and enable secret password functionality is available in all Cisco IOS releases for the Catalyst 8540 campus switch routers. When you are running from the boot ROM, the enable password might be used, depending on your ROM level.
The passwords should be different for maximum security. If you enter the same password for both during the setup script, the system will accept it, but you will receive a warning message indicating that you should enter a different password.
An enable password can contain any number of uppercase and lowercase alphanumeric characters; an enable secret password can contain from 1 to 25 uppercase and lowercase alphanumeric characters. In both cases, a number cannot be the first character. Spaces are also valid password characters; for example, "two words" is a valid password. Leading spaces are ignored; trailing spaces are recognized.
| Step | Command | Description |
| 1 | | To enter enable mode the first time, enter enable. The # prompt indicates you are in privileged EXEC mode. |
| 2 | | Enter global configuration mode. You can also abbreviate the command to config t. The prompt |
| 3 | | Set the enable password. |
| 4 | | Enter an enable secret password. Once set, a user must enter the enable secret password to gain access to global configuration mode. |
| Step | Command | Description |
| 1 | | From privileged EXEC mode, set the current time in 24-hour format, in which hh:mm:ss is the time in hours, minutes, and seconds. For example, 1:30 p.m. is 13:30:00 in 24-hour format. |
| 2 | | Enter global configuration mode. |
| 3 | | |
| 4 | | Enter an enable password to restrict configuration changes. Give this password to users permitted to make configuration changes to the Catalyst 8540 campus switch router. |
| 5 | | Return to privileged EXEC mode. |
Enter the pwd privileged EXEC command to determine which file system device you are accessing:
8540# pwd bootflash
Enter the cd [bootflash: | slot0: | slot1:] privileged EXEC command to move between Flash memory media:
8540# cd slot0: 8540# pwd slot0 8540#
8540# dir slot0: -#- -length- -----date/time------ name 1 5393 Aug 28 1998 15:32:57 startup-config 2 2828724 Sept 15 1998 10:29:34 cat8540c-in-mz.120-0.10.W5.2.16 3 3241516 Sept 21 1998 15:22:21 cat8510c-in-mz.120-0.6.W5.1.bin 16384000 bytes total (10313504 bytes free) 8540#
Enter the delete privileged EXEC command to mark a file for deletion from any Flash memory media.
![]() | Caution When deleting files from memory, do not delete all the system images. If you delete all existing system images, you can no longer download any new images. |
8540# delete cat8510c-in-mz.120-0.6.W5.1.bin 8540# dir slot0: 1 5393 May 04 1998 15:32:57 startup-config 3 2828724 Sept 15 1998 10:29:34 cat8540c-in-mz.120-0.10.W5.2.16 2428436 bytes total (2466956 bytes free) 8540#
8540# squeeze slot0: All deleted files will be removed, proceed? [confirm] y Squeeze operation may take a while, proceed? [confirm] Y ebESESESESESESESES 8540 #dir slot: 1 5393 May 04 1998 15:32:57 startup-config 3 2828724 Sept 15 1998 10:29:34 cat8540c-in-mz.120-0.10.W5.2.16 6169852 bytes total (4825540 bytes free)
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. |
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" indicates this log was erased after the squeeze command operation was successfully completed.
To format a Flash memory card, follow these steps:
Step 1 To copy any important files on the Flash memory card to a TFTP server before reformatting the card, enter the copy flash tftp EXEC command.
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.)
For more information, refer to the section "Installing and Removing Flash Memory Cards" in the Catalyst 8540 Campus Switch Router Processor and Line Module Installation Guide.
Step 3 Enter the format slot0: (or format slot1:) privileged EXEC command:
8540# format slot0: All sectors will be erased, proceed? [confirm] Enter volume ID (up to 30 characters): MyNewCard Formatting sector 1 Format device slot0 completed
The new Flash memory card is now formatted and ready to use.
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.
In the example, there are three files:
The example that follows assumes that the new image fits on the Flash memory card in slot 0, next to the old image. However, if there is not enough space, follow these steps:
Step 1 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.
Step 2 Enter the squeeze command to remove the files marked for deletion from the Flash memory card.
Step 3 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.
Step 4 Enter the boot system flash slot0:image.new command to designate the file image.new as the default boot image.
Step 5 Make sure both Flash memory cards are installed in slots 0 and 1, and power up the Catalyst 8540 switch router.
| Step | Command | Description |
| 1 | | Enter privileged EXEC mode. |
| 2 | | |
| 3 | | Enter global configuration mode. |
| 4 | | Disable booting from bootflash. |
| 5 | | Enable booting from the file image.new on the Flash memory card in slot 0. |
| 6 | | Save the configuration to NVRAM. |
| 7 | | 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 because they influence the way the switch router interprets the command. For example, notice the difference in the following commands:
This is the correct command, which instructs the switch router to boot the file specified: image1.
1. 8540(config)# boot system flash slot0:image1
The following command is incorrect because there is a space between "slot0:" and "image2." The switch router finds the filename field blank and so boots the first file on the Flash memory card.
2. 8540(config)# boot system flash slot0: image2
To enable booting from a Flash memory card, follow these steps:
| Step | Command | Description |
| 1 | | From global configuration mode, enable booting from the file image.new on the Flash memory card in slot 0. |
| 2 | | Disable the Break key. |
| 3 | | Save the configuration to NVRAM. |
| 4 | | Reboot the system. When the system reloads, it boots the file image.new from the Flash memory card in slot 0. |
| Step | Command | Description |
| 1 | | From privileged EXEC mode, change the Flash device to slot 0 on the Flash memory card. |
| 2 | | Verify that you are in the slot 0 directory. |
| 3 |
| If you do not already know it, note the exact spelling of the system image filename in Flash memory. Use the show flash all command to display the contents of Flash memory. Note the name of the image file you want to copy. In this example, the system image is named cat8540c-in-mz_111-1. |
| 4 | | |
| 5 | | Enter the name of the system image. |
| 6 |
| Enter the destination filename. You can accept the default filename in square brackets or enter a new filename. |
| 7 | | 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. |
Before you begin, be sure to insert a properly formatted Flash memory card into slot 0.
| Step | Command | Description |
| 1 | | From privileged EXEC mode, change the Flash device to slot 0 on the Flash memory card. |
| 2 | | Verify that you are in the slot 0 directory. |
| 3 | | Copy a file from a TFTP server to Flash memory. |
| 4 | | Enter the name of the system image. |
| 5 | | Enter the destination filename. You can accept the default filename in square brackets or enter a new filename. |
| 6 | | Enter y if enough space exists in Flash memory for the file you want to copy. |
| 7 | | 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. |
To save your configuration changes to NVRAM so that they are not lost during a power cycle or power outage, follow these steps:
| Step | Command | Description |
| 1 | | Check the settings you have configured so far. |
| 2 | | If the settings are what you want, save the configuration to NVRAM. |
| 3 | | Return to user EXEC mode. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Aug 2 09:49:20 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.