CGR 2010
CGR 2010
                                                                                              2
              Preface
Organization
              The document organization is described in the following table:
              1         Overview of the Hardware and                 Describes new hardware and software features in
                        Software                                     this release, features by platform, new slots,
                                                                     common ports, and getting started tasks.
              2         Setup for Initial Configuration              Describes how to perform the initial configuration of
                                                                     the router using the Cisco Setup command facility,
                                                                     verifying the initial configuration, and completing the
                                                                     configuration.
              3         Cisco IOS CLI for Initial                    Describes how to perform the initial configuration of
                        Configuration                                the router using the Cisco IOS command-line
                                                                     interface (CLI), and additional configuration
                                                                     procedures for the router.
              4         Basic Router Configuration                   Describes how to perform the basic router
                                                                     configuration, interface configuration, and routing
                                                                     configuration.
              5         Configuring Backup Data Lines and            Describes how to configure backup interfaces,
                        Remote Management                            configure dial backup, and remote management.
              6         Upgrading the Cisco IOS Software             Describes how to upgrade the Cisco IOS software
                                                                     image on the router or the access point.
              7         Using CompactFlash Memory                    Describes how to use Advanced Capability
                                                                     CompactFlash (CF) memory cards on the router.
              8         Using ROM Monitor                            Describes how to use the ROM monitor to manually
                                                                     load a system image, upgrade the system image when
                                                                     there are no TFTP servers or network connections, or
                                                                     for disaster recovery.
              9         Changing the Configuration Register          Describes the 16-bit configuration register in
                        Settings                                     NVRAM and how to make changes to the register
                                                                     settings using the Cisco IOS CLI.
Conventions
                         This document uses the following conventions:
                          Convention                 Indication
                          bold font                  Commands and keywords and user-entered text appear in bold font.
                          italic font                Document titles, new or emphasized terms, and arguments for which you supply
                                                     values are in italic font.
                          []                         Elements in square brackets are optional.
                          {x | y | z }               Required alternative keywords are grouped in braces and separated by
                                                     vertical bars.
                          [x|y|z]                    Optional alternative keywords are grouped in brackets and separated by
                                                     vertical bars.
                          string                     A nonquoted set of characters. Do not use quotation marks around the string or
                                                     the string will include the quotation marks.
                          courier font               Terminal sessions and information the system displays appear in courier font.
                          <>                         Nonprinting characters such as passwords are in angle brackets.
                          []                         Default responses to system prompts are in square brackets.
                          !, #                       An exclamation point (!) or a pound sign (#) at the beginning of a line of code
                                                     indicates a comment line.
Tip Means the following information will help you solve a problem.
          Caution        Means reader be careful. In this situation, you might perform an action that could result in equipment
                         damage or loss of data.
       Timesaver         Means the described action saves time. You can save time by performing the action described in
                         the paragraph.
         Warning         Means reader be warned. In this situation, you might perform an action that could result in
                         bodily injury.
       The Cisco Connected Grid Router 2010 (Cisco CGR 2010) router is a member of the
       Cisco Connected Grid Router 2000 Series family of routers. The Cisco CGR 2010 router is designed to run
       in the extreme and demanding power substation environment. It is an especially rugged,
       high-performance router that provides LAN and WAN connectivity, field replaceable parts, and feature
       upgrades through software licensing. The Cisco CGR 2010 router is designed to withstand hostile
       environments while continuing to deliver the performance, availability, and reliability to scale
       mission-critical needs.
       Audience
       The Cisco IOS software documentation set is intended primarily for users who configure and maintain
       Cisco networking devices (such as routers and switches) but who may not be familiar with the tasks, the
       relationship between tasks, or the Cisco IOS software commands necessary to perform particular tasks.
       The Cisco IOS software documentation set is also intended for those users experienced with Cisco IOS
       software who need to know about new features, new configuration options, and new software
       characteristics in the current Cisco IOS software release.
       The Cisco Connected Grid Router 2010 router is described in the following sections.
        •   New Features in this Release, page 2
        •   Features by Platform, page 3
        •   Platform Description, page 3
        •   Common Ports, page 4
        •   Activating the Cisco Software License, page 4
        •   Getting Started, page 4
Note   This document is written for experienced technical workers who install, monitor, and troubleshoot
       routers under a service contract, or who work for an information technology (IT) department.
       Americas Headquarters:
       Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Feature                           Description
USB Console                       Cisco Connected Grid Router 2010 provides an additional mechanism for configuring the system
                                  through a personal computer connected to a USB console. The traditional RJ-45 console port is also
                                  available.
Advanced Capability               Cisco Connected Grid Router 2010 uses Advanced Capability CompactFlash memory to store
CompactFlash                      the system image, configuration files, and some software data files. The Advanced Capability
                                  CompactFlach is capable of supporting PIO mode 6 which provides higher transfer rates.
                                  Note     If an Advanced Capability Flash is not available, a warning message is displayed.
SFP/Gigabit Ethernet              Cisco Connected Grid Router 2010 has an SFP 1/Gigabit Ethernet port that supports a maximum of
Port                              two ports of either copper or fiber connections. Media can be configured for failover redundancy
                                  when the network goes down. See the Chapter 1, “Configuring Backup Data Lines and Remote
                                  Management”.
                                  Only the following certified industrial-grade (i-Temp) SFPs are supported:
                                   •   GLC-FE-100FX-RGD—100BASE-FX SFP module for Industrial Ethernet 100-MB ports,
                                       1310 nm wavelength, 2 km over MMF; cable distance supported: 1.24 miles (2 km)
                                   •   GLC-FE-100LX-RGD—100BASE-LX SFP module for Industrial Ethernet 100-MB ports,
                                       1310 nm wavelength, 10 km over SMF; cable distance supported: 6.2 miles (10 km)
                                   •   GLC-ZX-SM-RGD 1000BASE-ZX SFP transceiver module for SMF, 1550-nm wavelength,
                                       industrial Ethernet; cable distance supported: 43.4 to 62 miles (70 to 100 km)
                                   •   GLC-LX-SM-RGD 1000BASE-LX/LH SFP transceiver module for MMF and SMF,
                                       1300-nm wavelength, industrial Ethernet; cable distance supported: 1804 feet (550 m)
                                   •   GLC-SX-MM-RGD 1000BASE-SX SFP transceiver module for MMF, 850-nm wavelength,
                                       industrial Ethernet; cable distance supported: Modal Bandwidth (MHz/km) 400 —1640 feet
                                       (500 m); Modal Bandwidth 500—1804 feet (550 m)
                                  The RJ-45 supports the 10BASE-T, 100BASE-TX and 1000BASE-T IEEE copper standards.
New Module and                    Cisco CGR 2010 introduces the following new vertical module and GRWICs 2 which are inserted in
Interface Card Features           the router slots.
                                   •   GRWIC-1CE1T1-PRI—1-Port T1/E1 GRWIC
                                   •   GRWIC-2CE1T1-PRI—2-Port T1/E1 GRWIC
                                   •   GRWIC-8A/S-232—8-Port A/S Serial GRWIC
                                  Note    See the router’s Hardware Installation Guide for a complete list of supported modules and
                                          interface cards.
1. Small Form-factor Pluggable
2. Grid Router WAN Interface Cards
Features by Platform
                        Table 2 shows new feature support by platform.
Table 2 New Features in this Release for the Cisco CGR 2010 Router Platform
Platform Description
                        The following sections describe the Cisco Connected Grid Router 2010.
Common Ports
                            •   Gigabit Ethernet RJ45/SFP— Ports available through RJ45 and SFP connectors. Connection will
                                fail over if the secondary connection goes down.
                            •   RS232 Aux Port— Supports modem control lines and remote administration for box-to-box
                                redundancy applications.
                            •   RS232 Console Port— Supports modem control lines and remote administration of the router with
                                the proprietary cable shipped in the box.
                            •   Type A USB 2.0—Supports USB-based flash memory sticks, security tokens, and USB-compliant
                                devices.
                            •   Type B USB Console Port— Supports modem control lines and remote administration of the router
                                using a type B USB-compliant cable.
Getting Started
                           Install the router in an appropriate location as described in the Hardware Installation Guide. Connect the
                           router using the appropriate cables, then supply power. Perform the following steps.
            Step 1         See the Chapter 1, “Setup for Initial Configuration” and perform the initial software configuration using
                           Cisco Configuration Professional Express.
            Step 2         See the Chapter 1, “Basic Router Configuration” and perform the basic router configuration.
Contents
            •   Cisco Configuration Professional, page 5
            •   Cisco Setup Command Facility, page 6
            •   Verifying the Initial Configuration, page 9
            •   Completing the Configuration, page 9
           Americas Headquarters:
           Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
              Note      The messages that are displayed will vary based on your router model, the installed interface modules,
                        and the software image. The following example and the user entries (in bold) are shown as examples
                        only.
              Note      If you make a mistake while using the setup command facility, you can exit and run the setup command
                        facility again. Press Ctrl-C, and enter the setup command in privileged EXEC mode (Router#).
            Step 1      Enter the setup command facility using the Cisco IOS command-line interface (CLI) in privileged EXEC
                        mode:
                             Router> enable
                             Password: password
                             Router# setup
                        Note     If you make a mistake while using the setup command facility, you can exit and run the setup
                                 command facility again. Press Ctrl-C, and enter the setup command at the privileged EXEC
                                 mode prompt (Router#). For more information on using the setup command facility, see The
                                 Setup Command chapter in Cisco IOS Configuration Fundamentals Command Reference,
                                 Release 12.2T.
                         At any point you may enter a question mark '?' for help.
                         Use ctrl-c to abort configuration dialog at any prompt.
                         Default settings are in square brackets '[]'.
              Step 4     Enter a hostname for the router (this example uses myrouter):
                         Configuring global parameters:
                         Enter host name [Router]: myrouter
              Step 5     Enter an enable secret password. This password is encrypted (for more security) and cannot be seen
                         when viewing the configuration.
                         The enable secret is a password used to protect access to
                         privileged EXEC and configuration modes. This password, after
                         entered, becomes encrypted in the configuration.
                         Enter enable secret: cisco
              Step 6     Enter an enable password that is different from the enable secret password. This password is not
                         encrypted (and is less secure) and can be seen when viewing the configuration.
                         The enable password is used when you do not specify an
                         enable secret password, with some older software versions, and
                         some boot images.
                         Enter enable password: cisco123
              Step 7     Enter the virtual terminal password, which prevents unauthenticated access to the router through ports
                         other than the console port:
                         The virtual terminal password is used to protect
                         access to the router over a network interface.
                         Enter virtual terminal password: cisco
                         Note       The interface summary includes interface numbering, which is dependent on the router model
                                    and the installed modules and interface cards.
          Step 9      Select one of the available interfaces for connecting the router to the management network:
                      Enter interface name used to connect to the
                      management network from the above interface summary: gigabitethernet0/0
                      hostname myrouter
                      enable secret 5 $1$qjk5$63TwshQT6hdlzZcc.v4VK1
                      enable password lab
                      line vty 0 4
                      password cisco
                      snmp-server community public
                      !
                      no ip routing
                      !
                          interface GigabitEthernet0/0
                          no shutdown
                          ip address 1.8.83.134 255.255.255.0
                          no mop enabled
                      !
                          interface GigabitEthernet0/1
                          shutdown
                          no ip address
                      !
                      end
          Step 11     Respond to the following prompts. Select [2] to save the initial configuration:
                      [0] Go to the IOS command prompt without saving this config.
                      [1] Return back to the setup without saving this config.
                      [2] Save this configuration to nvram and exit.
                         Note       If you see the next message, it means that no other AppleTalk routers were found on the network
                                    attached to the port.
              Step 3     The Router> prompt indicates that you are now at the CLI, and you have just completed a initial router
                         configuration. Nevertheless, this is not a complete configuration. At this point, you have two choices:
                           •   Run the setup command facility again, and create another configuration.
                               Router> enable
                               Password: password
                               Router# setup
                           •   Modify the existing configuration or configure additional features using the CLI:
                               Router> enable
                               Password: password
                               Router# configure terminal
                               Router(config)#
             This module describes how to perform the initial configuration using the Cisco Internet Operating
             System (IOS) command-line interface on Cisco Connected Grid Router 2010.
      Note   We recommend using Cisco Configuration Professional Express, a web-based GUI that lets you perform
             the initial configuration.
Contents
              •   Cisco Configuration Professional Express, page 11
              •   Prerequisites for Initial Software Configuration Using the Cisco IOS CLI, page 12
              •   Using the Cisco IOS CLI to Perform Initial Configuration, page 12
             Americas Headquarters:
             Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
         Timesaver        Before supplying power to the router, disconnect all WAN cables from the router to keep it from trying
                          to run the AutoInstall process. The router tries to run AutoInstall if you power it on while there is a WAN
                          connection on both ends and the router does not have a valid configuration file stored in NVRAM (for
                          instance, when you add a new interface). It can take several minutes for the router to determine that
                          AutoInstall is not connected to a remote TCP/IP host.
SUMMARY STEPS
                            1.   enable
                            2.   configure terminal
                            3.   hostname name
                            4.   Verify that the router prompt displays your new hostname.
                            5.   end
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    hostname name                                                Specifies or modifies the hostname for the network server.
          Example:
          Router(config)# hostname myrouter
Step 4    Verify that the router prompt displays your new              —
          hostname.
          Example:
          myrouter(config)#
Step 5    end                                                          (Optional) Returns to privileged EXEC mode.
          Example:
          myrouter# end
                           For more information, see the “Configuring Security with Passwords, Privilege Levels, and Login
                           Usernames for CLI Sessions on Networking Devices” chapter in Cisco IOS Security Configuration Guide:
                           Securing User Services, Release 15.0. Also, see Cisco IOS Password Encryption Facts and Cisco Guide to
                           Harden Cisco IOS Devices.
Restrictions
                           If you configure the enable secret command, it takes precedence over the enable password command; the
                           two commands cannot be in effect simultaneously.
SUMMARY STEPS
                            1.   enable
                            2.   configure terminal
                            3.   enable password password
                            4.   enable secret password
                            5.   end
                            6.   enable
                            7.   end
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    enable password password                                               (Optional) Sets a local password to control access to various
                                                                                 privilege levels.
          Example:                                                                •   We recommend that you perform this step only if you
          Router(config)# enable password pswd2                                       boot an older image of the Cisco IOS software or if you
                                                                                      boot older boot ROMs that do not recognize the enable
                                                                                      secret command.
Step 4    enable secret password                                                 Specifies an additional layer of security over the enable
                                                                                 password command.
          Example:                                                                •   Do not use the same password that you entered in
          Router(config)# enable secret greentree                                     Step 3.
Step 5    end                                                                    Returns to privileged EXEC mode.
          Example:
          Router(config)# end
          Example:
          Router(config)# end
SUMMARY STEPS
                            1.   enable
                            2.   configure terminal
                            3.   line console 0
                            4.   exec-timeout minutes [seconds]
                            5.   end
                            6.   show running-config
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    line console 0                                               Configures the console line and starts the line configuration
                                                                       command collection mode.
          Example:
          Router(config)# line console 0
          Example:
          Router(config)# end
Step 6    show running-config                                                    Displays the running configuration file.
                                                                                  •   Verify that you properly configured the idle privileged
          Example:                                                                    EXEC timeout.
          Router(config)# show running-config
Examples
                           The following example shows how to set the console idle privileged EXEC timeout to 2 minutes 30
                           seconds:
                           line console
                            exec-timeout 2 30
                           The following example shows how to set the console idle privileged EXEC timeout to 10 seconds:
                           line console
                            exec-timeout 0 10
SUMMARY STEPS
                            1.   enable
                            2.   show ip interface brief
                            3.   configure terminal
                            4.   interface gigabitethernet 0/port
                            5.   media-type {rj45 | sfp}
                            6.   description string
                            7.   ip address ip-address mask
                            8.   no shutdown
                            9.   end
                           10. show ip interface brief
DETAILED STEPS
          Example:
          Router# configure terminal
Step 4    interface gigabitethernet 0/port                    Specifies the Gigabit Ethernet interface and enters interface
                                                              configuration mode.
          Example:
          Router(config)# interface gigabitethernet 0/0
Step 5    media-type       {rj45 | sfp}                       Designates SFP port as the primary media.
                                                              or
          Example:
          Router(config-if)# media-type sfp                   Designates RJ45 as the primary media.
          Router(config-if)#
          Example:
          Router(config-if)# media-type rj45
          Router(config-if)#
Step 6    description string                                  (Optional) Adds a description to an interface configuration.
                                                                •   The description helps you remember what is attached to
          Example:                                                  this interface. The description can be useful for
          Router(config-if)# description GE int to 2nd              troubleshooting.
          floor south wing
Step 7    ip address ip-address mask                          Sets a primary IP address for an interface.
          Example:
          Router(config-if)# ip address 172.16.74.3
          255.255.255.0
Step 8    no shutdown                                         Enables an interface.
          Example:
          Router(config-if)# no shutdown
          Example:
          Router(config)# end
Step 10 show ip interface brief                                                  Displays a brief status of the interfaces that are configured
                                                                                 for IP.
          Example:                                                                •   Verify that the Ethernet interfaces are up and
          Router# show ip interface brief                                             configured correctly.
Examples
                           Sample Output for show interfaces gigabitethernet0/0 and show interfaces gigabitethernet0/1 Commands
                           Router# show interfaces gigabitethernet 0/0
                           GigabitEthernet0/0 is administratively down, line protocol is down
                             Hardware is CN Gigabit Ethernet, address is 0022.bdd4.ba00 (bia 0022.bdd4.ba0)
                             Internet address is 192.168.1.2/24
                             MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
                                reliability 255/255, txload 1/255, rxload 1/255
                             Encapsulation ARPA, loopback not set
                             Keepalive set (10 sec)
                             Full Duplex, 1Gbps, media type is no media
                             output flow-control is unsupported, input flow-control is unsupported
                             ARP type: ARPA, ARP Timeout 04:00:00
                             Last input never, output 01:04:50, output hang never
                             Last clearing of "show interface" counters never
                             Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
                             Queueing strategy: fifo
                             Output queue: 0/40 (size/max)
                             5 minute input rate 0 bits/sec, 0 packets/sec
                             5 minute output rate 0 bits/sec, 0 packets/sec
                                0 packets input, 0 bytes, 0 no buffer
                                Received 0 broadcasts (0 IP multicasts)
                                0 runts, 0 giants, 0 throttles
                                0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
                                0 watchdog, 0 multicast, 0 pause input
                                1 packets output, 60 bytes, 0 underruns
                                0 output errors, 0 collisions, 0 interface resets
                                0 unknown protocol drops
                                0 babbles, 0 late collision, 0 deferred
                                0 lost carrier, 0 no carrier, 0 pause output
                                0 output buffer failures, 0 output buffers swapped out
                           Router#
IP Routing
                          You can configure integrated routing and bridging (IRB) so the router can route and bridge
                          simultaneously. The router will act as an IP host on the network whether routing is enabled or not. For
                          more information about IRB, see Integrated Routing and Bridging (IRB).
                          IP routing is automatically enabled in the Cisco IOS software. When IP routing is configured, the system
                          uses a configured or learned route to forward packets, including a configured default route.
               Note       This task section does not apply when IP routing is disabled. To specify a default route when IP routing
                          is disabled, refer to Configuring a Gateway of Last Resort Using IP Commands.
Default Routes
                          A router might not be able to determine the routes to all other networks. To provide complete routing
                          capability, the common practice is to use some routers as smart routers and give the remaining routers
                          default routes to the smart router. (Smart routers have routing table information for the entire
                          internetwork.) These default routes can be passed along dynamically, or can be configured into the
                          individual routers.
                          Most dynamic interior routing protocols include a mechanism for causing a smart router to generate
                          dynamic default information that is then passed along to other routers.
Default Network
                          If a router has an interface that is directly connected to the specified default network, the dynamic routing
                          protocols running on the router will generate or source a default route. In the case of Routing Information
                          Protocol (RIP), the router advertises the pseudonetwork 0.0.0.0. In the case of Interior Gateway Routing
                          Protocol (IGRP), the network itself is advertised and flagged as an exterior route.
                          A router that is generating the default for a network also may need a default of its own. One way a router
                          can generate its own default is to specify a static route to the network 0.0.0.0 through the appropriate
                          device.
SUMMARY STEPS
                           1.   enable
                           2.   configure terminal
                           3.   ip routing
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    ip routing                                                    Enables IP routing.
          Example:
          Router(config)# ip routing
Step 4    ip route dest-prefix mask next-hop-ip-address                 Establishes a static route.
          [admin-distance] [permanent]
          Example:
          Router(config)# ip route 192.168.24.0
          255.255.255.0 172.28.99.2
Step 5    ip default-network network-number                             Selects a network as a candidate route for computing the
          or                                                            gateway of last resort.
          ip route dest-prefix mask next-hop-ip-address
                                                                        Creates a static route to network 0.0.0.0 0.0.0.0 for
                                                                        computing the gateway of last resort.
          Example:
          Router(config)# ip default-network 192.168.24.0
          Example:
          Router(config)# ip route 0.0.0.0 0.0.0.0
          172.28.99.1
Step 6    end                                                           Returns to privileged EXEC mode.
          Example:
          Router(config)# end
Step 7    show ip route                                                 Displays the current routing table information.
                                                                          •   Verify that the gateway of last resort is set.
          Example:
          Router# show ip route
Examples
                          Sample Output for show ip route Command
                          Router# show ip route
                          Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
                                 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                                 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                                 E1 - OSPF external type 1, E2 - OSPF external type 2
                                 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                                 ia - IS-IS inter area, * - candidate default, U - per-user static route
                                 o - ODR, P - periodic downloaded static route, + - replicated route
SUMMARY STEPS
                           1.   enable
                           2.   configure terminal
                           3.   line vty line-number [ending-line-number]
                           4.   password password
                           5.   login
                           6.   end
                           7.   show running-config
                           8.   From another network device, attempt to open a Telnet session to the router.
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    line vty line-number [ending-line-number]                   Starts the line configuration command collection mode for
                                                                      the vty for remote console access.
          Example:                                                      •   Make sure that you configure all vty lines on your
          Router(config)# line vty 0 4                                      router.
                                                                      Note      To verify the number of vty lines on your router, use
                                                                                the line vty ? command.
Step 4    password password                                           Specifies a password on a line.
          Example:
          Router(config-line)# password guessagain
Step 5    login                                                       Enables password checking at login.
          Example:
          Router(config-line)# login
Step 6    end                                                         Returns to privileged EXEC mode.
          Example:
          Router(config-line)# end
Step 7    show running-config                                         Displays the running configuration file.
                                                                        •   Verify that you properly configured the virtual terminal
          Example:                                                          lines for remote access.
          Router# show running-config
Step 8    From another network device, attempt to open a Telnet       Verifies that you can remotely access the router and that the
          session to the router.                                      virtual terminal line password is correctly configured.
          Example:
          Router# 172.16.74.3
          Password:
Examples
                           The following example shows how to configure virtual terminal lines with a password:
                           !
                           line vty 0 4
                              password guessagain
                              login
                          !
What to Do Next
                          After you configure the vty lines, complete these steps:
                           •    (Optional) To encrypt the virtual terminal line password, see the “Configuring Security with
                                Passwords, Privilege Levels, and Login Usernames for CLI Sessions on Networking Devices”
                                section of Cisco IOS Security Configuration Guide: Securing User Services, Release 15.0. Also, see
                                Cisco IOS Password Encryption Facts.
                           •    (Optional) To secure the vty lines with an access list, see Cisco IOS Security Configuration Guide:
                                Securing the Data Plane, Release 15.0.
                           •    (Optional) To configure an ACL on the line for the Ethernet Switch Module (ESM) to secure access
                                to the CGR 2010 and ESM, see Securing Access to the Ethernet Switch Module (ESM), page 24.
SUMMARY STEPS
                           1.   enable
                           2.   show line
                           3.   configure terminal
                           4.   line line-number
                           5.   access-class access-list-number in
                           6.   access-class access-list-number out
                           7.   access-list access-list-number deny tcp any any eq 2003
                           8.   access-list access-list-number permit ip any any
                           9.   end
                          10. write memory
DETAILED STEPS
          Example:
          Router# configure terminal
Step 4    line line-number                                   Identifies a specific line for configuration and enters line
                                                             configuration collection mode.
          Example:
          Router(config)# line 3
Step 5    access-class access-list-number in                 Creates an access list to control incoming connections on
                                                             the line.
          Example:
          Router(config-line)# access-class 100 in
Step 6    access-class access-list-number out                Creates an access list to control outgoing connections on the
                                                             line.
          Example:
          Router(config-line)# access-class 100 out
Step 7    access-list access-list-number deny tcp any any    Denies all TCP connections on port number 2003 (ESM
          eq 2003                                            port).
          Example:
          access-list 100 deny tcp any any eq 2003
Step 8    access-list access-list-number permit ip any any   Allows all other IP connections.
          Example:
          access-list 100 permit ip any any
Step 9    end                                                Returns to privileged EXEC mode.
          Example:
          Router(config-line)# end
Step 10 write memory                                         Sets to boot the system image from flash memory.
          Example:
          Router# write memory
                          Example
                          In the following example, lines 3 and 131 correspond to ESMs in slots 0 and 2, respectively. This
                          example shows configuring the access list for line 3:
                          Router> enable
                          Router# show line
                             Tty Line Typ     Tx/Rx    A Modem Roty AccO           AccI   Uses Noise Overruns Int
                          *     0    0 CTY              -    -      -              -      -    21      0    0/0               -
                          *     1    1 AUX   9600/9600 -     -      -              -      -     1      0    0/0               -
                                3    3 TTY 115200/115200-    -      -              -      -     2      0    0/0               -
                          *   131 131 TTY 115200/115200-     -      -              -      -     6      0    0/0               -
                              132 132 VTY               -    -      -              -      -     5      0    0/0               -
                              133 133 VTY               -    -      -              -      -     0      0    0/0               -
                              134 134 VTY               -    -      -              -      -     0      0    0/0               -
                              135 135 VTY               -    -      -              -      -     0      0    0/0               -
                              136 136 VTY               -    -      -              -      -     0      0    0/
                          ==
                          Router# configure terminal
                          Router(config)# line 3
                          Router(config-line)# access-class 100 in
                          Router(config-line)# access-class 100 out
                          !
                          Router(config-line)# access-list 100 deny tcp any any eq 2003
                          Router(config-line)# access-list 100 permit ip any any
                          !
                          Router(config-line)# end
                          Router# write memory
SUMMARY STEPS
                           1.   enable
                           2.   configure terminal
                           3.   line aux 0
                           4.   See the tech notes and sample configurations to configure the line for your particular
                                implementation of the AUX port.
DETAILED STEPS
          Example:
          Router# configure terminal
Step 3    line aux 0                                                   Starts the line configuration command collection mode for
                                                                       the auxiliary line.
          Example:
          Router(config)# line aux 0
Step 4    See the tech notes and sample configurations to              —
          configure the line for your particular implementation
          of the AUX port.
Prerequisites
                            •    Complete all previous configuration tasks in this document.
                            •    The router must be connected to a properly configured network host.
SUMMARY STEPS
                            1.   enable
                            2.   ping [ip-address | hostname]
                            3.   telnet {ip-address | hostname}
DETAILED STEPS
Examples
                           The following display shows an example output for the ping command when you ping the IP address
                           172.25.212.39:
                           Router# ping
                           Protocol [ip]:
                           Target IP address: 172.25.212.39
                           Repeat count [5]:
                           Datagram size [100]:
                           Timeout in seconds [2]:
                           Extended commands [n]:
                           Sweep range of sizes [n]:
                           Type escape sequence to abort.
                           Sending 5, 100-byte ICMP Echos to 172.25.212.39, timeout is 2 seconds:
                           !!!!!
                           Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
                           Router#
                           The following display shows an example output for the ping command when you ping the IP hostname
                           donald:
                           Router# ping donald
SUMMARY STEPS
                            1.   enable
                            2.   copy running-config startup-config
DETAILED STEPS
SUMMARY STEPS
                            1.   enable
                            2.   copy nvram:startup-config {ftp: | rcp: | tftp:}
                            3.   show {flash0 | flash1}:
                            4.   copy {flash0 | flash1}: {ftp: | rcp: | tftp:}
DETAILED STEPS
Examples
                           Copying the Startup Configuration to a TFTP Server: Example
                           The following example shows the startup configuration being copied to a TFTP server:
                           Router# copy nvram:startup-config tftp:
Router#
                          where:
                            •   all—Displays all environmental monitor parameters
                            •   last—Displays the last environmental monitor parameters
                            •   table—Displays the table of temperature and voltage ranges
                          The following example shows a sample output of the show environment all command. In the following
                          example, the power supplies are external:
                          Router# show environment all
                          SYSTEM POWER SUPPLY STATUS
                          ==========================
                           Internal Power Supply 1 Type: AC-POE
                           Internal Power Supply 1 POE Output Status: Normal
                        SYSTEM WATTAGE
                        ===============
                         Motherboard Components Power consumption = 19.024 W
                         Total System Power consumption is: 19.024 W
Router#
                        The following example shows a sample output of the show environment last command. In the following
                        example, the power supplies are external:
                        Router# show environment last
                        SYSTEM POWER SUPPLY STATUS
                        ==========================
                         Internal Power Supply 1 Type: AC-POE
                         Internal Power Supply 1 POE Output Status: Normal
                        The following example shows a sample output of the show environment table command. In the
                        following example, the power supplies are external:
                        Router# show environment table
                        SYSTEM POWER SUPPLY STATUS
                        ==========================
                         Internal Power Supply 1 Type: AC-POE
                         Internal Power Supply 1 POE Output Status: Normal
                         SYSTEM VOLTAGES
                         ===============
                          12V voltage = 11.944 V, Normal
                          5V voltage = 5.028 V, Normal
                          3.3V voltage = 3.288 V, Normal
                          2.5V voltage = 2.512 V, Normal
                          1.8V voltage = 1.801 V, Normal
                          1.2V voltage = 1.202 V, Normal
                          ASIC voltage = 1.052 V, Normal
                          CPU Core voltage = 1.065 V, Normal
                         SYSTEM WATTAGE
                         ===============
                          Motherboard Components Power consumption = 19.245 W
                          Total System Power consumption is: 19.245 W
This document provides basic configuration procedures for the Cisco Connected Grid Router 2010. It also
includes configuration examples and verification steps, when possible.
Basic Configuration
 •   Default Configuration, page 34
 •   Configuring Basic Parameters, page 35
Interface Configuration
 •   Interface Ports, page 36
 •   Configuring Gigabit Ethernet Interfaces, page 36
 •   Configuring a Loopback Interface, page 37
Routing Configuration
 •   Configuring Command-Line Access, page 39
 •   Configuring Static Routes, page 40
 •   Configuring Dynamic Routes, page 42
 •   Typical Example of a Cisco CGR 2010 Configuration, page 44
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Default Configuration
                         When you boot up your Cisco router for the first time, you will notice a default configuration has already
                         been performed. Use the show running-config command to view the initial configuration, as shown in the
                         following example:
                         Router# show running-config
                         Building configuration...
                         Current configuration : 961 bytes
                         !
                         ! Last configuration change at 20:41:11 UTC Thu Mar 1 1900
                         !
                           version 15.1
                           service timestamps debug datetime msec
                           service timestamps log datetime msec
                           no service password-encryption
                           service internal
                         !
                           hostname Router
                         !
                           boot-start-marker
                           boot-end-marker
                         !
                         !
                           no aaa new-model
                         !
                           no ipv6 cef
                           ip source-route
                         ip cef
                         !
                         !
                         !
                         !
                           multilink bundle-name authenticated
                         !
                         !
                         !
                         !
                           license udi pid CISCOCGR2010/K9 sn FHH1338P007
                         !
                         !
                         !
                         !
                         !
                         !
                         !
                         !
                         interface GigabitEthernet0/0
                           ip address 172.25.212.39 255.255.255.128
                           duplex auto
                           speed auto
                         !
                         interface GigabitEthernet0/1
                           no ip address
                           duplex auto
                           speed auto
                         !
                         ip default-gateway 172.25.212.1
                         ip forward-protocol nd
                         !
                         no ip http server
                         !
                         !
                         ip route 0.0.0.0 0.0.0.0 172.19.164.1
                         ip route 0.0.0.0 0.0.0.0 172.25.212.1
                         !
                         !
                         !
                         !
                         control-plane
                         !
                         !
                         line con 0
                         exec-timeout 2 30
                         line aux 0
                         line vty 0 4
                         login
                         transport input all
                         !
                         exception data-corruption buffer truncate
                         scheduler allocate 20000 1000
                         end
                         Router#
                         Command                                                Purpose
               Step 1    configure terminal                                     Enters global configuration mode, when using the
                                                                                console port.
                         Example:
                                                                                Use the following to connect to the router with a
                         Router> enable
                                                                                remote terminal:
                         Router# configure terminal
                         Router(config)#                                        telnet router name or address
                                                                                Login: login id
                                                                                Password: *********
                                                                                Router> enable
                         Example:
                         Router(config)# hostname Router
                         Router(config)#
                         Command                                                Purpose
             Step 3      enable secret password                                 Specifies an encrypted password to prevent
                                                                                unauthorized access to the router.
                         Example:
                         Router(config)# enable secret cr1ny5ho
                         Router(config)#
             Step 4      no ip domain-lookup                                    Disables the router from translating unfamiliar
                                                                                words (typos) into IP addresses.
                         Example:
                         Router(config)# no ip domain-lookup
                         Router(config)#
Interface Ports
                         Table 1 lists the interfaces that are supported on the Cisco CGR 2010.
                         Command                                                    Purpose
             Step 1      interface gigabitethernet slot/port                        Enters the configuration mode for a Gigabit
                                                                                    Ethernet interface on the router.
                         Example:
                         Router(config)# interface gigabitethernet 0/1
                         Router(config-if)#
             Step 2      ip address ip-address mask                                 Sets the IP address and subnet mask for the
                                                                                    specified Gigabit Ethernet interface.
                         Example:
                         Router(config-if)# ip address 192.168.12.2
                         255.255.255.0
                         Router(config-if)#
                         Command                                                      Purpose
               Step 3    media-type    {rj45 | sfp}                                   Designates SFP port as the primary media.
                                                                                      or
                         Example:
                         Router(config-if)# media-type sfp                            Designates RJ45 as the primary media.
                         Router(config-if)#
                         Example:
                         Router(config-if)# media-type rj45
                         Router(config-if)#
               Step 4    no shutdown                                                  Enables the Gigabit Ethernet interface,
                                                                                      changing its state from administratively down
                         Example:                                                     to administratively up.
                         Router(config-if)# no shutdown
                         Router(config-if)#
               Step 5    exit                                                         Exits configuration mode for the Gigabit
                                                                                      Ethernet interface and returns to global
                         Example:                                                     configuration mode.
                         Router(config-if)# exit
                         Router(config)#
To configure a loopback interface perform these steps, beginning in global configuration mode:
                         Command                                               Purpose
             Step 1      interface type number                                 Enters configuration mode for the loopback
                                                                               interface.
                         Example:
                         Router(config)# interface Loopback 0
                         Router(config-if)#
             Step 2      ip address ip-address mask                            Sets the IP address and subnet mask for the
                                                                               loopback interface.
                         Example:
                         Router(config-if)# ip address 10.108.1.1
                         255.255.255.0
                         Router(config-if)#
             Step 3      exit                                                  Exits configuration mode for the loopback
                                                                               interface and returns to global configuration
                         Example:                                              mode.
                         Router(config-if)# exit
                         Router(config)#
Example
                        The loopback interface in this sample configuration is used to support Network Address Translation
                        (NAT) on the virtual-template interface. This configuration example shows the loopback interface
                        configured with an IP address of 200.200.100.1/32, which acts as a static IP address.The loopback
                        interface points back to virtual-template1, which has a negotiated IP address.
                        !
                        interface Loopback0
                          ip address 200.200.100.1 255.255.255.255
                        !
Verifying Configuration
                        To verify that you have properly configured the loopback interface, enter the show interface loopback
                        command. You should see verification output similar to the following example:
                        Router# show interfaces loopback 0
                        Loopback0 is up, line protocol is up
                          Hardware is Loopback
                          Internet address is 200.200.100.1/32
                          MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec,
                             reliability 255/255, txload 1/255, rxload 1/255
                          Encapsulation LOOPBACK, loopback not set
                          Keepalive set (10 sec)
                          Last input never, output never, output hang never
                          Last clearing of "show interface" counters never
                          Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
                          Queueing strategy: fifo
                          Output queue: 0/0 (size/max)
                          5 minute input rate 0 bits/sec, 0 packets/sec
                          5 minute output rate 0 bits/sec, 0 packets/sec
                             0 packets input, 0 bytes, 0 no buffer
                             Received 0 broadcasts (0 IP multicasts)
                             0 runts, 0 giants, 0 throttles
                             0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
                        Command                                                Purpose
              Step 1    line [aux | console | tty | vty]                       Enters line configuration mode, and specifies the
                        line-number                                            type of line.
                        Example:
                        Router(config-line)# line vty 0 4
                        Router(config-line)#
                         Command                                               Purpose
             Step 6      password password                                     Specifies a unique password for the virtual
                                                                               terminal line.
                         Example:
                         Router(config-line)# password aldf2ad1
                         Router(config-line)#
             Step 7      login                                                 Enables password checking at the virtual terminal
                                                                               session login.
                         Example:
                         Router(config-line)# login
                         Router(config-line)#
             Step 8      end                                                   Exits line configuration mode, and returns to
                                                                               privileged EXEC mode.
                         Example:
                         Router(config-line)# end
                         Router#
Example
                         The following configuration shows the command-line access commands.
                         You do not need to input the commands marked “(default).” These commands appear automatically in the
                         configuration file generated when you use the show running-config command.
                         !
                         line con 0
                         exec-timeout 10 0
                         password 4youreyesonly
                         login
                         transport input none (default)
                         stopbits 1 (default)
                         line vty 0 4
                         password secret
                         login
                         !
                         Command                                               Purpose
               Step 1    ip route prefix mask {ip-address |                    Specifies the static route for the IP packets.
                         interface-type interface-number
                         [ip-address]}                                         For details about this command and about
                                                                               additional parameters that can be set, see Cisco
                         Example:                                              IOS IP Command Reference, Volume 2 of 4:
                         Router(config)# ip route 192.168.1.0                  Routing Protocols, Release 12.3
                         255.255.0.0 10.10.10.2
               Step 2    end                                                   Exits router configuration mode, and enters
                                                                               privileged EXEC mode.
                         Example:
                         Router(config)# end
                         Router#
Example
                        In the following configuration example, the static route sends out all IP packets with a destination IP
                        address of 192.168.1.0 and a subnet mask of 255.255.255.0 on the Gigabit Ethernet interface to another
                        device with an IP address of 10.10.10.2. Specifically, the packets are sent to the configured permanent
                        virtual circuit.
                        You do not need to enter the command marked “(default).” This command appears automatically in the
                        configuration file generated when you use the show running-config command.
                        !
                        ip classless (default)
                        ip route 172.168.1.0 255.255.255.0 10.10.10.2!
Verifying Configuration
                        To verify that you have properly configured static routing, enter the show ip route command and look for
                        static routes signified by the “S.”
                        You should see verification output similar to the following:
                        Router# show ip route
                        Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
                               D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                               N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                               E1 - OSPF external type 1, E2 - OSPF external type 2
                               i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                               ia - IS-IS inter area, * - candidate default, U - per-user static route
                               o - ODR, P - periodic downloaded static route, + - replicated route
                        Command                                                Task
             Step 1     router rip                                             Enters router configuration mode, and enables RIP
                                                                               on the router.
                        Example:
                        Router> configure terminal
                        Router(config)# router rip
                        Router(config-router)#
             Step 2     version {1 | 2}                                        Specifies use of RIP version 1 or 2.
                        Example:
                        Router(config-router)# version 2
                        Router(config-router)#
             Step 3     network ip-address                                     Specifies a list of networks on which RIP is to be
                                                                               applied, using the address of the network of each
                        Example:                                               directly connected network.
                        Router(config-router)# network 192.168.1.1
                        Router(config-router)# network 10.10.7.1
                        Router(config-router)#
             Step 4     no auto-summary                                        Disables automatic summarization of subnet routes
                                                                               into network-level routes. This allows subprefix
                        Example:                                               routing information to pass across classful network
                        Router(config-router)# no auto-summary                 boundaries.
                        Router(config-router)#
             Step 5     end                                                    Exits router configuration mode, and enters
                                                                               privileged EXEC mode.
                        Example:
                        Router(config-router)# end
                        Router#
Example
                        The following configuration example shows RIP version 2 enabled in IP network 10.0.0.0 and
                        192.168.1.0.
                        To see this configuration, use the show running-config command from privileged EXEC mode.
                        !
                        Router# show running-config
                        router rip
                          version 2
                          network 10.0.0.0
                          network 192.168.1.0
                          no auto-summary
                        !
Verifying Configuration
                        To verify that you have properly configured RIP, enter the show ip route command and look for RIP
                        routes signified by “R.” You should see a verification output like the example shown below.
                        Router# show ip route
                        Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
                               D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                               N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                               E1 - OSPF external type 1, E2 - OSPF external type 2
                               i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                               ia - IS-IS inter area, * - candidate default, U - per-user static route
                               o - ODR, P - periodic downloaded static route
                         Command                                             Purpose
               Step 1    router eigrp as-number                              Enters router configuration mode, and enables
                                                                             EIGRP on the router. The autonomous-system
                         Example:                                            number identifies the route to other EIGRP routers
                         Router(config)# router eigrp 109                    and is used to tag the EIGRP information.
                         Router(config)#
               Step 2    network ip-address                                  Specifies a list of networks on which EIGRP is to
                                                                             be applied, using the IP address of the network of
                         Example:                                            directly connected networks.
                         Router(config)# network 192.145.1.0
                         Router(config)# network 10.10.12.115
                         Router(config)#
               Step 3    end                                                 Exits router configuration mode, and enters
                                                                             privileged EXEC mode.
                         Example:
                         Router(config-router)# end
                         Router#
Example
                        The following configuration example shows the EIGRP routing protocol enabled in IP networks
                        192.145.1.0 and 10.10.12.115. The EIGRP autonomous system number is 109.
                        To see this configuration use the show running-config command, beginning in privileged EXEC mode.
                        !
                        router eigrp 109
                            network 192.145.1.0
                                network 10.10.12.115
                        !
Verifying Configuration
                        To verify that you have properly configured IP EIGRP, enter the show ip route command, and look for
                        EIGRP routes indicated by “D.” You should see verification output similar to the following:
                        Router# show ip route
                        Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
                               D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                               N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                               E1 - OSPF external type 1, E2 - OSPF external type 2
                               i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                               ia - IS-IS inter area, * - candidate default, U - per-user static route
                               o - ODR, P - periodic downloaded static route
                       no ipv6 cef
                       ip source-route
                       ip cef
                       !
                       !
                       !
                       !
                       multilink bundle-name authenticated
                       !
                       !
                       crypto pki token default removal timeout 0
                       !
                       !
                       license feature snasw
                       license udi pid CGR-2010/K9 sn FHH1338P00S
                       license boot module cgr2010 technology-package datak9
                       !
                       !
                       !
                       redundancy
                       !
                       !
                       !
                       !
                       bstun peer-name 192.168.1.2
                       bstun protocol-group 1 async-generic
                       !
                       !
                       !
                       interface GigabitEthernet0/0
                         ip address 192.168.1.2 255.255.255.0
                         shutdown
                         duplex auto
                         speed auto
                       !
                       interface GigabitEthernet0/1
                         no ip address
                         duplex auto
                         speed auto
                       !
                       interface Serial0/0/1
                         no ip address
                         shutdown
                       !
                       interface Serial0/0/2
                         no ip address
                         shutdown
                       !
                       interface Serial0/0/3
                         no ip address
                         shutdown
                       !
                       interface Serial0/0/4
                         no ip address
                         shutdown
                         clock rate 128000
                       !
                       interface Serial0/0/5
                         no ip address
                         shutdown
                         clock rate 128000
                       !
                       interface Serial0/0/6
                         no ip address
                        shutdown
                        clock rate 128000
                      !
                      interface Serial0/0/7
                        no ip address
                        shutdown
                        clock rate 128000
                      !
                      interface Serial0/0/0
                        physical-layer async
                        no ip address
                        encapsulation bstun
                        bstun group 1
                        bstun route all tcp 192.168.1.1
                        asp role secondary
                        asp addr-offset 0
                      !
                      !
                      ip forward-protocol nd
                      !
                      no ip http server
                      no ip http secure-server
                      !
                      ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
                      !
                      !
                      !
                      !
                      !
                      !
                      snmp-server community public RW
                      !
                      control-plane
                      !
                      !
                      line con 0
                      line aux 0
                      line 0/0/0
                        no activation-character
                        stopbits 1
                      line vty 0 4
                        login
                        transport input all
                      !
                      exception data-corruption buffer truncate
                      scheduler allocate 20000 1000
                      end
           The Cisco Connected Grid Router 2010 supports remote management and backup data connectivity. The
           following sections describe how to configure backup data lines and remote management:
            •   Configuring Backup Interfaces, page 47
            •   Configuring Dial Backup and Remote Management Through the Console Port or Auxiliary Port,
                page 49
           Americas Headquarters:
           Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
                       Command                                               Purpose
           Step 1      configure terminal                                    Enters global configuration mode, when using
                                                                             the console port.
                       Example:
                                                                             Use the following to connect to the router with
                       Router> enable
                                                                             a remote terminal:
                       Router# configure terminal
                       Router(config)#                                       telnet router name or address
                                                                             Login: login id
                                                                             Password: *********
                                                                             Router> enable
                       Example:
                       Router(config)# hostname Router
                       Router(config)#
           Step 3      enable secret password                                Specifies an encrypted password to prevent
                                                                             unauthorized access to the router.
                       Example:
                       Router(config)# enable secret cr1ny5ho
                       Router(config)#
           Step 4      interface gigabitethernet slot/port                   Enters interface configuration mode.
                       Example:
                       Router(config)# interface gigabitethernet 0/1
                       Router(config-if)#
           Step 5      media-type sfp                                        Designates SFP port as the primary media.
                                                                             or
                       Example:
                       Router(config-if)# media-type sfp                     Designates RJ45 as the primary media.
                       Router(config-if)#
                       Example:
                       Router(config-if)# media-type rj45
                       Router(config-if)#
           Step 6      media-type sfp auto-fail-over                         System will automatically failover from RJ45
                                                                             to SFP when it goes down, reloads, and is
                       Example:                                              unable to bring up primary media. Port is
                       Router(config-if)# media-type RJ45                    configured with RJ45 as the primary media by
                       auto-fail-over                                        default.
                       Router(config-if)#
                                                                             or
                       Example:                                              Configure the port with SFP as the primary
                       Router(config-if)# media-type sfp                     media for automatic failover from SFP to RJ45
                       auto-fail-over                                        when the system goes down, reloads, and is
                       Router(config-if)#                                    unable to bring up primary media.
           Step 7      end                                                   Exits to global configuration mode.
SUMMARY STEPS
                       1.   ip name-server server-address
                       2.   ip dhcp pool name
                       3.   exit
                       4.   chat-script script-name expect-send
                       5.   interface type number
                       6.   exit
                       7.   interface type number
                       8.   dialer watch-group group-number
                       9.   exit
                       10. ip nat inside source {list access-list-number} {interface type number | pool name} [overload]
                       11. ip route prefix mask {ip-address | interface-type interface-number [ip-address]}
                       12. access-list access-list-number {deny | permit} source [source-wildcard]
                       13. dialerwatch-list group-number {ip ip-address address-mask | delay route-check initial seconds}
                       14. line [aux | console | tty | vty] line-number [ending-line-number]
                       15. modem enable
                       16. exit
                       17. line [aux | console | tty | vty] line-number [ending-line-number]
                       18. flowcontrol {none | software [lock] [in | out] | hardware [in | out]}
DETAILED STEPS
                         Command                                                        Purpose
              Step 1     ip name-server server-address                                  Enters your ISP DNS IP address.
                                                                                        Tip       You may add multiple server addresses if
                         Example:                                                                 available.
                         Router(config)# ip name-server
                         192.168.28.12
              Step 2     ip dhcp pool name                                              Creates a DHCP address pool on the router and
                                                                                        enters DHCP pool configuration mode. The name
                                                                                        argument can be a string or an integer.
                         Example:
                         Router(config)# ip dhcp pool 1                                 Configure the DHCP address pool. For sample
                                                                                        commands that you can use in DHCP pool
                                                                                        configuration mode, see the “Example” section on
                                                                                        page 52.
              Step 3     exit                                                           Exits DHCP pool configuration mode and enters
                                                                                        global configuration mode.
                         Example:
                         Router(config-dhcp)# exit
              Step 4     chat-script script-name expect-send                            Configures a chat script for use in
                                                                                        Dial-on-Demand Routing to give commands for
                                                                                        dialing a modem and for logging in to remote
                         Example:                                                       systems. The defined script is used to place a call
                         Router(config)# chat-script Dialout ABORT
                         ERROR ABORT BUSY ““ “AT” OK “ATDT 5555102
                                                                                        over a modem connected to the public switched
                         T” TIMEOUT 45 CONNECT \c                                       telephone network.
              Step 5     interface type number                                          Creates asynchronous interface and enters
                                                                                        configuration mode for the asynchronous
                                                                                        interface.
                         Example:
                         Router(config)# interface Async 1                              Configures the asynchronous interface. For
                                                                                        sample commands that you can use in
                                                                                        asynchronous interface configuration mode, see
                                                                                        the “Example” section on page 52.
              Step 6     exit                                                           Exits interface configuration mode and enters
                                                                                        global configuration mode.
                         Example:
                         Router(config-if)# exit
              Step 7     interface type number                                          Creates dialer interface and enters configuration
                                                                                        mode for the dialer interface.
                         Example:
                         Router(config)# interface Dialer 3
              Step 8     dialer watch-group group-number                                Specifies the group number for the dialer watch
                                                                                        list.
                         Example:
                         Router(config-if)# dialer watch-group 1
                        Command                                                   Purpose
              Step 9    exit                                                      Exits interface configuration mode and enters
                                                                                  global configuration mode.
                        Example:
                        Router(config-if)# exit
              Step 10   ip nat inside source {list access-list-number}            Enables dynamic translation of addresses on the
                        {interface type number | pool name} [overload]            inside interface.
                        Example:
                        Router(config)# ip nat inside source list
                        101 interface Dialer 3 overload
              Step 11   ip route prefix mask {ip-address | interface-type         Sets the IP route to point to the dialer interface as a
                        interface-number [ip-address]}                            default gateway.
                        Example:
                        Router(config)# ip route 0.0.0.0 0.0.0.0
                        22.0.0.2#
              Step 12   access-list access-list-number {deny | permit}            Defines an extended access list that indicates
                        source [source-wildcard]                                  which addresses need translation.
                        Example:
                        Router(config)# access-list 1 permit
                        192.168.0.0 0.0.255.255 any
              Step 13   dialerwatch-list group-number {ip ip-address              Evaluates the status of the primary link, based on
                        address-mask | delay route-check initial                  the existence of routes to the peer. The address
                        seconds}                                                  22.0.0.2 is the peer IP address of the ISP.
                        Example:
                        Router(config)# dialer watch-list 1 ip
                        22.0.0.2 255.255.255.255
              Step 14   line [aux | console | tty | vty] line-number              Enters configuration mode for the line interface.
                        [ending-line-number]
                        Example:
                        Router(config)# line console 0#
              Step 15   modem enable                                              Switches the port from console port to auxiliary
                                                                                  port function.
                        Example:
                        Router(config-line)# modem enable
              Step 16   exit                                                      Exits line configuration mode and returns to
                                                                                  global configuration mode.
                        Example:
                        Router(config-line)# exit
                       Command                                                        Purpose
            Step 17    line [aux | console | tty | vty] line-number                   Enters configuration mode for the auxiliary
                       [ending-line-number]                                           interface.
                       Example:
                       Router(config)# line aux 0
            Step 18    flowcontrol {none | software [lock] [in | out] |               Enables hardware signal flow control.
                       hardware [in | out]}
                       Example:
                       Router(config-line)# flowcontrol hardware
                      Example
                      The following configuration example specifies an IP address for the T1 interface through PPP and IP
                      Control Protocol (IPCP) address negotiation and specifies dial backup over the console port.
                      !
                      ip name-server 192.168.28.12
                      ip dhcp excluded-address 192.168.1.1
                      !
                      ip dhcp pool 1
                        import all
                        network 192.168.1.0 255.255.255.0
                        default-router 192.168.1.1
                      !
                      ! Need to use your own correct ISP phone number.
                      modemcap entry MY-USER_MODEM:MSC=&F1S0=1
                      chat-script Dialout ABORT ERROR ABORT BUSY ““ “AT” OK “ATDT 5555102\T”
                      TIMEOUT 45 CONNECT \c
                      !
                      !
                      !
                      !
                      interface vlan 1
                        ip address 192.168.1.1 255.255.255.0
                        ip nat inside
                        ip tcp adjust-mss 1452
                        hold-queue 100 out
                      !
                      ! Dial backup and remote management physical interface.
                      interface Async1
                        no ip address
                        encapsulation ppp
                        dialer in-band
                        dialer pool-member 3
                        async default routing
                        async dynamic routing
                        async mode dedicated
                        ppp authentication pap callin
                      !
                      interface Serial0/0/0
                        no ip address
                        shutdown
                        clock rate 128000
                      !
                      !
                      dsl operating-mode auto
                      !
                      !
                      ! Dial backup will kick in if primary                  link is not available
                      ! 5 minutes after CPE starts up.
                      dialer watch-list 1 delay route-check                  initial 300
                      dialer-list 1 protocol ip permit
                      !
                      ! Direct traffic to an interface only                  if the dialer is assigned an IP address.
                      route-map main permit 10
                        match ip address 101
                        match interface Dialer1
                      !
                      route-map secondary permit 10
                        match ip address 103
                        match interface Dialer3
                      !
                      ! Change console to aux function.
                      line con 0
                        exec-timedout 0 0
                        modem enable
                        stopbits 1
                      line aux 0
                        exec-timeout 0 0
                        ! To enable and communicate with the                 external modem properly.
                        script dialer Dialout
                        modem InOut
                        modem autoconfigure discovery
                        transport input all
                        stopbits 1
                        speed 115200
                        flowcontrol hardware
                      line vty 0 4
                        exec-timeout 0 0
                        password cisco
                        login
                      !
                      scheduler max-task-time 5000
                      end
             This document describes how to upgrade the Cisco Internetworking Operating System (IOS) software
             image on the Cisco Connected Grid Router 2010.
Contents
              • Restrictions for Upgrading the System Image, page 55
              • Information About Upgrading the System Image, page 56
              • How to Upgrade the Cisco IOS Image, page 57
      Note   Legacy CF will not operate in Cisco CGR 2010 routers. When legacy CF is inserted, the following error
             message appears:
             WARNING: Unsupported compact flash detected. Use of this card during normal operation can impact
             and severely degrade performance of the system. Please use supported compact flash cards only.
• Cisco IOS images for the access point download images to CF embedded on the access point.
             Americas Headquarters:
             Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
                        1. Slot 0 is the default CF slot. It stores the system image, configurations, and data files. CF must be present in this slot for the
                           router to boot and perform normal file operations.
                        2. Filenames flash and flash0 refer to the same device.
How Do I Choose the New Cisco IOS Release and Feature Set?
                       Cisco Connected Grid Router 2010 routers support Cisco IOS software entitlement and enforcement. See
                       the Software Activation on Cisco Integrated Services Routers for feature and package license
                       information.
                       To determine which Cisco IOS releases and feature sets support your router platform and its required
                       features, go to Cisco Feature Navigator. You must have an account on Cisco.com to access the Cisco
                       Feature Navigator. If you do not have an account or have forgotten your username or password, click
                       Cancel at the login dialog box and follow the instructions that appear.
                        Router Upgrade
                         •    Saving Backup Copies of Your Old System Image and Configuration, page 57
                         •    DRAM Size and the New System Image, page 59
                         •    Ensuring Adequate Flash Memory for the New System Image, page 59
                         •    Copying the System Image into Flash Memory, page 62
                         •    Loading the New System Image, page 67
                         •    Saving Backup Copies of Your New System Image and Configuration, page 71
SUMMARY STEPS
                         1.   enable
                         2.   copy nvram:startup-config {ftp: | rcp: | tftp:}
                         3.   dir flash:
                         4.   copy flash: {ftp: | rcp: | tftp:}
DETAILED STEPS
Examples
                         The following examples show how to copy a startup configuration to a TFTP server and how to copy
                         from files flash memory to an FTP server.
               Note     The DRAM in the Cisco CGR 2010 is fixed and cannot be removed and replaced by DRAM with more
                        memory.
Total - - 4GB
                         1. Slot 0 is the default CF slot. CF in slot0 stores system image, configuration, and data files. CF must be present in
                            this slot for the router to boot and perform normal file operations.
                         2. Filenames flash and flash0 refer to the same device.
Prerequisites
                         •    Choose the Cisco IOS release and system image to which you want to upgrade. See the “Information
                              About Upgrading the System Image” section on page 56.
                         •    Select the system image in the Download Software website.
                              You must have an account on Cisco.com to access this website. If you do not have an account or
                              have forgotten your username or password, click Cancel at the login dialog box and follow the
                              instructions that appear.
                              From the File Download Information table, write down the minimum flash requirements for the
                              image.
SUMMARY STEPS
                         1.   enable
                         2.   dir flash:
                        3.   From the displayed output of the dir flash: command, compare the number of bytes available to the
                             minimum flash requirements for the new system image.
                               a. If the available memory is equal to or greater than the new system image’s minimum flash
                                  requirements, proceed to the “Copying the System Image into Flash Memory” section on
                                  page 62.
                               b. If the available memory is less than the new system image’s minimum flash requirements,
                                  proceed to Step 4.
                        4.   From the displayed output of the dir flash: command, compare the number of bytes total to the size
                             of the system image to which you want to upgrade.
                               a. If the total memory is less than the new system image’s minimum flash requirements, you
                                  cannot upgrade your compact flash memory card because the DRAM is fixed. You must delete
                                  files in flash memory to make room for the new system image.
                        Note     The DRAM in the Cisco CGR 2010 router is fixed and cannot be removed and replaced by
                                 DRAM with more memory.
                               b. If the total memory is equal to or greater than the new system image’s minimum flash
                                  requirements, proceed to Step 5.
                        5.   Enter the dir /all flash: command.
                        6.   From the displayed output of the dir /all flash: command, write down the names and directory
                             locations of the files that you can delete.
                        7.   (Optional) Enter the copy flash: {tftp | rcp} command.
                        8.   (Optional) Repeat Step 7 for each file that you identified in Step 6.
                        9.   Enter the delete flash:directory-path/filename command.
                        10. Repeat Step 9 for each file that you identified in Step 6.
                        11. Enter the dir flash:[partition-number:] command.
                        12. From the displayed output of the dir flash: command, compare the number of bytes available to the
                             size of the system image to which you want to upgrade.
                               a. If the available memory is less than the new system image’s minimum flash requirements, then
                                  you cannot download the new image.
                               b. If the available memory is equal to or greater than the new system image’s minimum flash
                                  requirements, proceed to the “Copying the System Image into Flash Memory” section on
                                  page 62.
DETAILED STEPS
            Step 1      Use the enable command to enter privileged EXEC mode. Enter your password if prompted. For
                        example:
                        Router> enable
                        Password:
                        Router#
            Step 2      Use the dir flash: command to display the layout and contents of flash memory:
                        Router# dir flash:
Directory of flash:/
              Step 3   From the displayed output of the dir flash: command, compare the number of bytes available to the
                       minimum flash requirements for the new system image.
                        •   If the available memory is equal to or greater than the new system image’s minimum flash
                            requirements, proceed to the “Copying the System Image into Flash Memory” section on page 62.
                        •   If the available memory is less than the new system image’s minimum flash requirements, proceed
                            to Step 4.
              Step 4   From the displayed output of the dir flash: command, compare the number of bytes total to the size of
                       the system image to which you want to upgrade.
                        •   If the total memory is less than the new system image’s minimum flash requirements, you cannot
                            upgrade your compact flash memory card because the DRAM is fixed. You must delete files in flash
                            memory to make room for the new system image.
                        •   If the total memory is equal to or greater than the new system image’s minimum flash requirements,
                            proceed to Step 5.
              Step 5   Enter the dir /all flash: command to display a list of all files and directories in flash memory:
                       Router# dir /all flash:
Directory of flash:/
              Step 6   From the displayed output of the dir /all flash: command, write down the names and directory locations
                       of the files that you can delete. If you cannot delete any files, you cannot download the new image.
                       Note     The DRAM in the Cisco CGR 2010 router is fixed and cannot be removed and replaced by
                                DRAM with more memory.
                       Note     Do not delete the system image that the router already uses. If you are not sure which files can
                                be safely deleted, either consult your network administrator. You cannot upgrade your compact
                                flash memory card to a size that can accommodate both the existing files and the new system
                                image.
              Step 7   (Optional) Enter the copy flash:{tftp | rcp} to copy a file to a server before deleting the file from flash
                       memory. When prompted, enter the filename and the server’s hostname or IP address:
                       Router# copy flash tftp
              Step 8   (Optional) Repeat Step 7 for each file that you identified in Step 6.
              Step 9   Enter the delete flash:directory-path/filename command to delete a file in flash memory:
                       Router# delete flash:c29xx.tmp
             Step 10     Repeat Step 9 for each file that you identified in Step 6.
             Step 11     Enter the dir flash: command to display the layout and contents of flash memory.
             Step 12     From the displayed output of the dir flash: command, compare the number of bytes available to the size
                         of the system image to which you want to upgrade.
                          •   If the available memory is less than the new system image’s minimum flash requirements you
                              cannot download the new image.
                          •   If the available memory is equal to or greater than the new system image’s minimum flash
                              requirements, proceed to the “Copying the System Image into Flash Memory” section on page 62.
What to Do Next
                         Proceed to the “Copying the System Image into Flash Memory” section on page 62.
Using TFTP or Remote Copy Protocol to Copy the System Image into Flash Memory
                         This section describes how to use TFTP or Remote Copy Protocol (RCP) to upgrade the system image.
                         This is the recommended and most common method of upgrading the system image.
Prerequisites
                          •   Install a TFTP server or an RCP server application on a TCP/IP-ready workstation or PC. Many
                              third-party vendors provide free TFTP server software, which you can find by searching for “TFTP
                              server” in a web search engine.
                              If you use TFTP:
                               – Configure the TFTP application to operate as a TFTP server, not a TFTP client.
                               – Specify the outbound file directory to which you will download and store the system image.
                          •   Download the new Cisco IOS software image into the workstation or PC. See the “Where Do I
                              Download the System Image?” section on page 57.
                          •   Establish a console session to the router. We recommend that you connect your PC directly to the
                              router console port. See the hardware installation guide that shipped with your router.
                          •   Verify that the TFTP or RCP server has IP connectivity to the router. If you cannot successfully ping
                              between the TFTP or RCP server and the router, do one of the following:
                               – Configure a default gateway on the router.
                               – Make sure that the server and the router each have an IP address in the same network or subnet.
                                   See the tech note, Determining IP Addresses: Frequently Asked Questions.
                Tip     For more detailed information on how to perform the prerequisites, see the Software Installation and
                        Upgrade Procedure.
SUMMARY STEPS
                         1.   enable
                         2.   copy tftp flash:
                              or
                              copy rcp flash:
                         3.   When prompted, enter the IP address of the TFTP or RCP server.
                         4.   When prompted, enter the filename of the Cisco IOS software image to be installed.
                         5.   When prompted, enter the filename as you want it to appear on the router.
                         6.   If an error message appears that says, “Not enough space on device,” do one of the following, as
                              appropriate:
                         •    If you are certain that all the files in flash memory should be erased, enter y twice when prompted
                              to erase flash before copying.
                         •    If you are not certain that all files in flash memory should be erased, press Ctrl-Z and follow the
                              instructions in the “Ensuring Adequate Flash Memory for the New System Image” section on
                              page 59.
                         7.   If the error message does not appear, enter no when prompted to erase the flash memory before
                              copying.
DETAILED STEPS
               Step 1   Use the enable command to enter privileged EXEC mode. Enter your password if prompted:
                        Router> enable
                        Password: <password>
                        Router#
Router#
               Step 3   When prompted, enter the IP address of the TFTP or RCP server:
                        Address or name of remote host []? 10.10.10.2
             Step 4      When prompted, enter the filename of the Cisco IOS software image to be installed:
                         Source filename []? cgr2010-universalk9-mz.SPA.151-1.T
             Step 5      When prompted, enter the filename as you want it to appear on the router. Typically, the same filename
                         is entered as was used in Step 4:
                         Destination filename []? cgr2010-universalk9-mz.SPA.151-1.T
             Step 6      If an error message appears that says, “Not enough space on device,” do one of the following as
                         appropriate:
                          •   If you are certain that all the files in flash memory should be erased, enter y when prompted twice
                              to confirm that flash memory will be erased before copying:
                              Accessing tftp://10.10.10.2/cgr2010-universalk9-mz.SPA.151-1.T.bin...
                                   Erase flash: before copying? [confirm] y
                                   Erasing the flash filesystem will remove all files! Continue? [confirm] y
                                   Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
                          •   If you are not certain that all the files in flash memory should be erased, press Ctrl-Z and follow the
                              instructions in the “Ensuring Adequate Flash Memory for the New System Image” section on
                              page 59.
             Step 7      If the error message does not appear, enter no when prompted to erase the flash memory before copying:
                         Accessing tftp://10.10.10.2/cgr2010-universalk9-mz.SPA.151-1.T.bin...
                              Erase flash: before copying? [confirm] no
Troubleshooting Tips
                         See Resolving Common Image Installation Problems.
What to Do Next
                         Proceed to the “Loading the New System Image” section on page 67.
Using the ROM Monitor to Copy the System Image over a Network
                         This section describes how to download a Cisco IOS software image from a remote TFTP server to the
                         router flash memory using the tftpdnld ROM monitor command.
            Caution      Using the tftpdnld ROM monitor command may erase the system image, configuration, and data files.
                         System image, configuration, and data files must be present on USB CF in slot0 for the router to boot
                         and perform normal file operations.
                         Before you can enter the tftpdnld ROM monitor command, you must set the ROM monitor environment
                         variables.
Prerequisites
                         Connect the TFTP server to a fixed network port on your router.
Restrictions
                         The LAN ports on network modules or interface cards are not active in ROM monitor mode. Therefore,
                         only a fixed port on your router can be used for TFTP download. This can be either a fixed Ethernet port
                         on the router or one of the Gigabit Ethernet ports on routers equipped with them.
                 Note    You can use this command only to download files to the router. You cannot use tftpdnld to get files from
                         the router.
SUMMARY STEPS
                          1.   Enter ROM monitor mode
                          2.   Set the IP_ADDRESS=ip_address configuration variable.
                          3.   Set the IP_SUBNET_MASK=ip_address configuration variable.
                          4.   Set the DEFAULT_GATEWAY=ip_address configuration variable.
                          5.   Set the TFTP_SERVER=ip_address configuration variable.
                          6.   Set the TFTP_FILE=[directory-path/]filename configuration variable.
                          7.   (Optional) Set the GE_PORT=[0 | 1] port number for download.
                          8.   (Optional) Set the TFTP_MEDIA_TYPE=[0 | 1] copper or fiber.
                          9.   (Optional) Set the TFTP_MACADDR= mac address of unit.
                         10. (Optional) Set the TFTP_VERBOSE= [0 | 1| 2] print setting variable.
                         11. (Optional) Set the TFTP_RETRY_COUNT=retry_times configuration variable.
                         12. (Optional) Set the TFTP_TIMEOUT=timeout of operation in seconds.
                         13. (Optional) Set the TFTP_ACK_RETRY=ack retry in seconds.
                         14. (Optional) Set the TFTP_CHECKSUM=[0 | 1] perform checksum test on image.
                         15. (Optional) Set the TFTP_DESTINATION=[flash0 | flash1 | usbflash0 | usbflash1] flash destination
                               device for file.
                         16. (Optional) Set the GE_SPEED_MODE= speed configuration.
                         17. Use the set command to verify that you have set the variables correctly.
                         18. Use the tftpdnld [-r] command to download the image.
DETAILED STEPS
          Step 5      Set the TFTP server IP address, which is the location from which the software will be downloaded:
                      rommon > TFTP_SERVER=172.16.23.33
          Step 6      Set the name and directory location to which the image file will be downloaded onto the router. For
                      example:
                      rommon > TFTP_FILE=archive/rel22/<image name>
          Step 7      (Optional) Set the input port to use a Gigabit Ethernet port. Usage is GE_PORT=[0 | 1]. For example:
                      rommon > GE_PORT=0
          Step 8      (Optional) Set the Ethernet media type. Usage is TFTP_ MEDIA_TYPE=[0 1], where Copper= 0 and
                      Fiber=1:
                      rommon > TFTP_MEDIA_TYPE=1
          Step 9 (Optional) Decide whether the router will perform a checksum test on the downloaded image. Usage is
                      TFTP_CHECKSUM=[0 | 1], where 1=checksum test is performed (default) and 0=no checksum test. For
                      example:
                      rommon > TFTP_CHECKSUM=0
          Step 10     (Optional) Set the number of times that the router will attempt Address Resolution Protocol (ARP) and
                      TFTP download. The default is 7 attempts. For example:
                      rommon > TFTP_RETRY_COUNT=10
          Step 11     (Optional) Set the amount of time, in seconds, before the download process times out. The default is
                      2400 seconds (40 minutes). The following example shows 1800 seconds (30 minutes):
                      TFTP_TIMEOUT=1800
          Step 12     (Optional) Configure the print variable. Usage is TFTP_VERBOSE= [0 | 1 | 2], where print:
                      0= is quiet.
                      1= in progress.
                      2= verbose
          Step 13     Use the set command to display the ROM monitor environment variables to verify that you have
                      configured them correctly. For example:
                      rommon > set
          Step 14     Download the system image, as specified by the ROM monitor environmental variables, using the
                      tftpdnld [-r] command. Without the -r option, the command downloads the specified image and saves
                      it in flash memory, deleting all existing data in all partitions in flash memory. Using the -r option
                      downloads and boots the new software but does not save the software to flash memory.
                      rommon> tftpdnld [-r]
                      A prompt is displayed:
                      Do you wish to continue? y/n: [n]:                y
Entering “y” confirms that you want to continue with the TFTP download.
What to Do Next
                         Proceed to the “Loading the New System Image” section on page 67.
Loading the New System Image from the Cisco IOS Software
                         This section describes how to load the new system image from the Cisco IOS software.
SUMMARY STEPS
                          1.   dir flash:
                          2.   configure terminal
                          3.   no boot system
                          4.   (Optional) boot system flash system-image-filename
                          5.   (Optional) Repeat to specify the order in which the router should attempt to load any backup system
                               images.
                          6.   exit
                          7.   show version
                          8.   If the last digit in the configuration register is 0 or 1, proceed to Step 9. However, if the last digit in
                               the configuration register is between 2 and F, proceed to Step 12.
                          9.   configure terminal
                         10. config-register 0x2102
                         11. exit
                         12. copy run start
                         13. reload
                         14. When prompted to save the system configuration, enter no.
                         15. When prompted to confirm the reload, enter y.
                         16. show version
DETAILED STEPS
               Step 1    Enter the dir flash: command to display a list of all files and directories in flash memory:
                         Router# dir flash:
Directory of flash:/
                      Note     Determine whether the new system image is the first file or the only file listed in the dir flash
                               command output ( is not required if it is the first file or only file listed).
          Step 2      Enter the configure terminal command to enter global configuration mode:
                      Router# configure terminal
Router(config)#
          Step 3      Enter the no boot system command to delete all entries in the bootable image list, which specifies the
                      order in which the router attempts to load the system images at the next system reload or power cycle:
                      Router(config)# no boot system
          Step 4      If the new system image is the first file or the only file displayed in the dir flash: command output, you
                      do not need to perform the following step.
                      Enter the boot system flash system-image-filename command to load the new system image after the
                      next system reload or power cycle. For example:
                      Router(config)# boot system flash cgr2010-universalk9-mz.SPA.151-1.T.bin
          Step 5      (Optional) Repeat to specify the order in which the router should attempt to load any backup system
                      images.
          Step 6      Enter the exit command to exit global configuration mode:
                      Router(config)# exit
                      Router#
          Step 7      Enter the show version command to display the configuration register setting:
                      Router# show version
Router#
          Step 8      If the last digit in the configuration register is 0 or 1, proceed to Step 9. However, if the last digit in the
                      configuration register is between 2 and F, proceed to Step 12.
          Step 9      Enter the configure terminal command to enter global configuration mode:
                      Router# configure terminal
Router(config)#
          Step 10 Enter the config-register 0x2102 command to set the configuration register so that, after the next system
                      reload or power cycle, the router loads a system image from the boot system commands in the startup
                      configuration file:
                      Router(config)# config-register 0x2102
               Step 12   Enter the copy run start command to copy the running configuration to the startup configuration:
                         Router# copy run start
               Step 16   Enter the show version command to verify that the router loaded the proper system image:
                         Router# show version
What to Do Next
                         Proceed to the “Saving Backup Copies of Your New System Image and Configuration” section on
                         page 71.
SUMMARY STEPS
                          1.   dir flash0:[partition-number:]
                          2.   confreg 0x2102
                          3.   boot flash0:[partition-number:]filename
                          4.   After the system loads the new system image, press Return a few times to display the Cisco IOS
                               command-line interface (CLI) prompt.
                          5.   enable
                          6.   configure terminal
                          7.   no boot system
                          8.   boot system flash0: new-system-image-filename
                        9.   (Optional) Repeat to specify the order in which the router should attempt to load any backup system
                             images.
                        10. exit
                        11. copy run start
DETAILED STEPS
            Step 1      Enter the dir flash0:[partition-number:] command to list files in flash memory:
                        rommon > dir flash0:
                        program load complete, entry point: 0x80803000, size: 0x1b340
                        Directory of flash0:
                        Note whether the new system image is the first file or the only file listed in the dir flash0: command
                        output. ( is not required if the image is the first file or only file listed.)
            Step 2      Enter the confreg 0x2102 command to set the configuration register so that, after the next system reload
                        or power cycle, the router loads a system image from the boot system commands in the startup
                        configuration file:
                        rommon > confreg 0x2102
            Step 3      Enter the boot flash0:[partition-number:]filename command to force the router to load the new system
                        image:
                        rommon > boot flash0:cgr2010-universalk9-mz.SPA.151-1.T.bin
            Step 4      After the system loads the new system image, press Return a few times to display the Cisco IOS CLI
                        prompt.
            Step 5      Enter the enable command to enable privileged EXEC mode, and enter your password if prompted:
                        Router> enable
                        Password: <password>
                        Router#
            Step 6      Enter the configure terminal command to enter global configuration mode:
                        Router# configure terminal
                        Router(config)#
            Step 7      Enter the no boot system to eliminate all entries in the bootable image list, which specifies the system
                        image that the router loads at startup:
                        Router(config)# no boot system
            Step 8      If the new system image is the first file or only the file displayed in the dir flash0: command output, this
                        step is not required.
                        Enter the boot system flash new-system-image-filename command to load the new system image after the
                        next system reload or power cycle:
                        Router(config)# boot system flash cgr2010-universalk9-mz.SPA.151-1.T.bin
            Step 9      (Optional) Repeat to specify the order in which the router should attempt to load any backup system
                        images.
               Step 11   Enter the copy run start command to copy the running configuration to the startup configuration:
                         Router# copy run start
What to Do Next
                         Proceed to the “Saving Backup Copies of Your New System Image and Configuration” section on
                         page 71.
                Tip      Do not erase any existing backup copies of your configuration and system image that you saved before
                         upgrading your system image. If you encounter serious problems using your new system image or startup
                         configuration, you can quickly revert to the previous working configuration and system image, if
                         necessary.
                         For more detailed information, see the “Managing Configuration Files” chapter and the “Loading and
                         Maintaining System Images” chapter of Cisco IOS Configuration Fundamentals Configuration Guide,
                         Release 15.0.
                         To save backup copies of the startup configuration file and the system image file, complete the following
                         steps:
SUMMARY STEPS
                          1.   enable
                          2.   copy nvram:startup-config {ftp: | rcp: | tftp:}
                          3.   dir flash0:
                          4.   copy flash0: {ftp: | rcp: | tftp:}
DETAILED STEPS
Examples
                         Copying the Startup Configuration to a TFTP Server: Example
                         The following example shows the startup configuration being copied to a TFTP server:
                         Router# copy nvram:startup-config tftp:
Additional References
                          The following sections provide references related to upgrading the system image on your router.
Technical Assistance
Description                                                          Link
Technical Assistance Center (TAC) home page,                         http://www.cisco.com/public/support/tac/home.shtml
containing 30,000 pages of searchable technical
content, including links to products, technologies,
solutions, technical tips, and tools. Registered
Cisco.com users can log in from this page to access
even more content.1
1. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog
   box and follow the instructions that appear.
         The Cisco Connected Grid Router 2010 uses Advanced Capability CF external memory to store the system
         image, configuration files, and some software data files. CF supports true integrated development
         environment mode and multi-word direct memory access mode.
         This document explains how to manage directories and files on the CF in the following sections:
          •   Requirements and Restrictions, page 75
          •   Online Insertion and Removal, page 76
          •   Formatting CompactFlash Memory as a Class C File System, page 76
          •   File Operations on CompactFlash Memory Cards, page 77
          •   Directory Operations on a CompactFlash Memory Card, page 81
         Formatting CompactFlash
          •   Only Class C file systems are supported on Cisco PCMCIA CompactFlash (CF).
          •   We recommend that you format new CF to initialize a new flash file system. Proper formatting lets
              the ROM monitor recognize and boot the flash memory. The CF can be formatted on a router, and
              files can be copied to or from any PC that is equipped with a CF memory reader. If you use a PC to
              format the CF, use the Microsoft File Allocation Table (FAT32) file system.
          Americas Headquarters:
          Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
                        Note       Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                   to access CF in slot 0.
Total - - 4GB
                        1. Slot 0 is the default CF slot. CF in slot0 can store system image, configuration, and data files. CF must be
                            present in this slot for the router to boot and perform normal file operations.
          Caution       The external CF memory card should not be removed if the flash memory busy “CF” LED on the router
                        is blinking, because this indicates that the software is accessing the CF memory card. Removing the CF
                        memory card may disrupt the network, because some software features use the CF memory card to store
                        tables and other important data.
                        For instructions on inserting, removing, and replacing the external CF memory card, see the router’s
                        Hardware Installation Guide.
                        Note       Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                   to access CF in slot 0.
Copying Files
                      To copy files, enter the copy command in privileged EXEC mode. To indicate a file that is stored in a CF
                      memory card, precede the filename with flash.
                      Note     Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                               to access CF in slot 0.
                      In the following example, the file my-config2 on the CF memory card is copied into the running-config
                      file in the system memory:
                      Router# copy flash:my-config2 running-config
Displaying Files
                       To display a list of files in CF memory, enter the dir flash: command in privileged EXEC mode.
                       Note      Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                 to access CF in slot 0.
                       Directory of flash:/
                        1580 -rw-      6462268   Mar 06 2004 06:14:02           c29xx-i-mz.3600ata
                           3 -rw-      6458388   Mar 01 2004 00:01:24           c29xx-i-mz
                       63930368 bytes total (51007488 bytes free)
Router
                       To display platform error status, enter the show platform error command in privileged EXEC mode.
                       Router# show platform error
                       Interface GigabitEthernet0/0:
                       ----------------------------
                       Unknown Protocol Drops : 6
                       Interface GigabitEthernet0/1:
                       ----------------------------
                       Lost Carrier            : 1
                       CF Error Status:
                       ---------------
                       Compact Flash 0 Unsupported (HT)
Router#
                       Note      Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                 to access CF in slot 0.
                      Note     Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                               to access CF in slot 0.
Router#
Deleting Files
                       To delete a file from a CF memory card, enter the delete flash: command.
                       Note      Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                 to access CF in slot 0.
Note The dir flash: command does not display deleted files and files with errors.
Renaming Files
                       To rename a file on a CF memory card, enter the rename command in privileged EXEC mode.
                       Note      Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                 to access CF in slot 0.
Directory of flash:/
Directory of flash:/
                      To determine which directory you are in, enter the pwd command in privileged EXEC mode. The CLI
                      displays which directory or file system is specified as the default by the cd command.
                      Router# pwd
                      To display a list of files in the directory that you are in, enter the dir command in privileged EXEC mode.
                      The command-line interface will display the files in the file system that was specified as the default by the
                      cd command.
                      Router# dir flash:
Directory of flash:/
flash:/config/
Router# dir
Directory of flash:/config/
                       Note     Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                to access CF in slot 0.
Directory of flash:/
Directory of flash:/
Removing a Directory
                       To remove a directory in flash memory, enter the rmdir flash: command in privileged EXEC mode.
                       Before you can remove a directory, you must remove all files and subdirectories from the directory.
                       Note     Use flash1 in the command syntax to access CF in slot 1. Use flash0 in the command syntax
                                to access CF in slot 0.
Directory of flash:/config/
Directory of flash:/config/
No files in directory
           Many users do not use the ROM monitor at all, unless during power up or reload, the router does not find a
           valid system image, the last digit of the boot field in the configuration register is 0, or you enter the Break
           key sequence of the terminal that is plugged into the router console port during the first 60 seconds after
           reloading the router.
           This document describes how to use the ROM monitor to manually load a system image, upgrade the
           system image when there are no TFTP servers or network connections, or for disaster recovery.
Contents
            •   Platforms Supported by This Document, page 85
            •   Prerequisites for Using the ROM Monitor, page 85
            •   Information About the ROM Monitor, page 86
            •   How to Use the ROM Monitor—Typical Tasks, page 87
            •   Additional References, page 114
            Americas Headquarters:
            Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
                             Note     Recovering the system image is different from upgrading the system image. You need to
                                      recover the system image if it becomes corrupt or if it is deleted because of a disaster that
                                      affects the memory device severely enough to require deleting all data on the memory device
                                      to load a system image.
                             – TFTP download (tftpdnld)—Use this method if you can connect a TFTP server directly to the
                                fixed LAN port on your router. See the “Downloading the System Image (tftpdnld)” section on
                                page 103.
Accessibility
                       The Cisco Connected Grid Router 2010 can be configured using the Cisco command-line interface (CLI).
                       The CLI conforms to accessibility code 508 because it is text based and it relies on a keyboard for
                       navigation. All functions of the router can be configured and monitored using the CLI.
                       For a complete list of guidelines and Cisco products adherence to accessibility, see Cisco Accessibility
                       Products.
               Note    This section does not describe how to perform all possible ROM monitor tasks. Use the command help
                       to list and perform any tasks that are not described in this document. See the “Displaying Commands
                       and Command Syntax in ROM Monitor Mode (?, help, -?)” section on page 92.
Prerequisites
                        Connect a terminal or PC to the router console port. For help, see the hardware installation guide for
                        your router.
Using the Break Key Sequence to Interrupt the System Reload and Enter ROM Monitor Mode
                        This section describes how to enter ROM monitor mode by reloading the router and entering the Break key
                        sequence.
              Note      Bit 8 controls the console Break key (see Table 1 on page 116):
                         •   Setting bit 8 (Factory default) causes the processor to ignore the console Break key.
                         •   Clearing bit 8 causes the processor to interpret Break as a command to force the router into the ROM
                             monitor mode, halting normal operation.
                        Break can always be sent in the first 60 seconds while the router is rebooting, regardless of the
                        configuration register settings.
SUMMARY STEPS
                        1.   enable
                        2.   reload
                        3.   Press Ctrl-Break.
DETAILED STEPS
          Example:
          Router# reload
Step 3    Immediately press Ctrl-Break.                            Interrupts the router reload and enters ROM monitor mode.
                                                                     •   You must perform this step within 60 seconds after you
          Example:                                                       enter the reload command.
          Router# send break                                         •   The Break key sequence varies, depending on the
                                                                         software on your PC or terminal. If Ctrl-Break does
                                                                         not work, see Standard Break Key Sequence
                                                                         Combinations During Password Recovery.
Examples
                        This section provides an example of the reload command:
                Note    Clearing bit 8 causes the processor to interpret Break as a command to force the router into the ROM
                        monitor mode, halting normal operation.
Troubleshooting Tips
                        The Break key sequence varies, depending on the software on your PC or terminal. See Standard Break
                        Key Sequence Combinations During Password Recovery.
What to Do Next
                         •   Proceed to the “Displaying Commands and Command Syntax in ROM Monitor Mode (?, help, -?)”
                             section on page 92.
                          •   If you use the Break key sequence to enter ROM monitor mode when the router would otherwise
                              have booted the system image, you can exit ROM monitor mode by doing one of the following:
                               – Enter the i or reset command, which restarts the booting process and loads the system image.
                               – Enter the cont command to continue the booting process and load the system image.
           Caution       Do not set the configuration register using the config-register 0x0 command after you have set the baud
                         rate. To set the configuration register without affecting the baud rate, use the current configuration
                         register setting by entering the show ver | inc configuration command, and then replacing the last
                         (rightmost) number with a 0 in the configuration register command.
SUMMARY STEPS
                         1.   enable
                         2.   configure terminal
                         3.   config-register 0x0
                         4.   exit
                         5.   write memory
                         6.   reload
DETAILED STEPS
         Example:
         Router# configure terminal
Step 3   config-register 0x0                                                    Changes the configuration register settings.
                                                                                 •   The 0x0 setting forces the router to boot to the ROM
         Example:                                                                    monitor at the next system reload.
         Router(config)# config-register 0x0
Step 4   exit                                                                   Exits global configuration mode.
         Example:
         Router(config)# exit
         Example:
         Router# write memory
Step 6   reload                                                    Reloads the operating system.
                                                                     •   Because of the 0x0 configuration register setting, the
         Example:                                                        router boots to ROM monitor mode.
         Router# reload
<output deleted>
rommon 1>
Examples
                        The following example shows how to set the configuration register to boot to ROM monitor mode:
                        Router>
                        Router> enable
                        Router# configure terminal
                        Enter configuration commands, one per line. End with CNTL/Z.
                        Router(config)# config-register 0x0
                        Router(config)# exit
                        Router#
                        *Sep 23 16:01:24.351: %SYS-5-CONFIG_I: Configured from console by console
                        Router# write memory
                        Building configuration...
                        [OK]
                        Router# reload
                        Proceed with reload? [confirm]
What to Do Next
                        Proceed to the “Displaying Commands and Command Syntax in ROM Monitor Mode (?, help, -?)”
                        section on page 92.
Displaying Commands and Command Syntax in ROM Monitor Mode (?, help, -?)
                         This section describes how to display ROM monitor commands and command syntax options.
SUMMARY STEPS
                         1. ?
                              or
                              help
                         2. command -?
DETAILED STEPS
         Example:
         rommon 1 > ?
         Example:
         rommon 1 > help
Step 2   command -?                                                             Displays syntax information for a ROM monitor command.
         Example:
         rommon 16 > display -?
Examples
                         This section shows the help command example:
                         rommon 10 > help
                         alias                       set and display aliases command
                         boot                        boot up an external process
                         break                       set/show/clear the breakpoint
                         confreg                     configuration register utility
                         cont                        continue executing a downloaded image
                         context                     display the context of a loaded image
                         cookie                      display contents of motherboard cookie PROM in hex
                         dev                         list the device table
                         dir                         list files in file system
                         frame                       print out a selected stack frame
                         help                        monitor builtin command help
                         history                     monitor command history
                         iomemset                    set IO memory percent
                         meminfo                     main memory information
                         repeat                      repeat a monitor command
                         reset                       system reset
                         rommon-pref                 Select ROMMON
                         set                         display the monitor variables
                         showmon                     display currently selected ROM monitor
Prerequisites
                       Determine the filename and location of the system image that you want to load. Two images can be
                       downloaded for Cisco CGR 2010: cgr2010-universalk9-mz.SPA.151-1.T and
                       cgr2010-universalnovpnk9-mpe-mz.SPA.151-1.T.
SUMMARY STEPS
                         1. boot
                              or
                              boot flash:[filename]
                              or
                              boot filename tftpserver
                              or
                              boot [filename]
                              or
                              boot usbflash:[filename]
DETAILED STEPS
Examples
                       The following example shows how to load boot flash memory and the resulting command text output:
                       rommon 6 > boot flash:
                       Please reset before booting
                       rommon 1 > reset
Note The following warning message does not appear if the proper CompactFlash card is installed in the ISR.
                     WARNING: Unsupported compact flash detected. Use of this card during normal
                              operation can impact and severely degrade performance of the system.
                              Please use supported high temperature compact flashcards only.
                     A summary of U.S. laws governing Cisco cryptographic products may be found at:
                     http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
What to Do Next
                        If you want to configure the router to load a specified image at the next system reload or power-cycle, see
                        the following documents:
                         •   Booting Commands” chapter of Cisco IOS Configuration Fundamentals Command Reference
                         •   Cisco IOS Configuration Fundamentals and Network Management Configuration Guide
           Caution      Do not set the configuration register using the config-register 0x0 command after setting the baud rate.
                        To set the configuration register without affecting the baud rate, use the current configuration register
                        setting by entering the show ver | inc configuration command and then replacing the last (rightmost)
                        number with a 0 in the configuration register command.
Restrictions
                        The modified configuration register value is automatically written into NVRAM, but the new value does
                        not take effect until you reset or power-cycle the router.
SUMMARY STEPS
                        1.   confreg [value]
DETAILED STEPS
Examples
                        In the following example, the configuration register is set to boot the system image from flash memory:
                       In the following example, no value is entered; therefore, the system prompts for each bit in the register:
                       rommon 4 > confreg
                                  Configuration Summary
                          (Virtual Configuration Register: 0x2102)
                       enabled are:
                       load rom after netboot fails
                       console baud: 9600
                       boot: image specified by the boot system commands
                             or default to: cisco2-CISCOCGR2010/K9
                                  Configuration Summary
                          (Virtual Configuration Register: 0xc440)
                       enabled are:
                       diagnostic mode
                       use net in IP bcast address
                       use all zero broadcast
                       break/abort has effect
                       ignore system config info
                       console baud: 9600
                       boot: the ROM Monitor
SUMMARY STEPS
                       1.   dir usbflash [x]:
                       2.   dev
DETAILED STEPS
Examples
                        Sample Output for the dir usbFlash Command
                        In some cases, you need to use the reset command first.
                        rommon 8 > dir usbflash:
                        Please reset before executing this command
                        rommon 9 > reset
Note The Cisco CGR 2010 in this example does not have USB flash.
               Note     Use the iomemset command only if it is needed for temporarily setting the I/O memory percentage from
                        ROM monitor mode. Using this command improperly can adversely affect the functioning of the router.
                        The Cisco IOS software can override the I/O memory percentage if the memory-size iomem command is
                        set in the NVRAM configuration. If the Cisco IOS command is present in the NVRAM configuration, the
                        I/O memory percentage set in the ROM monitor with the iomemset command is used only the first time
                        the router is booted up. Subsequent reloads use the I/O memory percentage set using the memory-size
                        iomem command that is saved in the NVRAM configuration.
                        If you need to set the router I/O memory permanently using a manual method, use the memory-size
                        iomem Cisco IOS command. If you set the I/O memory percentage from the Cisco IOS software, you
                        must restart the router for I/O memory to be properly set.
SUMMARY STEPS
DETAILED STEPS
Examples
                        In the following example, the percentage of DRAM used for I/O memory is set to 15:
                        rommon   2 > iomemset
                        usage:   iomemset [smartinit | 5 | 10 | 15 | 20 | 25 | 30 | 40 | 50 ]
                        rommon   3 >
                        rommon   3 > iomemset 15
Now Reloading
                         CGR-2010/K9 platform with 1048576 Kbytes of main memory Main memory is configured to 72
                         bit mode with ECC enabled
               Caution   Use the tftpdnld command only for disaster recovery because it can erase all existing data in flash
                         memory before it downloads a new software image to the router.
Before you can enter the tftpdnld command, you must set the ROM monitor environment variables.
Prerequisites
                         Connect the TFTP server to a fixed network port on your router.
Restrictions
                          •   LAN ports on network modules or interface cards are not active in ROM monitor mode. Therefore,
                              only a fixed port on your router can be used for a TFTP download. Use a fixed Ethernet port on the
                              router that is either of the two Gigabit Ethernet ports on Cisco routers with those ports.
                          •   You can only download files to the router. You cannot use the tftpdnld command to retrieve files
                              from the router.
SUMMARY STEPS
                         1.   IP_ADDRESS=ip_address
                         2.   IP_SUBNET_MASK=ip_address
                         3.   DEFAULT_GATEWAY=ip_address
                         4.   TFTP_SERVER=ip_address
                         5.   TFTP_FILE=[directory-path/]filename
                         6. FE_PORT=[0 | 1]
                         7. FE_SPEED_MODE=[0 | 1 | 2 | 3 | 4 | 5]
                         8. GE_PORT=[0 | 1]
                         9. GE_SPEED_MODE=[0 | 1 | 2 | 3 | 4 | 5]
                         10. MEDIA_TYPE=[0 | 1]
                         11. TFTP_CHECKSUM=[0 | 1]
                         12. TFTP_DESTINATION=[flash: | usbflash0: | usbflash1:]
                         13. TFTP_MACADDR=MAC_address
                        14. TFTP_RETRY_COUNT=retry_times
                        15. TFTP_TIMEOUT=time
                        16. TFTP_VERBOSE=setting
                        17. set
                        18. tftpdnld [-hr]
                        19. y
DETAILED STEPS
         Example:
         rommon > IP_ADDRESS=172.16.23.32
Step 2   IP_SUBNET_MASK=ip_address                                             Sets the subnet mask of the router.
         Example:
         rommon > IP_SUBNET_MASK=255.255.255.224
Step 3   DEFAULT_GATEWAY=ip_address                                            Sets the default gateway of the router.
         Example:
         rommon > DEFAULT_GATEWAY=172.16.23.40
Step 4   TFTP_SERVER=ip_address                                                Sets the TFTP server from which the software will be
                                                                               downloaded.
         Example:
         rommon > TFTP_SERVER=172.16.23.33
Step 5   TFTP_FILE=[directory-path/]filename                                   Sets the name and location of the file that will be
                                                                               downloaded to the router.
         Example:
         rommon > TFTP_FILE=archive/rel22/c2801-i-mz
Step 6   FE_PORT=[0 | 1]                                                       (Optional) Sets the input port to use one of the Fast Ethernet
                                                                               ports.
         Example:
         rommon > FE_PORT=0
Step 7   FE_SPEED_MODE=[0 | 1 | 2 | 3 | 4]                                     (Optional) Sets the Fast Ethernet port speed mode, with
                                                                               these options:
         Example:                                                               •   0—10 Mbps, half-duplex
         rommon > FE_SPEED_MODE=3
                                                                                •   1—10 Mbps, full-duplex
                                                                                •   2—100 Mbps, half-duplex
                                                                                •   3—100 Mbps, full-duplex
                                                                                •   4—Automatic selection (default)
Examples
                         Sample Output for Recovering the System Image (tftpdnld)
                         rommon   16   >   IP_ADDRESS=171.68.171.0
                         rommon   17   >   IP_SUBNET_MASK=255.255.254.0
                         rommon   18   >   DEFAULT_GATEWAY=171.68.170.3
                         rommon   19   >   TFTP_SERVER=171.69.1.129
                         rommon   20   >   TFTP_FILE=c2801-is-mz.113-2.0.3.Q
                         rommon   21   >   tftpdnld
                                            IP_ADDRESS:        171.68.171.0
                                        IP_SUBNET_MASK:        255.255.254.0
                                       DEFAULT_GATEWAY:        171.68.170.3
                                           TFTP_SERVER:        171.69.1.129
                                             TFTP_FILE:        c2801-is-mz.113-2.0.3.Q
What to Do Next
                       If you want to configure the router to load a specified image at the next system reload or power-cycle, see
                       the “Loading and Managing System Images” section in Cisco IOS Configuration Fundamentals Command
                       Reference.
The ROM monitor commands in this section are all optional and can be entered in any order.
Router Crashes
                       A router or system crash is a situation in which the system detects an unrecoverable error and restarts
                       itself. The errors that cause crashes are typically detected by processor hardware, which automatically
                       branches to special error-handling code in the ROM monitor. The ROM monitor identifies the error, prints
                       a message, saves information about the failure, and restarts the system. For detailed information about
                       troubleshooting crashes, see Troubleshooting Router Crashes and Understanding Software-forced
                       Crashes.
Router Hangs
                        A router or system hang is a situation in which the system does not respond to input at the console port or
                        to queries, such as Telnet and SNMP, sent from the network.
                        Router hangs occur when:
                         •   The console does not respond
                         •   Traffic does not pass through the router
                        Router hangs are discussed in detail in Troubleshooting Router Hangs.
Restrictions
                        Do not manually reload or power-cycle the router unless reloading or power cycling is required for
                        troubleshooting a router crash. System reload or power-cycle can cause important information that is
                        needed for determining the root cause of the problem to be lost.
SUMMARY STEPS
                        1.   stack
                             or
                             k
                        2.   context
                        3.   frame [number]
                        4.   sysret
                        5.   meminfo
DETAILED STEPS
         Example:
         rommon > stack
Step 2   context                                                    (Optional) Displays the CPU context at the time of the fault.
                                                                        •   If it is available, the context from kernel mode and
         Example:                                                           process mode of a loaded image is displayed.
         rommon > context
Step 3   frame [number]                                             (Optional) Displays an entire individual stack frame.
                                                                        •   The default is 0 (zero), which is the most recent frame.
         Example:
         rommon > frame 4
Step 4   sysret                                                     (Optional) Displays return information from the last booted
                                                                    system image.
         Example:                                                       •   The return information includes the reason for
         rommon > sysret                                                    terminating the image, a stack dump of up to eight
                                                                            frames, and, if an exception is involved, the address at
                                                                            which the exception occurred.
Step 5   meminfo [-l]                                               (Optional) Displays memory information, including:
                                                                        •   Main memory size, starting address, and available
         Example:                                                           range
         rommon > meminfo
                                                                        •   Packet memory size
                                                                        •   NVRAM size
                                                                    Alternatively, using the meminfo -l command provides
                                                                    information on supported DRAM configurations for the
                                                                    router.
Examples
                        This section provides the following examples:
                         •   Sample Output for the stack ROM Monitor Command, page 109
                         •   Sample Output for the context ROM Monitor Command, page 110
                         •   Sample Output for the frame ROM Monitor Command, page 111
                         •   Sample Output for the sysret ROM Monitor Command, page 111
                         •   Sample Output for the meminfo ROM Monitor Command, page 111
                      You can also use the meminfo -l command to show the supported DRAM configurations for the router.
                      The following is sample output for the command:
Troubleshooting Tips
                       See the following documents:
                        •   Troubleshooting Router Crashes
                        •   Understanding Software-forced Crashes
                        •   Troubleshooting Router Hangs
SUMMARY STEPS
                       1.   dir flash: [directory]
                       2.   boot flash: [directory] [filename]
                            or
                            boot filename tftpserver
                            or
                            boot [filename]
DETAILED STEPS
Examples
                        Sample Output for the dir flash: Command in ROM Monitor mode
                        rommon 2 > dir flash:
                        program load complete, entry point: 0x80803000, size: 0x1b340
                        Directory of flash:
What to Do Next
                        If you want to configure the router to load a specified image at the next system reload or power-cycle, see
                        the “Loading and Managing System Images” section in Cisco IOS Configuration Fundamentals Command
                        Reference.
Additional References
                            The following sections provide references related to using the ROM monitor.
Related Documents
Technical Assistance
Description                                                          Link
Technical Assistance Center (TAC) home page,                         http://www.cisco.com/public/support/tac/home.shtml
containing 30,000 pages of searchable technical
content, including links to products, technologies,
solutions, technical tips, and tools. Registered
Cisco.com users can log in from this page to access
even more content.1
1. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog
   box and follow the instructions that appear.
         This document describes the 16-bit configuration register in NVRAM in the following sections:
          •   Platforms this Document Supports, page 115
          •   About the Configuration Register, page 115
          •   Changing the Configuration Register Settings, page 118
          •   Displaying the Configuration Register Settings, page 119
          •   Configuring the Console Line Speed (Cisco IOS CLI), page 119
          Americas Headquarters:
          Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
                        Bit
                        Number       Hexadecimal           Meaning
                        00–03        0x0000–0x000F         Boot field. The boot field setting determines whether the router loads an
                                                           operating system and where it obtains the system image.
                                                           See Table 2 for details.
                        06           0x0040                Causes the system software to ignore the contents of NVRAM.
                        07           0x0080                Original equipment manufacturer bit enabled.
                        08           0x0100                Controls the console Break key:
                                                            •   (Factory default) Setting bit 8 causes the processor to ignore the
                                                                console Break key.
                                                            •   Clearing bit 8 causes the processor to interpret Break as a command
                                                                to force the router into the ROM monitor mode, halting normal
                                                                operation.
                                                           Break can always be sent in the first 60 seconds while the router is
                                                           rebooting, regardless of the configuration register settings.
                        09           0x0200                This bit controls the system boot:
                                                            •   Setting bit 9 causes the system to use the secondary bootstrap.
                                                            •   (Factory default) Clearing bit 9 causes the system to boot from flash
                                                                memory.
                                                            •   This bit is typically not modified.
                        10           0x0400                Controls the host portion of the IP broadcast address:
                                                            •   Setting bit 10 causes the processor to use all zeros.
                                                            •   (Factory default) Clearing bit 10 causes the processor to use all ones.
                                                           Bit 10 interacts with bit 14, which controls the network and subnet
                                                           portions of the IP broadcast address. See Table 3 on page 117 for the
                                                           combined effects of bits 10 and 14.
                        05, 11,      0x0020,               Controls the console line speed. See Table 4 on page 118 for the eight
                        12           0x0800, 0x1000        available bit combinations and console line speeds.
                                                           Factory default is 9600 baud, where bits 5, 11, and 12 are all zero (clear).
                                                           Note     You cannot change the console line speed configuration register
                                                                    bits from the Cisco IOS command-line interface (CLI). You can,
                                                                    however, change these bits from the ROM monitor. Or, instead of
                                                                    changing the configuration register settings, you can set the
                                                                    console line speed through other Cisco IOS commands.
                        13           0x2000                Determines how the router responds to a network boot failure:
                                                            •   Setting bit 13 causes the router to boot the default ROM software
                                                                after 6 unsuccessful network boot attempts.
                                                            •   (Factory default) Clearing bit 13 causes the router to indefinitely
                                                                continue network boot attempts.
                        Bit
                        Number        Hexadecimal         Meaning
                        14            0x4000              Controls the network and subnet portions of the IP broadcast address:
                                                           •   Setting bit 10 causes the processor to use all zeros.
                                                           •   (Factory default) Clearing bit 10 causes the processor to use all ones.
                                                          Bit 14 interacts with bit 10, which controls the host portion of the IP
                                                          broadcast address. See Table 3 on page 117 for the combined effect of
                                                          bits 10 and 14.
                        15            0x8000              Enables diagnostic messages and ignores the contents of NVRAM.
                        Table 2 on page 117 describes the boot field, which is the lowest four bits of the configuration register
                        (bits 3, 2, 1, and 0). The boot field setting determines whether the router loads an operating system and
                        where the router obtains the system image.
                        Boot Field
                        (Bits 3, 2, 1, and 0) Meaning
                        0000                     At the next power cycle or reload, the router boots to the ROM monitor (bootstrap
                                                 program). To use the ROM monitor, you must use a terminal or PC that is
                        (0x0)
                                                 connected to the router console port. For information about connecting the router to
                                                 a PC or terminal, see the Hardware Installation Guide for your router.
                                                 In ROM monitor mode, you must manually boot the system image or any other
                                                 image using the boot ROM monitor command.
                        0001                     Boots the first image in flash memory as a system image.
                        (0x01)
                        0010 - 1111              At the next power cycle or reload, the router sequentially processes each boot
                                                 system command in global configuration mode that is stored in the configuration
                        (0x02 - 0xF)
                                                 file until the system boots successfully.
                                                 If no boot system commands are stored in the configuration file, or if executing
                                                 those commands is unsuccessful, then the router attempts to boot the first image file
                                                 in flash memory.
Table 3 shows how each setting combination of bits 10 and 14 affects the IP broadcast address.
Table 4 shows the console line speed for each setting combination of bits 5, 11, and 12.
            Step 1      Connect a terminal or PC to the router console port. If you need help, see the Hardware Installation
                        Guide for your router.
            Step 2      Configure your terminal or terminal emulation software for 9600 baud (default), 8 data bits, no parity,
                        and 2 stop bits.
            Step 3      Power on the router.
            Step 4      If you are asked whether you would like to enter the initial dialog, answer no:
                        Would you like to enter the initial dialog? [yes]: no
            Step 7      To change the configuration register settings, enter the config-register value command, where value is
                        a hexadecimal number preceded by 0x:
                        Router(config)# config-register 0xvalue
                        Note      The Cisco IOS software does not allow you to change the console speed bits directly with the
                                  config-register command. To change the console speed from the Cisco IOS CLI, see the
                                  “Configuring the Console Line Speed (Cisco IOS CLI)” section on page 119.
                                                                         removing directories               82
A
                                                                         renaming files          80
adequate flash memory to upgrade             59                          requirements and restrictions                 75
advanced CompactFlash memory                2                            viewing file content           78
assigning an interface IP address           16                      configuration example             52
auxiliary line configuration       24                               configuration examples
auxiliary port, for dial backup 49                                       dynamic routes          42
                                                                         EIGRP        44
                                                                         static route       41
B
                                                                    configuration register
backing up startup configuration            57                           changing settings            118
backing up startup configuration file             27                configuring
baud rate                                                                auxiliary line       24
      setting for console terminal      118                              bridging      39
bridging, configuring        39                                          command-line access                39
                                                                         default route        19
                                                                         dynamic routes          42
C
                                                                         EIGRP, IP         43 to 44
choosing Cisco IOS release         56                                    enable password           13
Cisco Configuration Professional Express               5, 11             enable secret password              13
Cisco IOS                                                                Gigabit Ethernet interfaces              36
      choosing release       56                                          global parameters            35
     timeout        16
                                                                                   F
     virtual terminal lines         22
console                                                                            failover redundancy      47
     USB       2                                                                   fiber connection
console port, for dial backup            49                                            SFP/gigabit ethernet port          2
copper connection                                                                  finding the IOS version       56
     SFP/gigabit ethernet port           2                                         flash memory, adequate to upgrade               59
copying CompactFlash files             77                                          formatting CompactFlash           76
copying image using ROM monitor                   64
creating CompactFlash directories                81
                                                                                   G
                                                                       S
N
                                                                       saving router configuration             27
network connectivity verification                 26                   setup, initial       5
new system IOS image, loading                    67                    SFP/gigabit ethernet port
                                                                               copper       2
                                                                               fiber    2
O
                                                                       SFP-GE port              47
online insertion/removal of CompactFlash                    76         show version command               56
                                                                       slots      3
                                                                       software upgrades, IOS             56
P                                                                      startup configuration, backing up             57
ports configuring 40
       Gigabit Ethernet             4
       RS232          4
                                                                       T
       USB        4
privileged EXEC timeout configuration                      15          Tables
                                                                               configuration register settings for boot field    117
                                                                       TFTP, upgrading               62
R                                                                      timeout, disabling            16
RCP, upgrading                 62
release
                                                                       U
       new features            2
remote management, configuring                    49                   upgrading, adequate DRAM                59
verifying
     IP EIGRP configuration             44
     network connectivity            26
     RIP routing configuration            43
     static route configuration           41
virtual terminal line configuration            22