|
This chapter describes how to start the system and perform a basic configuration for your Cisco 7200 VXR router. The chapter contains the following sections:
Note For instructions about how to perform a basic configuration for a Cisco 7206VXR as a router shelf in a Cisco AS5800 Universal Access Server, refer to the Cisco AS5800 Universal Access Server publications that shipped with your access server. |
This chapter guides you through a basic router configuration, which is sufficient for you to access your network. Complex configuration procedures are beyond the scope of this publication and can be found in the modular configuration and modular command reference publications in the Cisco IOS software configuration documentation set that corresponds to the software release installed on your Cisco hardware.
To configure a Cisco 7200 VXR router from a console, you need to connect a terminal to the router console port. Configuration requires access to the console port on the router I/O controller.
Check the following conditions before you start your router:
You are now ready to start your router. Proceed to the section "Starting the System and Observing Initial Conditions."
After installing your Cisco 7200 VXR router and connecting cables, start the router as follows:
Note When powering on or power off the router, wait 30 seconds before powering it on or powering it off again. |
Step 2 Listen for the fans; you should immediately hear them operating.
Step 3 During the boot process, observe the system LEDs. The LEDs on most of the port adapters go on and off in irregular sequence. Some may go on, go out, and go on again for a short time. On the I/O controller, the IO power OK LED comes on immediately.
Step 4 Observe the initialization process. When the system boot is complete (a few seconds), the network processing engine or network services engine begins to initialize the port adapters and the I/O controller. During this initialization, the LEDs on each port adapter behave differently (most flash on and off).
The enabled LED on each port adapter goes on when initialization is completed, and the console screen displays a script and system banner similar to the following:
Step 5 When you start up the router for the first time, the system automatically enters the setup facility, which determines which port adapters are installed and prompts you for configuration information for each one. 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 facility to configure the interfaces, or exiting from setup and using 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 port adapter LEDs do not go on until you have configured the interfaces. To verify correct operation of each interface, complete the first-time startup procedures and configuration, and then refer to the configuration note for each port adapter for LED descriptions and to check the status of the interfaces.
If the system does not complete each of the steps in the startup procedure, proceed to Appendix A, "Troubleshooting the Installation" for troubleshooting recommendations and procedures.
You can configure your Cisco 7200 VXR router using one of the procedures described in the following sections:
Follow the procedure that best fits the needs of your network configuration.
Note You 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 displays the release of Cisco IOS software that is available on the router.
The AutoInstall process is designed to configure the Cisco 7200 VXR router automatically after connection to your 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 synchronous serial connection to the WAN.
2. User Datagram Protocol (UDP) broadcasts to and from the router and the TCP/IP host are enabled.
This functionality is coordinated by your system administrator at the site where the TCP/IP host is located. You should not use AutoInstall unless the required files are available on the TCP/IP host. Refer to the publications Configuration Fundamentals Configuration Guide and Configuration Fundamentals Command Reference for information about how AutoInstall works.
Complete the following steps to prepare your Cisco 7200 VXR router for the AutoInstall process:
Step 2 Turn the power switch on each power supply to the on (|) position. (This action turns on AC power to the router.)
Note After powering off the router, wait at least 30 seconds before powering it on again. |
The router loads the operating system image from Flash memory. If the remote end of the WAN connection is connected and properly configured, the AutoInstall process begins.
Once the AutoInstall process is completed, use the copy running-config startup-config command 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 following command:
Note Completing Step 3 saves the configuration settings that the AutoInstall process created to NVRAM. 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). If the WAN cable is not connected, the router boots from Flash memory and goes automatically into the setup facility.
Note You can run the setup facility any time you are at the enable prompt (#) by entering the setup command. |
If the serial (WAN) cable is connected to the CSU/DSU and the router does not have a configuration stored in NVRAM, the router attempts to run AutoInstall at startup. The router may take several minutes to determine that AutoInstall is not set up to a remote TCP/IP host. Once the router determines that AutoInstall is not configured, it defaults to the setup facility.
When you first start the setup program, you must configure the global parameters. These parameters are used for controlling system-wide settings. Complete the following steps to enter the global parameters:
The system boots from Flash memory. The following information appears after about 30 seconds. When you see this information, you have successfully booted your router:
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 facility, the script begins with a System Configuration Dialog as shown in the following example.
Step 2 When asked if you want to enter the initial configuration dialog and see the current interface summary, enter yes or press Return:
In the following example, the summary shows a Cisco 7200 VXR router at first-time startup; that is, nothing is configured.
Step 3 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 configuration using IP, IPX, and AppleTalk follows and continues through Step 8:
Step 4 Enter enable secret, enable, and virtual terminal passwords:
Step 5 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 press Return to accept SNMP management; enter no to refuse it:
Step 6 For the following queries, do not enable VINES, LAT, DECnet, CLNS, bridging, XNS, or Apollo:
Step 7 For the following queries, enable routing on AppleTalk and IPX:
Step 8 In most cases you 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 the setup facility: Interior Gateway Routing Protocol (IGRP) or Routing Information Protocol (RIP).
To configure IP routing, enter yes (the default) or press Return, and then select an interior routing protocol:
The following sample display includes a continuous listing of all configuration parameters selected in Step 3 through Step 8. Only IP, IPX, and AppleTalk are the selected protocols for this example.
Step 9 Save your settings to NVRAM. (See the "Saving the Running Configuration to NVRAM" section.) If you do not save the configuration setting that you created in the router using configuration mode and the setup facility, your configuration will be lost the next time you reload the router.
The NPE-G1 reports both the RJ-45 and GBIC GE interface ports as GigabitEthernet 0/1, GigabitEthernet 0/2, and GigabitEthernet 0/3. Before configuring either interface, you must first use the media-type interface command to select the media type, either the GBIC (gbic) or RJ-45 (rj45) port.
Note The RJ-45 port is the default media. |
To be able to use a particular media port, use Cisco IOS to select the media type. This is done by using the media-type interface command:
Note These commands are only applicable when using the RJ-45 media. |
The following speed/duplex settings are supported:
a. a. If you are using the no negotiation auto command, the speed and duplex should be set to a value other than auto for correct operation.
b. b. The only available speed in the no auto negotiation mode is 1000 Mbps; there is no difference whether 1000 or auto is selected.
When using the GBIC media, there is also the additional negotiation auto command that is used to enable the IEEE 802.1z Gigabit Ethernet (1000 Mbps) autonegotiation protocol.
Step 2 To turn the autonegotiation feature off (it is on by default), issue the interface command no negotiation auto. This is useful for connecting to other Gigabit Ethernet equipment that does not support 802.1z auto negotiation.
Note The autonegotiation feature is not supported when using the rj-45 media type and will be ignored if implementation is attempted |
If you change from the GBIC to the rj-45 media type, you must set speed and duplex after you have executed the media-type command to ensure the interface will operate in the correct mode.
The media-type GBIC mode will always default to 1000 Mbps. Both full-duplex and half-duplex operation are supported in this mode.
The following shows a typical configuration for the three Gigabit Ethernet interfaces on the NPE-G1. In this example, the first interface is configured for the GBIC media type, the second interface is configured for the RJ-45 media type, and the third interface is not used.
Note At the very minimum, an interface must be configured with the ip address, media-type, and speed commands before it can be enabled using the no shutdown command. Other interface commands might be needed, depending on the nature of the connected network. |
Cisco IOS provides two commands to provide information on your interfaces: show interface GigabitEthernet 0/X (where X is 1, 2, or 3) and show controllers GigabitEthernet 0/0
The output of the show interface command is useful for determining the current operating mode of the interface (speed/duplex/media-type) and the current interface statistics.
The output of the show controller command displays more information specific to the I/O controller interface. For example, it shows the detected link status, speed, and duplex, and also determines the current status of autonegotiation and the link partners' abilities (if it is an autonegotiation-capable interface).
The show controller command also displays the current operating state of the driver and the Ethernet controller hardware. The show controller command is a very powerful debugging aid, especially for Cisco engineers should you need help in debugging a problem. If you have any problems with your Gigabit Ethernet interfaces, you will need to provide this information to Cisco for analysis.
Should you have a problem with your interface and wish to try and reset it, use the command:
clear interface GigabitEthernet 0/X (where X is 1, 2, or 3)
Interface counters on the NPE-G1 may be cleared (reset) by using the command:
clear counters GigabitEthernet 0/X (where X is 1, 2, or 3.)
This will not reset the interface.
Following are the steps for configuring interfaces to allow communication over a LAN or WAN. To configure the interface parameters, you need your interface network addresses and subnet mask information. Consult with your network administrator for this information.
In the following example, an ATM interface in slot 1 is configured for an ATM LAN using IP. Follow these steps to configure an ATM interface.
Step 2 Determine if you are going to enable IPX on this interface; if you are, enter the unique IPX network number:
Step 3 If you are using AppleTalk on the interface, enter yes. 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 are associated with your local zone:
Step 4 Save your settings to NVRAM. (See the "Saving the Running Configuration to NVRAM" section.)
Note If additional ATM interfaces are available in your system, you are prompted for their configurations as well. |
In the following example, a Fast Ethernet interface in slot 2 is configured for a Fast Ethernet LAN using IP. Follow these steps to configure Fast Ethernet interfaces.
Step 2 Determine if you are going to enable IPX on this interface; if you are, enter the unique IPX network number:
Step 3 If you are using AppleTalk on the interface, enter yes. 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 are associated with your local zone:
Step 4 Save your settings to NVRAM. (See the "Saving the Running Configuration to NVRAM" section.) If you do not save the configuration setting that you created in the router using configuration mode and the setup facility, your configuration will be lost the next time you reload the router.
Note If additional Fast Ethernet interfaces are available in your system, you are prompted for their configurations as well. |
Synchronous serial interfaces are configured to allow connection to WANs through a CSU/DSU. In the following example, a serial interface in slot 3 is configured for a WAN connection using IP. Follow these steps to configure synchronous serial interfaces:
Step 2 Determine if you are going to enable IPX on this interface; if you are, enter the unique IPX network number:
Step 3 If you are using AppleTalk on the interface, enter yes. 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 are associated with your local zone:
Step 4 Save your settings to NVRAM. (See the "Saving the Running Configuration to NVRAM" section.) If you do not save the configuration setting that you created in the router using configuration mode and the setup facility, your configuration will be lost the next time you reload the router.
Note If additional synchronous serial interfaces are available in your system, you are prompted for their configurations as well. |
The following sample display includes a continuous listing of all interface configuration parameters selected for ATM, Fast Ethernet, and serial interfaces.
Your router is now minimally configured and ready to use. You can use the setup command if you want to modify the parameters after the initial configuration. To perform more complex configurations, use the configure command.
For information on additional interface configuration and specific system configurations, refer to the modular configuration and modular command reference publications in the Cisco IOS software configuration documentation set that corresponds to the software release installed on your Cisco hardware.
You can configure a Cisco 7200 VXR router manually if you prefer not to use the setup facility or AutoInstall. Complete the following steps to configure the router manually:
Step 2 When 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 the user EXEC prompt (Router>)
is displayed. Type enable to enter enable mode (configuration changes can only be made in enable mode):
The prompt changes 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 configuration mode, you can now enter any changes to the configuration. Press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter.
Step 5 Save your settings to NVRAM. (See the "Saving the Running Configuration to NVRAM" section.) If you do not save the configuration setting that you created in the router using configuration mode and the setup facility, your configuration will be lost the next time you reload the router.
Your router 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.
To store the configuration or changes to your startup configuration in NVRAM, enter the copy running-config startup-config command at the Router#
prompt:
Using this command saves the configuration settings that you created in the router using configuration mode and the setup facility. If you fail to do this, your configuration will be lost the next time you reload the router.
To check the value of the settings you have entered, enter the show running-config command at the Router#
prompt:
To review changes you make to the configuration, use the EXEC mode show startup-config command to display the information stored in NVRAM.
To make advanced configuration changes after you establish the basic startup configuration for your router, refer to the modular configuration and modular command reference publications in the Cisco IOS software configuration documentation set that corresponds to the software release installed on your Cisco hardware. These publications contain additional information on using the configure command.
The configuration publications also provide information about the following tasks:
Use show commands to identify the hardware installed in your router, to verify the operation status, to view interface configuration settings, and to troubleshoot your router configuration. The interfaces on the NPE-G1 are identified by their chassis slot number and interface port number (slot/port). The interfaces on your I/O controller are also identified by chassis slot number and interface port number (slot/port). The chassis slot number for the I/O controller is always slot0. Table 4-1 lists the NPE-G1 and the I/O controller models, their corresponding interfaces, and the interface addressing syntax for each interface.
Table 4-1 Identifying Interface Addresses on the NPE-G1 and Various I/O Controllers
Model | Interface | Numbers | Syntax |
---|---|---|---|
1Both optical and copper ports report the same syntax. For example, Gigabit Ethernet RJ-45 port 0/2 reports GigabitEthernet 0/2, as does Gigabit Ethernet GBIC port 0/2.
2The Product Number C7200-I/O-FE does not specify MII because both an MII and an RJ-45 receptacle are included. 3The I/O controller with the Product Number C7200-I/O-FE-MII has a single MII FastEthernet receptacle only. Although still supported by Cisco Systems, this I/O controller with a single MII receptacle is no longer an orderable product as of May1998. |
This section describes how to recover a lost enable or console login password, and how to replace a lost enable secret password on your Cisco 7200 VXR router.
Note It is possible to recover the enable or console login password. The enable secret password is encrypted, however, and must be replaced with a new enable secret password. |
Following is an overview of the steps in the password recovery procedure:
Step 2 Press the Break key to get to the bootstrap program prompt (ROM monitor). You might need to reload the system image by power cycling the router.
Step 3 Change the configuration register so the following functions are enabled:
Note The key to recovering a lost password is to set the configuration register bit 6 (0x0040) so that the startup configuration (usually in NVRAM) is ignored. This allows you to log in without using a password and to display the startup configuration passwords. |
Step 4 Power cycle the router by turning power off and then back on. However, after powering off the router, wait at least 30 seconds before powering it on again.
Step 5 Log in to the router and enter the privileged EXEC mode.
Step 6 Enter the show startup-config command to display the passwords.
Step 7 Recover or replace the displayed passwords.
Step 8 Change the configuration register back to its original setting.
Note To recover a lost password if the Break function is disabled on the router, you must have physical access to the router. |
Complete the following steps to recover or replace a lost enable, enable secret, or console login password:
Step 2 Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and 2 stop bits.
Step 3 If you can log in to the router as a nonprivileged user, enter the show version command to display the existing configuration register value. Note the value for use later and proceed to Step 6. If you cannot log in to the router at all, go to the next step.
Step 4 Press the Break key or send a Break from the console terminal. If Break is enabled, the router enters the ROM monitor, indicated by the ROM monitor prompt (rommon1>
). Proceed to Step 6. If Break is disabled, power cycle the router (turn the router off or unplug the power cord, and then restore power). Then proceed to Step 5.
Step 5 Within 60 seconds of restoring the power to the router, press the Break key or send a Break. This action causes the router to enter the ROM monitor and display the ROM monitor prompt (rommon1>
).
Step 6 Set the configuration register using the configuration register utility; enter the confreg command at the ROM monitor prompt as follows:
Step 7 Answer yes to the enable "ignore system config info?" question, and note the current configuration register settings.
Step 8 Initialize the router by entering the reset command as follows:
The router initializes, the configuration register is set to 0x142, and the router boots the system image from Flash memory and enters the System Configuration Dialog (prompt) as follows:
Step 9 Enter no in response to the System Configuration Dialog prompts until the following message is displayed:
Step 10 Press Return. The user EXEC prompt is displayed as follows:
Step 11 Enter the enable command to enter privileged EXEC mode. Then enter the show startup-config command to display the passwords in the configuration file as follows:
Step 12 Scan the configuration file display looking for the passwords (the enable passwords are usually near the beginning of the file, and the console login or user EXEC password is near the end). The passwords displayed look something like this:
The enable secret password is encrypted and cannot be recovered; it must be replaced. The enable and console login passwords may be encrypted or clear text. Proceed to the next step to replace an enable secret, console login, or enable password. If there is no enable secret password, note the enable and console login passwords, if they are not encrypted, and proceed to Step 17.
Step 13 Enter the configure memory command to load the startup configuration file into running memory. This action allows you to modify or replace passwords in the configuration.
Step 14 Enter the privileged EXEC command configure terminal to enter configuration mode:
Step 15 Change all three passwords using the following commands:
Hostname(config)#
enable secret newpassword1Change only the passwords necessary for your configuration. You can remove individual passwords by using the no form of the above commands. For example, entering the no enable secret command removes the enable secret password.
Step 16 You must configure all interfaces to be not administratively shut down as follows:
Enter the equivalent commands for all interfaces that were originally configured. If you omit this step, all interfaces are administratively shut down and unavailable when the router is restarted.
Step 17 Use the config-register command to set the configuration register to the original value noted in Step 3 or Step 8, or to the factory default value 0x2102 as follows:
Step 18 Press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter.
Caution Do not execute the next step unless you have changed or replaced a password. If you skipped Step 13 through Step 16, skip to Step 20. Failure to observe this caution causes you to erase your router configuration file. |
Step 19 Enter the copy running-config startup-config command to save the new configuration to NVRAM.
Step 20 Enter the reload command to reboot the router.
Step 21 Log in to the router with the new or recovered passwords.
This completes the steps for recovering or replacing a lost enable, enable secret, or console login password.
You can use the show version and the show diag commands to view information specific to the hardware configuration of your Cisco 7200 VXR router.
Use the show version (or show hardware) command to display the system hardware (the network processing engine or network services engine and the number of interfaces installed), the software version, the names and sources of configuration files, and the boot images.
The following sample output of the show version command shows an NPE-G1 installed in the Cisco 7206VXR.
Use the show diag command to determine what type of port adapters and I/O controller (with or without the Fast Ethernet port) are installed in slot 0 through slot 4 of your Cisco 7204VXR or slot 0 through slot 6 of your Cisco 7206VXR. You can also use the show diag slot command to display information about a specific port adapter slot.
The following example shows the show diag command output from a Cisco 7206VXR with an NPE-G1 installed.
For specific information on the show version, show diag and other software commands, refer to the modular configuration and modular command reference publications in the Cisco IOS software configuration documentation set that corresponds to the software release installed on your Cisco hardware.
After you have installed your Cisco 7200 VXR router 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 complex configurations, which are beyond the scope of this publication.
For specific information on system and interface configuration, refer to the modular configuration and modular command reference publications in the Cisco IOS software configuration documentation set that corresponds to the software release installed on your Cisco hardware.
Posted: Thu May 22 05:04:23 PDT 2003
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.