Summary of the content on the page No. 1
CHAPTER 3
Initial Switch Router Configurations
This chapter describes how to initially configure the Layer 3 switch routers.
• Starting Up the Layer 3 Switch Router
� Using the Console and the Management Ports
� Configuring the Management Port
� Configuring the Host Name
� Using the Boot Flash Memory SIMM
� Recovering a System Image Using Xmodem and Ymodem
� Updating the System Image
Note You are at Step 2 in the suggested process for configuring your Layer 3 switch router
(see Table 2-1 on pa
Summary of the content on the page No. 2
Chapter 3 Initial Switch Router Configurations Using the Console and the Management Ports Step 4 Power on the switch router. Step 5 Enter CLI configuration mode by answering 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> In this step, you can also choose to answer yes and continue to use the configuration menu that is provided. Using the Console and the Management Ports You can configur
Summary of the content on the page No. 3
Chapter 3 Initial Switch Router Configurations Configuring the Management Port Xmodem or Ymodem protocols. The Xmodem and Ymodem protocols support different speeds of file transfers. The maximum file transfer speed supported is 57600 baud. This functionality primarily serves as a disaster recovery technique where system images are recovered using Xmodem and Ymodem commands on the ROM monitor from the console port on your switch router. See the “Recovering a System Image Using Xmodem and Ymod
Summary of the content on the page No. 4
Chapter 3 Initial Switch Router Configurations Configuring the Management Port You can configure the management port from an IP connected network. To obtain remote management access using Telnet, use the following steps: Command Purpose Step 1 Router> enable Enters enable mode. Router# The # prompt indicates enable mode. Step 2 Router# configure terminal Enters global configuration mode. You can also abbreviate the command to config terminal. The Router(config)# Router(config)# prompt indica
Summary of the content on the page No. 5
Chapter 3 Initial Switch Router Configurations Configuring the Host Name You can display the configuration file when you are in privileged EXEC (enable) mode. � To see the current operating configuration, enter the following command at the enable prompt: Router# show running-config � To see the configuration in NVRAM, enter the following command: 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-conf
Summary of the content on the page No. 6
Chapter 3 Initial Switch Router Configurations Using the Boot Flash Memory SIMM Viewing the Contents of Boot Flash Memory You can perform the following tasks with the associated commands to view the contents of the onboard boot flash memory SIMM: � To determine which file system device you are accessing, use the print working directory (pwd) command. Router# pwd bootflash: � To list the directory contents of any boot flash memory media, use the dir [bootflash: ] command. Router# dir
Summary of the content on the page No. 7
Chapter 3 Initial Switch Router Configurations Using the Boot Flash Memory SIMM Backing Up a System Image to a TFTP Server To create a backup copy of your system image, you can copy system images from boot 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 Bef
Summary of the content on the page No. 8
Chapter 3 Initial Switch Router Configurations Using the Boot Flash Memory SIMM Copying a System Image from a TFTP Server to a Boot Flash Memory SIMM You can copy system image files from a TFTP server to the boot flash memory SIMM for use in booting the switch router. It is a good idea to have a copy of the current system image on the boot flash memory SIMM in case the new image file that you copy from the TFTP server is corrupted. Note You can also create a backup copy of your system image b
Summary of the content on the page No. 9
Chapter 3 Initial Switch Router Configurations Using the Boot Flash Memory SIMM Router# dir bootflash: Directory of bootflash:/ 1 -rw- 3173128 cat2948g-in-mz.120-7.W5.14.45 2 -rw- 3173364 cat2948g-in-mz.120-7.W5.14.46 16777216 bytes total (10430596 bytes free) Note To retain existing images on boot flash, enter no when you are prompted to confirm erasing boot flash. Erasing Files from a Full Boot Flash Memory SIMM In the event th
Summary of the content on the page No. 10
Chapter 3 Initial Switch Router Configurations Using the Boot Flash Memory SIMM The following example demonstrates how to first erase and clean boot flash memory and then copy the new system image from the TFTP server to the boot flash memory SIMM. Router# dir bootflash: Directory of bootflash:/ 1 -rw- 3168032 pci-fix 2 -rw- 1858797 domino-diag.f1 3 -rw- 3166692 cat2948g-in-mz.120-7.WX5.14.27 4 -rw
Summary of the content on the page No. 11
Chapter 3 Initial Switch Router Configurations Recovering a System Image Using Xmodem and Ymodem Recovering a System Image Using Xmodem and Ymodem If you do not have access to a network server and need to download a system image, you can copy an image from a local or remote computer (such as a PC, UNIX workstation, or Macintosh computer) using the Xmodem or Ymodem protocols. This functionality primarily serves as a disaster recovery technique. See Figure 3-1. Xmodem and Ymodem are common prot
Summary of the content on the page No. 12
Chapter 3 Initial Switch Router Configurations Recovering a System Image Using Xmodem and Ymodem To copy a Cisco IOS image from a computer or workstation to a router using the Xmodem or Ymodem protocol, use the following commands: Command Purpose xmodem [-c | -y | -s ] Copies a system image from a computer to DRAM using the ROM monitor. The -c option provides CRC-16 checksumming; -y uses the Ymodem protocol; and -s sets the console port data rate or speed. Speeds range from 1200 bps to 5760
Summary of the content on the page No. 13
Chapter 3 Initial Switch Router Configurations Recovering a System Image Using Xmodem and Ymodem � To transfer from a local computer, connect the router’s console port to a COM port (serial port) on the computer, using a null-modem cable. The console port speed configured on the router must match the transfer speed configured on the local computer. Note If you are transferring from a local computer, you may need to configure the terminal emulation program to ignore RTS/DTR signals. You see a
Summary of the content on the page No. 14
Chapter 3 Initial Switch Router Configurations Updating the System Image Updating the System Image This section provides minimal instructions for updating the system image on your Layer 3 switch router. This procedure assumes that you are manually booting the switch router from a system image on the boot flash memory SIMM. You can also configure the switch router to boot automatically from a system image specified in the BOOT environment variable. For additional information on booting options
Summary of the content on the page No. 15
Chapter 3 Initial Switch Router Configurations Updating the System Image To copy both the known good system image and the new system image from a TFTP server to the file system on your switch router, initiate a Telnet session or console connection to the switch router. Perform the following steps in privileged EXEC mode: Command Purpose Step 1 Router# dir bootflash: Displays the contents and available space in boot flash memory. If there is not enough free space to copy the new system image,
Summary of the content on the page No. 16
Chapter 3 Initial Switch Router Configurations Updating the System Image Verifying checksum... OK (0x799F) 3173128 bytes copied in 177.668 secs (17927 bytes/sec) Router# dir bootflash: Directory of bootflash:/ 1 -rw- 3173128 cat2948g-in-mz.120-7.W5.14.45 16777216 bytes total (13604024 bytes free) Router# copy tftp: bootflash: Address or name of remote host [172.10.00.00]? Source filename [domino/cat2948g-in-mz.120-7.W5.14.45]? domino/cat2948g-in-mz.12 0-7.W5.1
Summary of the content on the page No. 17
Chapter 3 Initial Switch Router Configurations Updating the System Image To reload the switch router with the new system image in boot flash memory, perform the following steps, beginning in global configuration mode: Command Purpose Step 1 Router(config)# config-register 0x0 Sets the configuration register for manual booting from ROM 1 monitor mode. Step 2 Router(config)# end Returns to privileged EXEC mode. Router# Step 3 Router# copy system:running-config Saves your configuration changes to
Summary of the content on the page No. 18
Chapter 3 Initial Switch Router Configurations Updating the System Image Router> show version Cisco Internetwork Operating System Software IOS (tm) L3 Switch/Router Software (CAT2948G-IN-M), Version 12.0(7)W5(14.46) IN TERIM TEST SOFTWARE Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Tue 22-Feb-00 04:31 by Image text-base: 0x60010928, data-base: 0x605B2000 Now that you have completed the initial configurations on your Layer 3 switch router, you can begin configuring the interfaces. S