|
This chapter describes the procedures for performing a basic configuration your router, and contains the following sections:
To configure the Cisco 7000 from a console, you need to connect a terminal to the router's console port. Configuration requires access to the console port on the Route Processor (RP) or the 7000 Series Route Switch Processor (RSP7000) in your router.
This chapter guides you through a basic router configuration, which is sufficient for you to access your network. Complex configuration information is beyond the scope of this text, and can be found in the configuration publications listed in the section "If You Need More Configuration Information."
The Cisco Internetwork Operating System (Cisco IOS) software running the router contains extensive features and functionality. The effective use of many of many of these features is easier if you have more information at hand. To obtain general information about documentation, call Customer Service at 800 553-6387 or 408 526-7208. Customer Service hours are 5:00 a.m. to 6:00 p.m. Pacific time, Monday through Friday (excluding company holidays). You can also send e-mail to cs-rep@cisco.com. You can also refer to the Cisco Information Packet that shipped with your router.
For additional information on configuring the Cisco 7000 router, the following documentation resources are available to you:
This user guide and all other Cisco Systems publications are available on UniverCD, which is Cisco's online library of product information. UniverCD is updated and shipped monthly, so it might be more up to date than printed documentation. To order UniverCD, contact a Cisco Sales or Customer Service representative.
When all interfaces are connected, perform a final check of all connections, then power up the system as follows:
Step 2 At the power source end of the power cable, make sure the AC or DC connections are securely attached, and that the power source is within the range labeled on the back of the router.
Step 3 Check the console terminal and make sure it is turned on.
Step 4 When you have checked all of the connection points, turn ON the system.
The AC power LED on the AC-input power supply (or the input power LED on the DC-input supply) will be on.
Step 5 Listen for the system fans, which should generate enough noise to be audible.
Step 6 While the system initializes, the normal LED on the RP (or RSP7000) goes on and stays on.
If this LED does not go on after system initialization, an error has occurred. For troubleshooting advice and recommendations, refer to the Cisco 7000 Hardware Installation and Maintenance publication.
Step 7 During the boot process, the LEDs on most of the interfaces go on in irregular sequence.
Some LEDs may go on and remain on, go out, and go on again for a short time. Some will stay on during the entire boot process if an interface is already configured and brought up (such as the EIP receive LED, which goes on steadily as it detects traffic on the line). Wait until the system boot is complete before attempting to verify the interface processor LED indications.
Step 8 When the system boot is complete (a few seconds), the RP (or RSP7000) begins to initialize the interface processors. During this initialization, the LEDs on each interface processor behave differently (most flash on and off). The enabled LED on each interface processor goes on when initialization is completed, and the console screen displays a script and system banner similar to the following:
Step 9 Configure the interfaces.
When you start up the router for the first time, the system automatically enters the setup command facility, which determines which interfaces are installed, and prompts you for configuration information for each interface. On the console terminal, after the system displays the system banner and hardware configuration, you will see the following System Configuration Dialog prompt:
You have the option of proceeding with the setup command facility to configure the interfaces, or exit from setup and use configuration commands to configure global (system-wide) and interface-specific parameters. You do not have to configure the interfaces immediately; however, you cannot enable the interfaces or connect them to any networks until you have configured them.
Many of the interface processor LEDs will not go on until you have configured the interfaces. To verify correct operation of each interface, complete the first-time startup procedures and configuration, then refer to the LED descriptions in the appendix "Reading LED Indicators" in the Cisco 7000 Hardware Installation and Maintenance publication to check the status of the interfaces.
If the system does not complete each of these steps, proceed to the chapter "Troubleshooting the Installation," in the Cisco 7000 Hardware Installation and Maintenance publication, for troubleshooting recommendations and procedures.
Use the following information only if you have an RP running Cisco IOS Release 10.0 or later, or an RSP7000 processor in your Cisco 7000; otherwise, the RP uses a hardware configuration register, and you should refer to the section "Setting the Boot Jumper on the RP," in the chapter "Installing the Cisco 7000," for the appropriate settings.
Bits 0 through 3 of the software configuration register form the boot field. The boot field specifies a number in binary and functions as follows:
You can enter the boot command only, or include additional boot instructions with the command such as the name of a file stored in Flash memory or a file that you specify for booting from a network server. If you use the boot command without specifying a file or any other boot instructions, the system boots from the default Flash image (the first image in onboard Flash memory). Otherwise, you can instruct the system to boot from a specific Flash image (using the boot system flash filename command), or boot from a network server by sending broadcast TFTP requests (using the boot system filename command), or send a direct TFTP request to a specific server (using the boot system filename address command).
The boot command can also be used to boot images stored in the Personal Computer Memory Card International Association (PCMCIA) Flash memory cards located in slot 0 or slot 1 on the RSP2. If you set the boot field to any bit pattern other than 0 or 1, the system uses the resulting number to form a filename for netbooting.
To form this filename, the system starts with cisco and links the octal equivalent of the boot field value and the processor type in the following format: cisco<bootfieldvalue>-<processorname>; for example, cisco2-RSP or cisco2-RP.
The system uses the filename to invoke the system image by netbooting. However, if the configuration file contains any boot instructions, the system uses those boot instructions instead of the filename it computed from the configuration register settings. You must set the boot field for the boot functions you require.
For more detailed information on the software configuration register features and Flash memory card functionality, refer to the Cisco 7000 Hardware Installation and Maintenance publication. For information on the boot command and function, refer to the section "Booting the Cisco 7000 for the First Time."
The router is administered using the Cisco command interpreter, called the EXEC. You must boot and log in to the router before you can enter an EXEC command. For security purposes the EXEC has two levels of access to commands, user EXEC mode and privileged EXEC mode. To enter the privileged mode you must enter the enable secret password (which is optional, but must first have been saved in memory) on systems running Cisco Internetwork Operating System (Cisco IOS) Release 10.2(3) or later, or the enable password on systems running Cisco IOS releases prior to Release 10.2(3) or when using the boot ROM software.
At the ROM monitor prompt, view what is in onboard Flash memory using the following:
If you have a 7000 Series Route Switch Processor (RSP7000) or a Route Processor (RP) with a PCMCIA Flash memory card in the Flash memory card slot, view the Flash memory PCMCIA card in slot 0 using the following:
If you have an RSP7000, view the Flash memory PCMCIA card in slot 1using the following:
Boot from one of these images using the following:
If you did not change the configuration register setting, the next reload will go back to the default configuration register setting. The factory default configuration register setting for systems is 0x102, and for RSP spares the default is 0x101.
The commands available at the user level are a subset of those available at the privileged level. Because many privileged-level EXEC commands are used to set operating parameters, you should password-protect these commands to prevent unauthorized use.
There are two commands you can use to do this, depending on which release of the Cisco IOS software you have:
You must enter the correct password to gain access to privileged-level commands. The enable secret password is available in Cisco IOS Release 10.2(3) or later. When you are running from the boot ROM, the enable password might be used depending on your ROM level.
The passwords should be different for maximum security. If you enter the same password for both during the setup script, the system will accept it, but you will receive a warning message indicating that you should enter a different password.
An enable secret password can contain from 1 to 25 uppercase and lowercase alphanumeric characters; an enable password can contain any number of uppercase and lowercase alphanumeric characters. In both cases, a number cannot be the first character. Spaces are also valid password characters; for example, "two words" is a valid password. Leading spaces are ignored; trailing spaces are recognized.
You can complete a basic configuration of the Cisco 7000 using one of the procedures described in the following sections:
Follow the procedure that best fits the needs of your network configuration.
Note You will need to acquire the correct network addresses from your system administrator or consult your network plan to determine correct addresses before you can complete the router configuration.
Before continuing the configuration process, check the current state of the router by entering the show version command. The show version command will display the release of Cisco IOS software that is available on the router.
The AutoInstall process is designed to configure the router automatically after connection to your wide-area network (WAN). For AutoInstall to work properly, a Transmission Control Protocol/Internet Protocol (TCP/IP) host on your network must be preconfigured to provide the required configuration files. The TCP/IP host may exist anywhere on the network, as long as the following two conditions are maintained:
1. The host must be on the remote side of the router's synchronous serial connection to the WAN.
2. User Datagram Protocol (UDP) broadcasts to and from the router and the TCP/IP host must be enabled.
This functionality is coordinated by your system administrator at the site where the TCP/IP host is located. You should not attempt to use AutoInstall unless the required files have been provided on the TCP/IP host. See the appropriate software configuration publications for information on how AutoInstall works.
Take the following steps to prepare your router for the AutoInstall process:
Step 2 Turn ON power to the router.
The router will load the operating system image from Flash memory. If the remote end of the WAN connection is connected and properly configured, the AutoInstall process will begin. If the AutoInstall process completed successfully, you might want to write the configuration data to the router's nonvolatile random-access memory (NVRAM). Perform the following step to complete this task:
Step 3 At the # prompt, enter the copy running-config startup-config command if you are running Cisco IOS Release 11.0 or later, or the write memory command if you are running a Cisco IOS release earlier than 11.0:
Taking this step will save the configuration settings that the AutoInstall process created in the router. If you fail to do this, your configuration will be lost the next time you reload the router.
If you do not plan to use AutoInstall, do not connect the router's serial (WAN) cable to the channel service unit/data service unit (CSU/DSU). This will prevent the router from attempting to run the AutoInstall process. The router will attempt to run AutoInstall whenever you start it if the serial (WAN) connection is connected on both ends and the router does not have a configuration stored in NVRAM. It can take several minutes for the router to determine that AutoInstall is not set up to a remote TCP/IP host.
Once the router has determined that AutoInstall is not configured, it will default to the setup facility. If the serial (WAN) cable is not connected, the router will boot from Flash memory and go into the setup facility.
Note You can run the setup facility any time you are at the enable prompt (#) by entering the setup command.
When you first start the setup program, you must configure the global parameters. The global parameters are used for controlling system-wide settings. Use the following procedure to enter the global parameters:
Step 2 When you have booted from Flash memory, the following information will appear after about 30 seconds. When you see this information displayed, you have successfully booted your router:
Note The first two sections of the configuration script (the banner and the installed hardware) appear only at initial system startup. On subsequent uses of the setup command facility, the script begins with the System Configuration Dialog.
Step 3 Enter yes or press Return when asked if you want to enter the configuration dialog and if you want to see the current interface summary. Press Return to accept the default (yes):
In the following example, the summary shows a router at first-time startup. That is, nothing has been configured, and the summary reflects that fact.
Step 4 Choose which protocols to support on your interfaces. For Internet Protocol (IP)-only installations, you can accept the default values for most of the questions.
A typical minimal configuration using IP, IPX, and AppleTalk follows, and continues through Step 10:
Step 5 Enter the enable secret password and the enable password:
Step 6 The Simple Network Management Protocol (SNMP) is the most widely supported open standard for network management. It provides a means to access and set configuration and run-time parameters of routers and communication servers. SNMP defines a set of functions that can be used to monitor and control network elements.
Enter yes or no to accept or refuse SNMP management:
Step 7 For the following query, do not enable CLNS:
Step 8 For the following queries, enable routing on AppleTalk and IPX:
Step 9 For the following queries, do not enable Vines, XNS, DECnet, or bridging:
Step 10 In most cases you will use IP routing. If you are using IP routing, you must also select an interior routing protocol. You can specify only one of two interior routing protocols to operate on your system using setup: Interior Gateway Routing Protocol (IGRP) or Routing Information Protocol (RIP).
Enter yes (the default) or press Return to configure IP and then select an interior routing protocol (such as IGRP) for IP:
Note The following sample display includes a continuous listing of all configuration
parameters selected in Steps 4 through 10. These parameters are
shown in the order in which they appear on your console terminal.
Only IP, IPX, and AppleTalk are the selected protocols for this example.
Step 11 Save your settings to NVRAM. (Refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration.")
Following are steps to configure interfaces to allow communication over a LAN or WAN. To configure the interface parameters, you will need your interface network addresses and subnet mask information. Consult with your network administrator for these.
Following is the procedure for configuring an Ethernet interface:
Step 2 Determine if you want to enable IPX on this interface. If yes, enter the unique IPX network number:
Step 3 Enter yes to use AppleTalk on the interface, enter yes to configure for extended AppleTalk networks, and then enter the cable range number. Enter the zone name, and any other additional zones that will be associated with your local zone:
Step 4 Save your settings to NVRAM. (Refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration.") If additional Ethernet interfaces are available in your system, you are prompted for their configurations as well.
The synchronous serial interfaces are configured to allow connection to WANs through a CSU/DSU. Take the following steps to configure the serial ports:
Step 2 Determine which protocols you want to allow on the synchronous serial interface and enter the appropriate responses:
Step 3 Save your settings to NVRAM. (Refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration.") If additional synchronous serial interfaces are available in your system, you are prompted for their configurations as well.
Note The following sample display includes a continuous listing of all interface
configuration parameters selected for Ethernet and synchronous
serial interfaces. These parameters are shown in the order in which they appear on your
console terminal.
Only one Ethernet and one synchronous serial interface are configured for this example.
The Cisco 7000 is now minimally configured and ready to use. Use the setup command if you want to modify the parameters after the initial configuration. To perform more complex configurations, enter the configure command.
For information on additional interface configuration and information on more specific system configurations, refer to the section "If You Need More Configuration Information."
You can configure the Cisco 7000 manually if you prefer not to use the setup facility or AutoInstall. Take the following steps to configure the router manually:
Step 2 When you are asked if you want to enter the initial dialog, answer no to go into the normal operating mode of the router:
Step 3 After a few seconds you will see the user EXEC prompt (Router>). Type enable to enter enable mode. Configuration changes can only be made in enable mode:
The prompt will change to the privileged EXEC prompt:
Step 4 Enter the config terminal command at the enable prompt to enter configuration mode from the terminal:
At the Router(config)# prompt, enter the interface type slot/port command to enter the interface configuration mode:
In either of these configuration modes, you can enter any changes to the router's configuration. Press Ctrl-Z to exit either configuration mode.
Step 5 Save your settings to NVRAM. (Refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration.")
The Cisco 7000 is now minimally configured and will boot with the configuration you have entered. To see a list of the configuration commands available to you, enter ? at the prompt or press the help key while in configuration mode.
You can check the value of the settings you entered by entering the following commands at the # prompt: show running-config if you are running Cisco IOS Release 11.0 or later, or write terminal if you are running a Cisco IOS Release earlier than 11.0.
To store the configuration or changes to your startup configuration, enter the following commands at the hostname# prompt: copy running-config startup-config if you are running Cisco IOS Release 11.0 or later, or write memory if you are running a Cisco IOS release earlier than Release 11.0.
Entering this command will save the configuration settings that you created in the router using configuration mode. If you fail to do this, your configuration will be lost the next time you reload the router.
To display information stored in NVRAM, use the show startup-config EXEC command if you are running Cisco IOS Release 11.0 or later, or the show config EXEC command if you are running a Cisco IOS release earlier than 11.0.
To make advanced configuration changes after you establish the basic startup configuration for your router, refer to the section "If You Need More Configuration Information" for the appropriate configuration publications; these publications contain additional information on using the configure command.
The configuration publications also provide information about the following tasks:
After you have installed the Cisco 7000 hardware, checked all external connections, turned on the system power, allowed the system to boot up, and minimally configured the system, you might need to perform more complete and complex configurations, which are beyond the scope of this text.
For specific information on system and interface configuration, and, if necessary, troubleshooting, refer to the publications listed in the section "If You Need More Configuration Information."
Posted: Sun Feb 2 19:06:29 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.