![]() |
Catalyst 8500 CSR Software Feature and Configuration Guide, 12.0(x)W5(6f)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring the Switch Route Processor for the Catalyst 8510
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Configuring the Switch Route Processor for the Catalyst 8510 and Using Flash Memory CardsThe switch route processor (SRP) provides the intelligence to the Catalyst 8510, 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 the Simple Network Management Protocol (SNMP) and the many Management Information Bases (MIBs) that manage the device. The switch route processor uses a 100-MHz MIPS R4600 processing subsystem. The SRP 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 8510 campus switch router.) The SRP resides in slot 2. Before You BeginBefore you begin to configure the switch route processor, complete all the interface and power connections described in the Catalyst 8510 Campus Switch Router Chassis Installation Guide and the line module connections described in the Catalyst 8510 Campus Switch Router Processor and Line Module Installation Guide. You can configure the Catalyst 8510 campus switch router from a direct console connection to the console port or remotely through the Ethernet interface on the switch route processor. Note The Ethernet interface on the SRP does not route or bridge traffic to other Ethernet ports on the Catalyst 8510. This Ethernet port is a management port only and should not be configured as a routing port.
Powering Up the SystemBefore 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 8510 campus switch router.
Note The messages vary, depending on the Cisco IOS release and feature set you selected.
Configuring the SRP Ethernet InterfaceThe Ethernet port on the SRP is a management port. You can remotely configure the Catalyst 8510 campus switch router 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 ConfigurationThis configuration sequence describes the following tasks:
Before you begin to manually configure the SRP interface, obtain its IP address and IP subnet mask. Configuring the BOOTP ServerYou can set up the Catalyst 8510 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 8510 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.) 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. Unexpected # things can happen when a backslash is omitted where one is intended. # # First, we define a global entry which specifies the information every host uses. <Additional display messages omitted.> ######################################################################### # Start of individual host entries ######################################################################### switch: tc=netcisco0: ha=0000.0ff7.ff00: ip=172.68.16.02: dross: tc=netcisco0: ha=00000cdef000: ip=172.68.16.10: <Additional display messages omitted.> Setting the Enable and Enable Secret PasswordsOne of the first configuration tasks we recommend is to set the enable and enable secret passwords. On systems running Cisco IOS, you must enter the enable secret password to enter privileged mode. You must also enter the secret password when using the boot ROM software.
The enable and enable secret password functionality is available in all Cisco IOS releases for the Catalyst 8510 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.
Configuring the Host Name and ClockIn 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. Using Flash Memory CardsYou can copy, delete, and configure files between the onboard Flash memory Single In-Line Memory Module (SIMM), Flash memory cards, and network servers. The following sections provide information about the memory file system commands to accomplish these tasks. Viewing the Contents of Flash MemoryThis 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: 8510# pwd bootflash Enter the cd [bootflash: | slot0: | slot1:] privileged EXEC command to move between Flash memory media: 8510# cd slot0: 8510# pwd slot0 8510# Enter the dir [bootflash: | slot0: | slot1:] privileged EXEC command to list the directory of any Flash memory media: 8510# dir -#- -length- -----date/time------ name 1 5393 May 04 1998 15:32:57 startup-config 2 1814648 Jun 15 1998 10:29:34 cat8510c-in-mz.111-3.005 3 1819888 Jul 20 1998 15:22:21 cat8510c-in-mz.111-3.018 2428436 bytes available (5566956 bytes used) 8510# Deleting Files from Flash MemoryEnter the delete privileged EXEC command to mark a file for deletion from any Flash memory media.
8510# delete cat8510c-in-mz.111-3.005 8510# dir -#- -length- -----date/time------ name 1 5393 May 04 1998 15:32:57 startup-config 3 1819888 Jul 20 1998 15:22:21 cat8510c-in-mz.111-3.018 2428436 bytes available (5566956 bytes used) 8510# Note Deleted files are marked for deletion, but still occupy space in Flash memory. To remove them, enter the squeeze command. The squeeze command permanently removes files marked for deletion, and pushes all other undeleted files together to eliminate spaces between them: 8510# squeeze slot0: All deleted files will be removed, proceed? [confirm] y Squeeze operation may take a while, proceed? [confirm] Y ebESESESESESESESES 8510 #dir -#- -length- -----date/time------ name 1 5393 Apr 20 1998 15:32:57 startup-config 2 2819888 Aug 20 1998 15:22:21 cat8510c-in-mz.111-3.018 6169852 bytes available (1825540 bytes used)
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. Formatting a Flash Memory CardA Flash memory card, which must be ordered as a spare part, is blank and must be formatted before use. 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 8510 Campus Switch Router Processor and Line Module Installation Guide. Step 3 Enter the format slot0: (or format slot1:) privileged EXEC command: 8510# 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. Note In this example, an 8-MB Flash memory card was used, and at the line "Formatting sector," the system counted the card's sectors backward from 64 to 1 as it formatted them. For 16-MB Flash memory cards, the system counts backward from 128 to 1; for 20-MB Flash memory cards, the system counts backward from 160 to 1. Copying Bootable ImagesAs 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 8510 switch router. To 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, follow these steps: Booting from a Flash Memory CardWhen 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. 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. To enable booting from a Flash memory card, follow these steps:
Backing Up a System Image to a TFTP ServerYou can copy system images from the Flash memory to a Trivial File Transfer Protocol (TFTP) server. You can use this server copy of the system image as a backup copy, or you can use it to verify that the copy in Flash is the same as the original file on disk. 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. Copying a System Image from a TFTP Server to a Flash Memory CardIn the event that the software image on a Catalyst 8510 switch router becomes corrupted, it is a good idea to have a copy of the current system image on a Flash memory card. You can then replace the system software by copying the image from a Flash memory card to the onboard Flash memory. Before you begin, be sure to insert a properly formatted Flash memory card into slot 0.
Saving Configuration Changes to NVRAMWhenever you make changes to the switch router configuration, you must save the changes; if you do not, the changes are lost if the system is reloaded or the power goes out. The two types of configuration files are stored in different forms of memory: the running configuration is stored in RAM; the startup configuration is stored in NVRAM. To save your configuration changes to NVRAM so that they are not lost during a power cycle or power outage, follow these steps:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|