|
|
This chapter describes the tasks necessary to create and manage a basic running configuration for the Cisco 10000 ESR. It provides information on three setup phases:
Setup Phase | Section |
|---|---|
|
This section explains how to create a basic running configuration for your Cisco 10000 ESR through use of the Cisco 10000 setup facility or the IOS command line interface (CLI). For information on modifying the configuration after you create it, refer to
To set up a new Cisco 10000 ESR, you must connect a terminal or terminal server to the console port of the performance routing engine (PRE). To configure the Cisco 10000 ESR for use over your management Ethernet, you must know the router's IP address. Figure 2-1 shows the PRE faceplate.
Whenever you power on your Cisco 10000 ESR or execute the reload command, the console screen displays a message similar to the following:
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) 10000 Software (C10K-P6-M), Version 12.0(20000413:055718)
[20000413:010004 104]
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Thu 13-Apr-00 04:20 by chrel
Image text-base: 0x60008900, data-base: 0x60A6E000
cisco C10000 (CRE-RP) processor with 114688K/16384K bytes of memory.
Processor board ID 00018655341
R7000 CPU at 262Mhz, Implementation 39, Rev 1.0, 256KB L2, 2048KB L3
Cache
Unknown midplane, Version 1.0
Last reset from register reset
Toaster processor tmc0 is running.
Toaster processor tmc1 is running.
1 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
509K bytes of non-volatile configuration memory.
40960K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).
32768K bytes of Flash internal SIMM (Sector size 256KB).
Press RETURN to get started!
The first time you power on a Cisco 10000 ESR, the setup facility loads after the startup screen is displayed. You can also initiate the facility by running the setup command in privileged EXEC mode.
The setup facility modifies the configuration file on your router, either the default configuration that resides on a new router or a configuration that you created for the router. It uses a question and answer sequence called the System Configuration Dialog to guide you through the router configuration process.
The System Configuration Dialog helps you perform a basic configuration. You proceed through the dialog by answering questions and pressing Enter after each one. In most cases, you can get additional information by entering a question mark?. Throughout the dialog, default values are shown in square brackets[ ].
![]() |
Tips If you have experience using Cisco routers, consider configuring the router by using the procedure described in the "Basic Configuration in Global Configuration Mode" section. |
To cancel the configuration dialog, press Ctrl-C, or you can let the dialog help you with one of two configuration types:
Use the following procedure to perform a basic configuration using the System Configuration Dialog:
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: yes
Step 2 Enter Yes to perform a basic management setup.
Would you like to enter basic management setup? [yes/no]: yes
Step 3 Enter a host name. The host name becomes part of the IOS prompt.
Enter host name [Router]: my-router
Step 4 Enter a secret password. It appears in encrypted form in the configuration file.
Enter enable secret: my_secret
Step 5 Enter the enable password. It is used if you did not assign a secret one.
Enter enable password: my_password
Step 6 Enter the password to use for Telnet sessions.
Enter virtual terminal password: my_vt
Step 7 Enter No when you are prompted to configure system management.
Configure System Management? [yes/no]: no
Step 8 Enter Yes if you want to access the router using SNMP. Enter No if you do not want to use SNMP.
Configure SNMP Network Management? [yes]: yes
Step 9 Specify an SNMP community string.
Community string [public]: public
After you respond to the SNMP questions, the setup script lists the interfaces. For example:
| | | | | |
|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
![]() |
Note You cannot configure Ethernet 0/0/0, which is assigned to the backplane. |
Step 10 To achieve network connectivity, enter the interface for the FastEthernet interface.
Enter interface name used to connect to the management network from the above interface summary: FastEthernet0/0/0
Step 11 Accept the default value for the type of connector. RJ-45 is the only connector that can be used on the Cisco 10000 Ethernet port.
Configuring interface FastEthernet0/0/0:Use the 100 Base-TX (RJ-45) connector? [yes]:yes
Step 12 Configure both the Cisco 10000 and the remote device to use the same mode.
Operate in full-duplex mode? [no]: no
Step 13 You must configure IP to achieve network connectivity.
Configure IP on this interface? [yes]: yes
Step 14 Specify the IP address.
IP address for this interface: 172.27.48.209
Step 15 Enter the subnet mask for the IP address.
Subnet mask for this interface [255.255.0.0] : 255.255.0.0
The system displays the information you entered as well as several default commands, such as the no shutdown command, which enables an interface. For example:
The following configuration command script was created: hostname c10000 enable secret 5 $1$uror$EFU0hKOBQXhk975qKFZlL0 enable password lab line vty 0 4 password lab no snmp-server ! no ip routing ! interface FastEthernet0/0/0 no shutdown media-type 100BaseX half-duplex ip address 172.27.48.209 255.255.0.0 ! end
Step 16 The setup script concludes by giving you the choice to exit without saving, start the setup script, or save the configuration file.
[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. Enter your selection [2]:
Step 17 After you have completed the configuration dialog, enter global configuration mode and enable IP routing by entering the ip routing command.
router(config)# ip routing
|
After a routing platform is running, the network administrator might decide to implement a new feature. Before implementing the feature, the network administrator must ask questions like these:
Several people are involved in decisions about the adding of features:
In most cases, features are phased in to make it easier to reduce the complexity of new equipment rollout and the risk of customer loss of service.
You can now configure line cards. To configure a line card, go to the chapter that describes the line card you want to configure. For general information about line card configuration, see the "Preparing for Line Card Installation" section.
The following command sequence allows you to create a basic configuration similar to that generated by the setup command:
Router# configure terminal Router(config)# hostname my_router Router(config)# enable secret my_secret Router(config)# enable password my_password Router(config)# snmp-server community public Router(config)# ip routing Router(config)#interface FastEthernet0/0/0 Router(config-if)#no shutdown Router(config-if)#media-type 100BaseX Router(config-if)#half-duplex Router(config-if)#ip address 3.5.3.45 255.255.0.0 Router(config-if)#end Router# copy running-config startup-config
You can now configure line cards. To configure a line card, go to the chapter that describes the line card you want to configure. For general information about line card configuration, see the "Preparing for Line Card Installation" section.
Basic management of the Cisco 10000 consists of four main tasks:
This section describes the file systems used on the Cisco 10000 ESR and provides procedures for performing the following basic file system tasks:
The Cisco 10000 ESR includes the file systems described in Table 2-1.
| File System | CLI Name | Description |
|---|---|---|
bootflash: | Stores image and dump files. | |
nvram: | Typically stores the system default configuration file and startup configuration file. | |
System | system: | Stores the running configuration and other system files. |
Disk 0 | disk0: | Disk refers to an ATA Flash disk (48 or 128 MB). Slot refers to a Flash memory card (8, 16, or 20 MB). 0 refers to the left slot on the PRE. 1 refers to the right slot on the PRE. Secondary refers to the secondary PRE in a redundant system. |
Protocols used for accessing files that are stored remotely. |
Flash memory disks and the smaller Flash memory cards use similar commands. The primary syntax change is that disk0: or disk1: refers to Flash memory disks, and slot0: or slot1: refers to Flash memory cards.
You can use the privileged EXEC commands dir, del, and copy to manage the contents of the file systems. You can also use the commands mkdir and rmdir to create and remove directories on Flash disks. You cannot use the commands squeeze and undelete on Flash disks. For more information, refer to the IOS Configuration Fundamentals Configuration Guide.
The Flash memory disk that shipped with your router contains the default Cisco IOS image for booting your router. This section explains how to format a Flash disk.
![]() |
Caution The formatting procedure erases all information on a Flash memory card or disk. |
To format a Flash memory disk, you should be in privileged EXEC mode and have a Flash memory disk in PCMCIA slot 0 or slot 1. Enter the format diskn: command to format the disk. The following example shows the result of entering the format disk0: command.
Router# format disk0:
All sectors will be erased, proceed? [confirm]
Enter volume id (up to 30 characters): MyNewdisk
Formatting sector 1
Format device slot0 completed
Router#
The new Flash memory disk is ready for use.
Use the copy startup-config running-config command to copy the startup configuration file on NVRAM to the running configuration. If your startup configuration file is approaching the NVRAM limit of 512 KB, you must either compress it or relocate it as described in the following sections.
![]() |
Tips If your configuration file is large, run the copy startup-config running-config command during off-peak hours. This command might slow down traffic for several minutes while the system is merging the starting and the running configurations. |
To maintain a configuration file that exceeds the size of NVRAM (512 KB), you must compress or relocate the configuration file. This section provides an example of each approach. For more information, refer to the IOS Configuration Fundamentals Configuration Guide.
Use the service compress-config global configuration command to compress the configuration file for storage in NVRAM. A compressed file can take several minutes longer to load than an uncompressed file.
To compress configuration files, use the following commands, beginning in global configuration mode:
Router(config)# service compress-config
Step 2 Exit global configuration mode.
Router(config)# end
Step 3 Use one of the copy commands to copy the new configuration. For example:
Router# copy running-config startup-config Building configuration... Compressing configuration from 129648 bytes to 11077 bytes [OK]
To cancel the compression feature, use the no service compress-config command.
![]() |
Note If you try to load a configuration that is more than three times larger than the NVRAM size, the following error message appears: [buffer overflowfile-size/buffer-size bytes]. |
To run the startup configuration off a Flash disk, use the following commands beginning in privileged EXEC mode:
Router# copy tftp://172.16.2.15/example-config disk0:router-config
Step 2 Enter global configuration mode.
Router# configure terminal Router(config)#
Step 3 The buffer that holds the configuration file is usually the size of NVRAM (512 KB). Larger configurations need larger buffers. Change the size of the buffer that holds the configuration commands.
Router(config)# boot buffersize 1024000
Step 4 Specify that the startup configuration file is located in Flash memory by setting the CONFIG_FILE variable. In the following example, the system is told that the boot configuration file is in slot 0 and the filename is router-config:
Router(config)# boot config disk0:router-config
Step 5 Exit global configuration mode.
end
Step 6 When you have finished changing the running-configuration, save the new configuration.
Router# copy running-config startup-config
As a result of this procedure, when you reboot the Cisco 10000 ESR, it loads the configuration file that resides on Flash disk 0.
This section explains how to manage redundant PRE failover methods.
You do not need to specify redundancy between PREs. If two PREs are installed in the Cisco 10000, they automatically act as a redundant pair.
In the default state, redundant PREs are configured to automatically synchronize all critical files. You can use the auto-sync command to specify which files should be synchronized.
Router(config)# redundancy
Step 2 Select the main-cpu configuration submode.
Router(config-r)# main-cpu
Step 3 Specify which file or files should be autosynchronized. For example:
Router(config-r-mc)# auto-sync startup-config
Any configuration options entered in the main-cpu submode act only on the primary PRE, not on the secondary PRE.
The following lists the options for the auto-sync command:
auto-sync[startup-config|bootvar|config-register|standard][no]auto-sync[startup-config|bootvar|config-register|standard]
Where:
The default for the auto-sync command is auto-sync standard.
Use the no form of the command to turn off auto-synchronization.
To manually force the primary and secondary devices in a redundant pair to failover, use the redundancy force-failover command. Manually force the primary and secondary PREs to reverse roles if you need to replace the primary one. You can then replace the PRE while causing only minimal disruption of traffic.
Router# redundancy force-failover main-cpu
This command does not generate an alarm as a hardware reset does.
The following example shows how to set the secondary PRE to be active:
Router# redundancy force-failover main-cpu
This section describes methods for upgrading Cisco IOS images on the Cisco 10000 ESR.
To upgrade software for a single PRE, follow these steps:
Router# copy tftp disk0: Address or name of remote host [172.31.53.64]? Source filename [c10000/c10k-p6-mz]? c10000/c10k-p6-mz Accessing tftp://172.31.53.64/c10000/c10k-p6-mz . Loading c10000/c10k-p6-mz from 172.31.53.64 (via FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ... [OK - 5717476/11433984 bytes] 5717476 bytes copied in 250.840 secs (22869 bytes/sec) Router#
Step 2 Tell the Cisco 10000 ESR where the new boot image resides. In the following example, the system is told that that the image "c10k-p6-mz" is located on disk 0:
Router(config)# boot system flash disk0:c10k-p6-mz
Step 3 Copy the running configuration to the startup configuration.
Router# copy running-config startup-config
Step 4 Reload the software by entering the reload command.
Router# reload
The system is now using the new IOS image.
This section tells you how to upgrade software on redundant PREs. For the procedure described here to work, PRE redundancy should be configured as auto-sync standard (the default). See the "Synchronizing PRE Configurations" section.
Router# copy tftp disk0: Address or name of remote host [172.31.53.64]? Source filename [c10000/c10k-p6-mz]? c10000/c10k-p6-mz Accessing tftp://172.31.53.64/c10000/c10k-p6-mz . Loading c10000/c10k-p6-mz from 172.31.53.64 (via FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ... [OK - 5717476/11433984 bytes] 5717476 bytes copied in 250.840 secs (22869 bytes/sec) Router#
Step 2 Copy the same image to the secondary PRE Flash disk in slot 0.
Router# copy tftp sec-disk0:
The output is the same as that shown in Step 1.
Step 3 Tell the Cisco 10000 ESR where the new boot image resides. In the following example, the system is told that the image "c10k-p6-mz" is located on disk 0:
Router(config)# boot system flash disk0:c10k-p6-mz
Step 4 Copy the running configuration to the startup configuration.
Router# copy running-config startup-config
Step 5 Reset the secondary PRE so that it reboots and uses the new image.
Router# hw-module sec-cpu reset
Step 6 Force a cutover to the secondary PRE, which forces the primary PRE to reboot and use the new image.
Router# redundancy force-failover main-cpu
Both PREs are now running the new IOS image.
This section tells you how to use IOS to modify PRE boot parameters.
During the boot process, the system reads a software configuration register that defines certain system parameters. The software configuration register is a 16-bit register in NVRAM used to define such characteristics as
By modifying the boot parameters, you can customize your Cisco 10000 ESR. For example, a common configuration register setting in some lab environments is 0x2100. Using this setting, the system boots to the ROM monitor prompt, where a technician can load a specific image by entering the boot command at the rommon prompt. (For more information, see the Cisco IOS Configuration Fundamentals Configuration Guide.)
To change the software configuration register settings while you are running system software, perform the following steps:
Router(config)# config-register 0x2100
Consult the hexadecimal column in Table 2-2 for the possible settings to enter as the 4-bit value parameter.
Step 2 Exit the global configuration mode by pressing Ctrl-Z.
Router(config)# Ctrl-Z
Router#
The new contents of the software configuration register are saved to NVRAM. These new settings do not take effect until you reload the system or reboot the router.
Step 3 To display the new software configuration register setting, issue the show version command.
Router#show version
...
#Configuration register is 0x141 (will be 0x2100 at next reload)
Step 4 Save the configuration file to preserve the new software configuration register settings.
Router# copy running-config startup-config
Step 5 Reboot the router.
The software configuration register setting takes effect only after you reload the system. This happens when you issue the reload command from the console or reboot the router.
Table 2-2 summarizes the modifications that you can make to the software configuration register. For detailed information, refer to the Cisco IOS Configuration Fundamentals Command Reference.
![]() |
Note The factory default value for the software configuration register is 0x2102. This value is a combination of the following: binary bit 8 = 0x0100, bits 00 through 03 = 0x0002, and bit 13 = 2000. |
This section provides general information about line card configuration.
This section explains how the Cisco 10000 ESR handles newly inserted line cards.
After you insert a line card into the chassis, the software identifies the card and executes one of three actions, depending on the contents of the running configuration file:
card 4/0 1gigethernet-1 . . . interface GigabitEthernet4/0/0 no ip address no ip directed-broadcast no cdp enable
To find out the type of card that a slot is configured to use, enter the show running-config command.
![]() |
Tips Most show commands support the pipe character and begin argument. For example, you can use the command show running-config | begin card to start the display of the running configuration file at the point where it lists the cards that are configured on your Cisco 10000 ESR. |
You can preprovision a slot to accept a particular line card by using one of the global configuration commands described in Table 2-3. Use the card command when you need to configure interfaces for a line card that is not yet inserted into the Cisco 10000 ESR chassis.
| Command Line | Description |
|---|---|
card slot/subslot 1gigethernet-1 | Preprovision a gigabit Ethernet line card |
card slot/subslot 1oc12pos-1 | Preprovision an OC-12 POS line card |
card slot/subslot 6cht3-1 | Preprovision a channelized T3 line card |
card slot/subslot 1choc12-1 | Preprovision a channelized OC-12 line card |
card slot/subslot 1oc12atm-1 | Preprovision an OC-12 ATM line card |
Use the no form of the command to remove configuration file entries for a not-yet-inserted card.
You can use the privileged EXEC mode hw-module command to reset a line card. For example:
Router# hw-module slot 2 reset Router#
|
A service provider wishing to move configurations to a new router usually uses a phased approach. Some providers begin by focusing on a specific customer, working with the customer to manage expectations and identify potential bottlenecks.
After developing an effective approach, the service provider might continue upgrading customers in a variety of ways. For example, the provider might upgrade customers by geographical location (for cable telephony) or remote digital loop carrier (DLC) terminals.
If T1s are used for general access services, the service provider might perform upgrades on a per central office (CO) basis. The service provider typically issues "change provisioning" orders during each stage of the process.
To save time, a service provider with several interfaces to move sometimes works with a text processing program to cut and paste multiple configuration files and build a new one. The text processor can be fairly basic, one that supports word processing functionality, including the ability to globally replace words and expressions.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Oct 3 09:49:50 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.