Cisco 2,600 series multi-service router platform is a dying bread because Cisco 2,800 series has taken its place, however the 2600 series router that is still the choice when it comes to building your own Cisco lab. Cisco is very similar to 2,600 people more vulnerable to the latest generation of routers, so the lab would be a valuable lesson.
Lab Prerequisites:
- You need a Cisco series routers or 2,600 more in all the Cisco IOS image is corrupt or no IOS image. If you want to simulate the lab can wipe your device and restart Flash. Please note that you need to clear it before backing up the Cisco IOS image, unless you have another image you want on hand can be loaded onto the device.
- Console connection to the device is required
- You need to install on your PC to restore the image on the TFTP server.
Lab Objectives:
- Guide on the Cisco router to ROM mode by breaking the boot sequence use keys CTRL + pause break
- Including the IP address, subnet mask, default gateway, TFTP server, TFTP image name TFTPDNLD variable settings required to perform this procedure.
- Implement TFTPDNLD command and loads the image into RAM by using the-r switch.
- Startup to Cisco IOS, configure your router so that you can copy the Cisco IOS image from the TFTP server to Flash memory.
- Once you have completed all the necessary configuration copy the IOS image from the TFTP server to the Flash memory.
- After replication has completed, restart the router and verify successful boot image.
Lab Instruction:
Note to complete this lab, you need a real Cisco 2,600 series or greater, the lab cannot emulate GNS3 applications.
Step 1. Assume you already have a active console session to the router and power on the device you should automatically put people more easily if you have a Cisco IOS image is corrupt or missing. However you have "press ENTER to start" boot prompt, then you have to the IOS image, you should open a power cycle, the router, and press CTRL + break to break the boot sequence, and is placed in ROM monitor mode, as shown below;
System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory
device does not contain a valid magic number
boot: cannot open "flash:"
boot: cannot determine first file name on device "flash:"
rommon 1 >
By performing you can see all available talent is easier to command as follows to 2651XM; help command
Step 2. In this laboratory, we are most interested in the tftpdnld command.
This command will copy the IOS image from the TFTP server to Flash or load it directly to the RAM. By performing the tftpdnld, you can see all the commands for variables that you want to work;
rommon 2 > tftpdnld
Missing or illegal ip address for variable IP_ADDRESS
Illegal IP address.
usage: tftpdnld [-r]
Use this command for disaster recovery only to recover an image via TFTP.
Monitor variables are used to set up parameters for the transfer.
(Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
"ctrl-c" or "break" stops the transfer before flash erase begins.
The following variables are REQUIRED to be set for tftpdnld:
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch
The following variables are OPTIONAL:
TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=12)
TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes (default=1)
FE_SPEED_MODE: 0=10/hdx, 1=10/fdx, 2=100/hdx, 3=100/fdx, 4=Auto(deflt)
Command line options:
-r: do not write flash, load to DRAM only and launch image
rommon 3 >
Depending on the target, we will need to set the variables you want to implement the tftpdnld command. You can issue the command to view the current setting of set variables.
Shown below is the required variables to execute tftpdnld successfully.
rommon 4 > IP_ADDRESS=10.1.1.10
rommon 5 > IP_SUBNET_MASK=255.255.255.0
rommon 6 > DEFAULT_GATEWAY=10.1.1.254
rommon 7 > TFTP_SERVER=172.16.20.17
rommon 8 > TFTP_FILE=c2600-i-mz.123-26.bin
You do not need a default gateway if the TFTP server is your Cisco routers on the same subnet.
Once you've set you can continue learning objective 3 by executing the tftpdnld command variable you want to copy with the-r switch Cisco IOS image from the TFTP server, load it directly into memory.
ommon 9 > tftpdnld -r
IP_ADDRESS: 10.1.1.10
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 10.1.1.254
TFTP_SERVER: 172.16.20.17
TFTP_FILE: c2600-i-mz.123-26.bin
.....
Receiving c2600-i-mz.123-26.bin from 172.16.20.17 !!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
program load complete, entry point: 0x80008000, size: 0x765238
Self decompressing the image : ############################################## [OK]
Smart Init is enabled
smart init is sizing iomem
ID MEMORY_REQ TYPE
00036F 0X00103980 C2651XM Dual Fast Ethernet
000065 0X00031500 Four port Voice PM
0X00098670 public buffer pools
0X00211000 public particle pools
TOTAL: 0X003DE4F0
If any of the above Memory Requirements are
"UNKNOWN", you may be using an unsupported
configuration or there is a software problem and
system operation may be compromised.
Rounded IOMEM up to: 4Mb.
Using 3 percent iomem. [4Mb/128Mb]
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) C2600 Software (C2600-I-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 15:23 by dchih
cisco 2651XM (MPC860P) processor (revision 0x200) with 126976K/4096K bytes of memory.
Processor board ID JAE08030QZL (457188033)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
49152K bytes of processor board System flash (Read/Write)
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:

0 comments:
Post a Comment