C H A P T E R 3 Installing the Router This chapter describes how to do the initial installation and setup of Cisco 12006 and Cisco 12406 Routers.
Chapter 3 Installing the Router Installing a Router Installing a Router This section explains the procedures for installing Cisco 12006 and Cisco 12406 Routers and contains the following sections: • Installing the Rack-Mount Brackets (Optional), page 3-3 • Installing the Chassis in a Rack, page 3-7 • Installing Center-Mount Brackets (Optional), page 3-5 • Installing the Chassis on a Tabletop or Flat Surface, page 3-9 Before installing Cisco 12006 and Cisco 12406 Routers, see Chapter 2, “Preparing
Chapter 3 Installing the Router Installing a Router Installing the Rack-Mount Brackets (Optional) The router accessory kit includes a pair of rack-mount brackets that can be used as a temporary aid to bear the weight of the router while it is being positioned in the equipment rack and secured. The use of these mounting brackets is optional; you can install the router in the rack without using these brackets. These brackets can be left in place following router installation.
Chapter 3 Installing the Router Installing a Router Figure 3-1 Installing the Optional Rack-Mount Brackets 1 1/4" 2 1/2" 1/16" sheet metal 3 3/8" 3/4" Right mounting rail 57802 Left mounting rail Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide 3-4 OL-11497-03
Chapter 3 Installing the Router Installing a Router Installing Center-Mount Brackets (Optional) To install the Cisco 12006 or Cisco 12406 Router in the center-mount position, you must first install the upper and lower center-mount brackets on the equipment rack rails, then secure the chassis to the center-mount brackets. (See Figure 3-2.) If you do not plan to use the optional center-mount brackets, proceed directly to the “Installing the Chassis in a Rack” section on page 3-7.
Chapter 3 Installing the Router Installing a Router Tools and Equipment Required You need the following items to install the optional center-mount rack-mounting brackets: • Number 2 Phillips screwdriver • Tape measure (optional) • Level (optional) Installing the Optional Center-Mount Brackets To install the center-mount brackets, see Figure 3-2 and follow these steps: Step 1 Caution Step 2 Measure and mark the hole at the same height on both the left and right posts.
Chapter 3 Installing the Router Installing a Router Installing the Chassis in a Rack This section explains how to install Cisco 12006 and Cisco 12406 Routers in a rack. This procedure assumes you have unpacked the router using the Cisco 12006 and Cisco 12406 Router Unpacking and Repacking Instructions (Document number 78-16104-xx) posted on the outside of the shipping container.
Chapter 3 Installing the Router Installing a Router To install the chassis in a rack, see Figure 3-3 and follow these steps: Step 1 Move the router as close to the installation location as possible without interfering with the installation process. Step 2 With one person lifting from the front and one from the rear of the chassis, grasp the front and rear of the chassis, lift the chassis off the pallet, and position the chassis in the rack.
Chapter 3 Installing the Router Supplemental Bonding and Grounding Connections Installing the Chassis on a Tabletop or Flat Surface Follow the steps below to install a Cisco 12006 Router or Cisco 12406 Router on a tabletop or stable flat surface. You can use the same mounting hardware that secured your router to the shipping pallet to secure the chassis to a flat surface. Step 1 Move the router as close to the installation location as possible.
Chapter 3 Installing the Router Supplemental Bonding and Grounding Connections Figure 3-4 CT EJE T-1 SLO T-0 SLO Supplemental Bonding and Grounding Port for NEBS Compliance ET RES AU X CO L COL RX LE NSO LINK 5 RJ-4 TX MII GIGABI T ROUTE CISCO 1200 0 SWITCH PROCES SOR SERIES ROUTER 57744 GIGABIT Use a dual-hole lug to connect to the chassis with two 6.3-mm (M6) screws on the 0.63-inch (16-mm) centers as shown in Figure 3-4 and Figure 3-5.
Chapter 3 Installing the Router Connecting RP and Line Card Cables Figure 3-6 Crimping the Lug 57808 1 2 1 Note Place ground wire in the lug 2 Crimp the lug The three threaded inserts that make up the grounding receptacle are set in a triangle so that you can choose any two of the three holes to attach the lug and grounding cable.
Chapter 3 Installing the Router Connecting RP and Line Card Cables Step 3 Carefully route the interface cable through the chassis cable-management bracket and across the card to the card interface port; do this for one cable at a time.
Chapter 3 Installing the Router Connecting Alarm Card Cables Caution Step 6 Carefully adjust the cable in the cable-management brackets to prevent any kinks or sharp bends in the interface cable. Kinks and sharp bends can destroy or degrade the ability of the optical fiber to propagate the signal-encoded beam of light accurately from one end of the cable to the other. Also, allow adequate strain relief in the interface cable.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Connecting to the Console and Auxiliary Ports This section provides the information for connecting console terminals and other auxiliary devices to the console and auxiliary ports on the router. Both Data Set Ready (DSR) and Data Carrier Detect (DCD) signals are active when the system is running. The console port does not support modem control or hardware flow control. GRP ports are discussed below.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Figure 3-8 GRP Console DCE and Auxiliary DTE Port Connections EJ EC DB-25 female T -1 OT SL -0 OT SL SE T X AU RE Modem Auxiliary port Console port LIN LL TX CO K DB-25 male M II RJ -4 5 GRP H10735 RX Console terminal Check your terminal documentation to determine the baud rate of the terminal you plan to use.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports GRP Console Port Signals The console port on the GRP requires a straight-through EIA/TIA-232 cable. Table 3-1 lists the signal-to-pin correspondence for the GRP console port.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Table 3-2 GRP Auxiliary Port Signals Pin Signal Input/Output Description 1 Signal Ground – Signal Ground 2 TxD Input Transmit Data 3 RxD Output Receive Data 4 RTS Input Request To Send (used for hardware flow control) 5 CTS Output Clear To Send (used for hardware flow control) 6 DSR Output Data Set Ready 7 Signal Ground – Signal Ground 8 CD Output Carrier Detect (used for modem control) 20
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports PRP Console and Auxiliary Ports The system console port on the PRP is a DCE RJ-45 receptacle for connecting a data terminal, which you must configure. The console port is labeled Console, as shown in Figure 3-9. Before connecting the console port, check the documentation for your terminal to determine the baud rate.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Caution The ports labeled Ethernet, 10BASE-T, Token Ring, Console, and AUX are safety extra-low voltage (SELV) circuits. SELV circuits should only be connected to other SELV circuits. Note RP cables are not available from Cisco, but are available from any commercial cable vendor.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports PRP Auxiliary Port Signals The auxiliary port on the PRP is a DTE, RJ-45 plug for connecting a modem or other DCE device (such as a CSU/DSU or another router) to the router. The port is labeled AUX, as shown in Figure 3-9. The asynchronous auxiliary port supports hardware flow control and modem control. Table 3-4 lists the signal-to-pin correspondence for the PRP auxiliary port.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Figure 3-10 Flash Memory Card Slot Opening T EC EJ -1 OT SL -0 OT T SE RE X AU 57080 SL Ensure that a console terminal is connected to the RP console port and turned on, or that you have a remote login to the router from another device through a Telnet session.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Connecting the GRP to an Ethernet Network This section provides information for connecting the GRP to an Ethernet network. Figure 3-11 shows the RJ-45 and MII Ethernet ports on the GRP.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Note The RJ-45 and MII receptacles on the GRP represent two physical connection options for one Ethernet interface; you can use either the MDI RJ-45 connection or the MII connection, but not both simultaneously. The transmission speed of the Ethernet port is set through an auto-sensing scheme on the GRP. The speed is determined by the network to which the Ethernet interface is connected, and is not user-configurable.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Table 3-5 Ethernet MII Pin Configuration (continued) Pin1 In Out Input/Output Description Code 9 Yes – – Receive Clock Rx_CLK 10 Yes – – Receive Error Rx_ER 8 Yes – – Receive Data Valid Rx_DV 18 Yes – – Collision COL 19 Yes – – Carrier Sense CRS 2 – – Yes MII Data Input/Output MDIO 22 to 39 – – – Common Ground 1, 20, 21, 40 – – – +5.0 V V 1. Unlisted pins are not used. 2.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Table 3-6 Warning Ethernet RJ-45 Receptacle Pin Configuration (continued) Pin Signal 4 Termination Network 5 Termination Network 6 RX– 7 Termination Network 8 Termination Network The ports labeled Ethernet, 10BASE-T, Token Ring, Console, and AUX are safety extra-low voltage (SELV) circuits. SELV circuits should only be connected to other SELV circuits.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Note Use cables that comply with EIA/TIA-568 standards. (See Table 3-8 on page 3-29 and Table 3-9 on page 3-29 for cable recommendations and specifications.) Caution The Ethernet ports are used primarily as Telnet ports into the router, and for booting or accessing Cisco IOS software images over a network to which an Ethernet port is directly connected.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports PRP Ethernet Connections Figure 3-15 shows a PRP RJ-45 receptacle and cable connector. The RJ-45 connection does not require an external transceiver. The RJ-45 connection requires Category 5 unshielded twisted-pair (UTP) cables, which are not available from Cisco Systems, but are available from commercial cable vendors. Table 3-7 lists the signal-to-pin correspondence for the RJ-45 receptacle.
Chapter 3 Installing the Router Connecting to the Console and Auxiliary Ports Table 3-7 PRP RJ-45 Ethernet Receptacle Pinout (continued) Ethernet Port Pin Signal Description 6 RxD– Receive data – 7 Termination Network No connection 8 Termination Network No connection Depending on your RJ-45 cabling requirements, use the connector pinouts shown in Figure 3-16 or Figure 3-17.
Chapter 3 Installing the Router Connecting to an AC Power Source Table 3-8 Specifications and Connection Limits for 100-Mbps Transmission Parameter RJ-45 Cable specification Category 51 UTP, 22 to 24 AWG2 Cable length (max) — Segment length (max) 328 feet (100 m) for 100BASE-TX Network length (max) 656 feet (200 m)3 (with 1 repeater) 1. EIA/TIA-568- or EIA-TIA-568 TSB-36-compliant. Not supplied by Cisco. 2. AWG = American Wire Gauge. This gauge is specified by the EIA/TIA-568 standard. 3.
Chapter 3 Installing the Router Connecting to an AC Power Source Caution Warning The AC-input power supply weighs 14 pounds (6.4 kilograms). Use two hands when handling a power supply. The AC-input power supply power standby switch should be in the OFF position.
Chapter 3 Installing the Router Connecting to an AC Power Source Figure 3-18 AC Power Distribution Unit 1 4 3 5 57650 6 2 1 Captive screws (four) 4 AC power distribution unit 2 AC power cord receptacle A 5 Guide pin 3 AC power cord receptacle B 6 Blower module connector To connect AC power to the AC PDU on the router, see Figure 3-18 and follow these steps: Step 1 Attach an ESD-preventive strap to your wrist and connect the leash to the chassis or to another grounded, bare metal surf
Chapter 3 Installing the Router Connecting to a DC Power Source Step 2 Locate the two AC power cords and remove them from their shipping packaging. Verify that the AC power cords shipped with the power supplies are the correct type for your site. Note If you have received the wrong type of AC power cord, contact your service representative for a replacement. Step 3 Plug the socket end of each AC power cord into a receptacle on the PDU. (See Figure 3-18.
Chapter 3 Installing the Router Connecting to a DC Power Source Figure 3-19 DC PDU 1 4 PO WE RB + GN D 3 5 PO WE RA 6 + GN 2 1 Captive screws (four) 4 DC PDU 2 DC power connector block (A) 5 Guide pin 3 DC power connector block (B) 6 Blower module connector 57992 D To connect source DC power to the DC PDU, see Figure 3-19 and Figure 3-20 and follow these steps: Step 1 Attach an ESD-preventive strap to your wrist and connect the leash to the chassis or to another grounded, bare
Chapter 3 Installing the Router Connecting to a DC Power Source Figure 3-20 DC PDU Power Connector Block PO WE RA 1 + 4 2 GN 57993 D 3 Step 3 Step 4 1 Negative terminal port 3 Ground terminal port 2 Positive terminal port 4 Terminal port connector screws Connect the source DC power leads to the three terminal ports in the DC power connector block (see Figure 3-20) in this order: • Ground lead first (bottom port on the connector block) • Positive lead second (middle port on the conn
Chapter 3 Installing the Router Power On the Router Power On the Router To power on the router, follow these steps: Step 1 Either switch on all the circuit breakers or plug the power cord into an active power source that controls power to the PDU in the router. During the first-time startup, the system displays the system banner information. Check the startup banner and displays to ensure that the system has restarted properly and that all the interfaces reinitialize properly.
Chapter 3 Installing the Router Power On the Router In a noisy environment, the blowers might be difficult to hear; in that case, place your hand in front of the exhaust vents at the rear of the chassis to verify that the blowers are operating.
Chapter 3 Installing the Router IOS Software Configuration for the Router Step 6 On the console terminal, verify that the console displays the system banner and that the system and all interfaces initialize successfully. If the power modules do not power up, or if the system or any interfaces do not initialize properly, see Chapter 4, “Troubleshooting the Installation.” If you are still unable to resolve the problem, contact your Cisco service representative for assistance.
Chapter 3 Installing the Router IOS Software Configuration for the Router Table 3-11 Cisco IOS Software Image Sources Onboard Flash Memory on the Gigabit Route Processor (GRP) The latest Cisco IOS software image is loaded into the Flash memory, a single inline memory module (SIMM) that is preloaded at the factory before the router is shipped. The Flash memory SIMM is also referred to as nonvolatile random access memory (NVRAM). This type of memory retains its contents when system power is off.
Chapter 3 Installing the Router IOS Software Configuration for the Router Overview of the Boot Process The example below assumes that the router is plugged into a power source and the router is running, blower module fans are audible, and alarm card ENABLED LEDs are lit up. The following is an example of a typical boot process: • The RP MBus module receives the correct DC voltage and starts executing MBus software.
Chapter 3 Installing the Router IOS Software Configuration for the Router Caution • Line card cable-management brackets are attached to their respective line cards. • Interface cables are completely seated in their line card connectors. • Interface cables are routed neatly through the chassis cable-management bracket. Do not overtighten the captive screws on the cards; you might strip the threads on the screw or in the insert in the component faceplate.
Chapter 3 Installing the Router IOS Software Configuration for the Router RP Alphanumeric LED RP alphanumeric LEDs are located at one end of the RP faceplate, near the ejector lever. Figure 3-22 shows the RP LED displays. Figure 3-22 RP Alphanumeric LED Displays Right alphanumeric LED display (four digits) 57079 Left alphanumeric LED display (four digits) Each four-digit display shows part of a two-line system message.
Chapter 3 Installing the Router IOS Software Configuration for the Router Table 3-12 LED Display LED Display Meaning and Signal Source (continued) Meaning Source RP UP A valid Cisco IOS image is running. RP IOS software PRI RP The RP is enabled and recognized as the system primary. RP IOS A valid Cisco IOS image is running. software SEC RP The RP is enabled and recognized as the system secondary. A valid Cisco IOS image is running. RP IOS software 1.
Chapter 3 Installing the Router IOS Software Configuration for the Router GRP Interfaces Using the GRP LEDs The GRP faceplate has eight device or port LED activity indicators. Each LED goes on when its corresponding PCMCIA slot is accessed. The ports are as follows: • Two PCMCIA slot activity LEDs labeled SLOT-0 and SLOT-1. • Four RJ-45 Ethernet port activity LEDs. These LEDs are used only by the RJ-45 Ethernet connector, and are disabled when the MII Ethernet port is in use.
Chapter 3 Installing the Router IOS Software Configuration for the Router As the router boots the Cisco IOS software image, the console screen displays a system banner similar to the following: Cisco Internetwork Operating System Software IOS (tm) GS Software (GSR-P-M) 12.0(20020120:204554) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sat 20-Aug-01 18:34 . . . Note The system banner that appears depends on the image version of the Cisco IOS software that the system is running.
Chapter 3 Installing the Router IOS Software Configuration for the Router PRP LEDs PRIMARY LINK Indicates link activity EN Indicates the port is enabled TX Indicates data transmission RX Indicates data reception 70693 EN TX EN K LIN PRIMARY TX RX ETH 1 RX SL SL OT OT -0 -1 ETH 0 LIN K Figure 3-24 When you start an unconfigured system for the first time, the console screen displays a system banner and then automatically starts the System Configuration Dialogue.
Chapter 3 Installing the Router IOS Software Configuration for the Router If the ROM monitor prompt (rommon>) appears on the system console, your router did not find a valid system image, or the boot sequence was otherwise interrupted, and the system entered read-only memory (ROM) monitor mode. To boot a Cisco IOS software image manually, enter the boot command on the system console.
Chapter 3 Installing the Router IOS Software Configuration for the Router Manually Booting the System If your router does not find a valid system configuration image, or if you interrupt the boot sequence, the system might enter read-only memory (ROM) monitor mode and display the ROM monitor prompt (rommon>). From ROM monitor mode, you have access to a number of commands to locate and boot a valid system image.
Chapter 3 Installing the Router IOS Software Configuration for the Router Booting from the Cisco IOS Software Image After locating a valid Cisco IOS software image, you can boot from that image manually by issuing the appropriate ROM monitor mode boot commands from the list in Table 3-13. Table 3-13 ROM Monitor Boot Commands Command Description boot (No argument.) Boots the default image found in the onboard Flash memory SIMM. The image is loaded into the SIMM at the factory.
Chapter 3 Installing the Router IOS Software Configuration for the Router Router Configuration You can perform a basic configuration for your router by using either the setup command automatic prompt method, or the global configuration method in which you enter each option and parameter manually.
Chapter 3 Installing the Router Cisco IOS User Interface Global Configuration Mode The router can be configured manually using the global configuration mode through the Cisco IOS command line interface (CLI). This method requires you to enter configuration commands on a line-by-line basis at the system console, without being prompted by the setup command configuration script.
Chapter 3 Installing the Router Cisco IOS User Interface ROM monitor mode is a separate mode used when the router cannot boot properly. If the router does not find a valid system image when it is booting, or if the router configuration file is corrupt at startup, the system might enter ROM monitor mode. User EXEC Mode After the router boots successfully and loads the Cisco IOS software, the system software displays the user EXEC mode prompt on the system console.
Chapter 3 Installing the Router Cisco IOS User Interface Global Configuration Mode Global configuration commands apply to features that affect the system as a whole, rather than just one protocol or interface. Use the configure terminal privileged EXEC command to enter global configuration mode. Commands to enable a particular routing or bridging function are global configuration commands. Interface Configuration Mode Many features are enabled on a per-interface basis.
Chapter 3 Installing the Router Configuration Changes Configuration Changes This section describes how to configure the router.
Chapter 3 Installing the Router Configuration Changes The output shown in this example depends on the image version of the Cisco IOS software and the way your router is equipped. Your configuration dialog might be different. The setup command script is a self-guiding interactive script that prompts you for responses and provides default or alternative values wherever possible. setup Command Interactive Script Example Cisco Internetwork Operating System Software . . .
Chapter 3 Installing the Router Configuration Changes Current interface summary Interface IP-Address Ethernet0 unassigned POS1/0 unassigned SDCC1/0 unassigned POS2/0 unassigned SDCC1/0 unassigned . . .
Chapter 3 Installing the Router Configuration Changes interface POS15/0 shutdown no ip address ! interface SDCC15/0 shutdown no ip address ! end [0] Go to the IOS command prompt without saving this script. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. Enter your selection [2]: Building configuration ... Use the enabled mode ‘configure’ command to modify this configuration.
Chapter 3 Installing the Router Configuration Changes Configure IP on this interface?[yes]: The script displays the default or current conditions of the interface in square brackets, ([ ]) because you invoked the setup command utility using the setup command and there is previous configuration information. When a system prompt contains an existing default value in square brackets, press Return to accept the default value, or type an alternate value and press Return.
Chapter 3 Installing the Router Configuration Changes chapter in the Security Configuration Guide. This document is part of the Cisco IOS software configuration documentation set that corresponds to the Cisco IOS software release installed on your Cisco hardware. The enable secret password functionality is available for Cisco 12006 and Cisco 12406 Routers. You must enter the correct password on the system console to gain access to privileged-level commands.
Chapter 3 Installing the Router Configuration Changes • Protocols to be configured To obtain this information, consult your network administrator. For additional interface configuration information for the RP and each of the line cards installed in your router, refer to the configuration note that shipped with each card. GRP Ethernet Interfaces The RJ-45 and MII receptacles on the faceplate of the GRP are IEEE 802.3u-compliant interfaces. These IEEE interfaces provide connectivity to Ethernet networks.
Chapter 3 Installing the Router Configuration Changes Line Card Interfaces Because of the wide variety of line cards supported by Cisco 12006 and Cisco 12406 Routers, you should see the configuration note that shipped with a particular card for interface configuration information. This section provides several examples to show the general way the setup command utility handles line card interface configuration.
Chapter 3 Installing the Router Configuration Changes Note You might have to establish additional configuration parameters for the installed ATM line cards if you want to use all their capabilities. For example, additional steps are required to configure permanent virtual circuits (PVCs). After you have manually configured the network interface parameters using the setup command utility or the setup command, your RP and line card interfaces are available for limited use.
Chapter 3 Installing the Router Configuration Changes BOOTFLASH: GS Software (GSR-BOOT-M), Version 11.2(18)GS4, EARLY DEPLOYMENT RELE Getty uptime is 22 hours, 15 minutes System returned to ROM by reload System image file is "tftp://xxx.xx.xx.xxx/directory/name/gsr-p-mz" cisco 12406/GRP (R5000) processor (revision 0x05) with 262144K bytes of memory. R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache Last reset from power-on 1 Route Processor Card . . . Configuration register is 0x0 . . .
Chapter 3 Installing the Router Configuration Changes no service tcp-small-servers ! hostname Router ! enable secret 5 $1$W6K5$W/p5Bq6IPLGJ/hS9VVP1g. enable password twink interface POS1/0 ip address 10.1.1.1 255.888.255.
Chapter 3 Installing the Router Configuration Changes Saving the Running Configuration Settings to NVRAM To save the running configuration changes to NVRAM, enter the copy running-config startup-config command at the privileged EXEC mode prompt as follows: Router# copy running-config startup-config You can also use the following command to save the running configuration settings: Router# write memory Either command saves to NVRAM the configuration settings that you created while in the global configura
Chapter 3 Installing the Router Configuration Changes ip cef distributed switch ip host biff 10.3.3.254 ! interface Ethernet0 ip address 10.3.1.1 255.888.0.0 no ip mroute-cache ! interface POS1/0 ip address 10.1.1.1 255.8.9.0 no keepalive crc 16 no cdp enable . . . interface ATM3/0 ip address 10.0.0.15 255.8.8.0 secondary ip address 10.1.1.2 255.8.8.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Using Flash Memory Cards in the RP This section describes how to use Flash memory cards in the RP and includes information on the following topics: • Installing the Flash Memory Card in a RP, page 3-66 • Removing the Flash Memory Card from an RP, page 3-67 • Formatting a Flash Memory Card, page 3-67 • Specify a Boot Image, page 3-68 • Flash Memory Console Commands, page 3-69 • Booting from Flash Memory, page 3-72 • Copying Fi
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Removing the Flash Memory Card from an RP To remove a Flash memory card, follow these steps: Step 1 Press the appropriate ejector button until the card is free of the connector at the back of the slot. Step 2 Pull the card from the slot and place it in an antistatic sack to protect it from ESD damage. The Flash memory card is keyed for proper insertion. The ejector button will not pop out unless the card is inserted correctly.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP To format a new Flash memory card, follow these steps: Step 1 Insert the Flash memory card into slot 0 or slot 1 on the RP. (This example uses slot 0.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP When you enter the reload command, the specified file (new.image) on the Flash memory card inserted in PCMCIA slot 0 is used to boot the system. If one of the following software configuration register settings were specified in the preceding example, the system would behave accordingly: • 0x2000—If the network boot fails, the system boots a default Cisco IOS software image from a Flash memory card.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP slot1:/ Router# cd slot0: Router# pwd slot0:/ Router# cd bootflash: Router# pwd bootflash:/ Router# To list the directory contents of the Flash memory media in use, enter the dir [device-name] command at the privileged EXEC mode prompt, where device-name can be slot0:, slot1:, or bootflash:. A sample use of the dir command follows.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP To remove deleted files from a Flash memory directory permanently, but leave undeleted files intact, enter the squeeze device-name command at the privileged EXEC mode prompt on the system console, where device-name can be slot0:, slot1:, or bootflash:. The squeeze command permanently removes deleted files and makes all other undeleted files contiguous, thus conserving storage space.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Booting from Flash Memory To enable booting from Flash memory, set the boot field in the software configuration register (bits 3 through 0) to a value between 2 and 15. These values are used with the boot system flash device:filename configuration command, where device is bootflash:, slot0:, or slot1:, and filename is the name of the file from which you want to boot the system.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP To copy a file to Flash memory, enter the following command at the privileged EXEC mode prompt on your system console: Router# copy tftp:filename [bootflash:|slot0:|slot1:] filename where: tftp:filename Specifies the source and name of the file to be copied. [bootflash: | slot0: | slot1:] filename Specifies the destination Flash medium and name for the new file.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Copying a Cisco IOS Software Image You can copy a Cisco IOS software image into a Flash memory card at any time for later use, but you must first format the Flash memory card that you will use in the copy operation. If you have not already formatted the card, see the “Formatting a Flash Memory Card” section on page 3-67. To ensure access to the network TFTP server, you must configure one network interface using the setup command facility.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Step 4 Reboot the system. Copying Cisco IOS Software Updates As future releases of Cisco IOS software become available, you will receive these images as a file booted from a network TFTP server, as a file on a floppy disk, or as a file on a Flash memory card.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP To copy a bootable Cisco IOS software image between Flash memory cards, follow these steps: Step 1 Boot the router. For this example, the file named image.boot is the default boot image. Step 2 Enter the enable command to enter privileged EXEC mode as follows: Router> enable Password: Router# Step 3 Insert the new Flash memory card in slot 1. Step 4 Enter the following command to copy the file image.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Copying Files Between RP Memory and a Flash Memory Card If you do not have access to a TFTP server where you can temporarily store a configuration file, you will need to copy a configuration file to a Flash memory card inserted in PCMCIA slot 0 or slot 1. You can then copy the configuration file back to NVRAM at any time. You can copy either your startup configuration file (from NVRAM) or your running configuration file (from DRAM).
Chapter 3 Installing the Router Using Flash Memory Cards in the RP To copy a configuration file named myfile2 from the NVRAM on the RP to a Flash memory card in slot 0, follow these steps: Step 1 Enter the show bootvar command at the privileged EXEC mode prompt to display the current setting for the CONFIG_FILE environmental variable, as follows: Router# show bootvar . . . CONFIG_FILE variable = Current CONFIG_FILE variable = . . .
Chapter 3 Installing the Router Using Flash Memory Cards in the RP An example of the copy startup-config slot0:filename command follows: Router# copy startup-config slot0:myfile2 20575008 bytes available on device slot0, proceed? [confirm] Address or name of remote host [1.1.1.1]? Loading new.image from 1.1.1.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP Copying a Configuration File from RP DRAM to a Flash Memory Card To copy the running configuration file from DRAM to a Flash memory card, follow these steps: Step 1 Enter the command for copying a running configuration file from DRAM to a Flash memory card. The command takes the following form: copy running-config [slot0:|slot1:]filename where: running-config Specifies the DRAM source of the file to be copied.
Chapter 3 Installing the Router Using Flash Memory Cards in the RP 5 1186 May 10 2002 16:56:50 myfile2 9197156 bytes available (11381148 bytes used) Router# Copying a Configuration File from a Flash Memory Card to RP NVRAM To copy a configuration file from a Flash memory card in PCMCIA slot 0 or slot 1 to NVRAM, follow these steps: Step 1 Enter the command for copying a configuration file from a Flash memory card to NVRAM.
Chapter 3 Installing the Router If You Need More Information Locked Blocks in Flash Memory Cards A locked block in Flash memory cards occurs when power is lost or a Flash memory card is removed from its PCMCIA slot on the RP during a write or erase operation. When a block of Flash memory is locked, it cannot be written to or erased. Any attempt to do so will consistently fail at the block location.
Chapter 3 Installing the Router If You Need More Information We appreciate your comments. For information on regulatory compliance and safety, refer to Regulatory Compliance and Safety Information for the Cisco 12000 Series Routers, Document Number 78-4347-xx. For additional line card information, refer to the installation and configuration note that accompanied your line card.
Chapter 3 Installing the Router If You Need More Information Cisco 12006 and Cisco 12406 Router Installation and Configuration Guide 3-84 OL-11497-03