Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

4507R ios boot up

Status
Not open for further replies.

eiregobragh

Technical User
Oct 15, 2008
75
IE
Guy,
I'm installing a number of new 4507Rs and I've loaded the latest IOS onto the Bootflash.

So now on the bootflash is the ipbase IOS and the entservices IOS.

confreg = 2101

I configured the command:

boot system flash cat4500e-entservicesk9.mz.122-53.SG1.bin

but when I reload the chassis the Switch keeps loading the ipbase IOS.

Is there any reason for this?

Thanks,

Paul

Paul Kilcoyne B. Eng.
Innealtóir/ Engineer

 
You try confreg 0x2102? 0x2101 is likely ignoring the boot command.

You may want to verify the flash image too:
verify flash:cat4500e-entservicesk9.mz.122-53.SG1.bin

What does show boot output if that doesn't work?
 
Hi NetRx,
I tried changing the confreg to 0x2102 and it goes into ROMMON mode.

I'll try the verify command when I'm back at work on monday :)

Thanks,


Paul Kilcoyne B. Eng.
Innealtóir/ Engineer

 
The image might be on bootflash. Try removing any existing 'boot' commands and then replacing it with:
Code:
Switch#show bootflash
Switch#conf t
Switch(config)#no boot system flash:cat4500e-entservicesk9.mz.122-53.SG1.bin
Switch(config)#boot system flash bootflash:cat4500e-entservicesk9.mz.122-53.SG1.bin
Switch(config)#config-register 0x2102
Switch(config)#end
Switch#show bootvar
Switch#write mem
Switch#reload
Keep the config-register at 0x2102.
 
No---the modular switches should be 2101, not like the fixed config switches that do not have a "bootflash"


It needs to boot bootstrap which tells it to boot bootflash. Your only mistake is

boot system flash

where it needs to be

boot system flash bootflash:blablabla

like NetRX says. But the config reg should be 0x2101, not 0x2102

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Lads,
that's great, the old "boot system flash" did seem a bit odd as with the 4507R there is no flash as such but bootflash.

Thanks so much, I'm sure that's it. I'll let you know how I get on on monday.

Thanks again,

Paul Kilcoyne B. Eng.
Innealtóir/ Engineer

 
Well, most documentation I have seen always points to 0x2102. Reference the following for the 4500. In particular table 3-3 and the paragraph below.

If we debug eirego's boot process:
0x2101 works because it parses the first file found in bootflash and ignores the boot system command. Assuming here that the IP base image is first.
0x2102 does not work because boot system flash points to an invalid location. IOS freaks out and dumps into rommon.

All of our production 4500s are some variant of 0x102 or 0x2102.
 
0x2101 loads the first image it finds in flash regardless of the boot statement you try to use.The old image is still in bootflash so thats the image it will find first and boot. If you do a "dir bootflash: the image that is on top is the one that will load with a 0x2101 register. 0x2102 will use the image you specify in the boot statement . If there is no flash card in the 4507 then it will be " boot system flash bootflash:<imagename> .
 
Guys,
I changed the config-register to 2102 and now it all works ok as you can see below;

Switch2#sh run
Building configuration...

Current configuration : 1226 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch2
!
boot-start-marker
boot system flash bootflash:cat4500e-entservicesk9-mz.122-53.SG1.bin
boot system flash bootflash:cat4500e-ipbase-mz.122-52.SG.bin
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
ip vrf mgmtVrf
!
vtp domain ''
vtp mode transparent
!
!
!
power redundancy-mode redundant
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
redundancy
mode sso
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet1
ip vrf forwarding mgmtVrf
no ip address
speed auto
duplex auto
!
interface TenGigabitEthernet3/1
!
interface TenGigabitEthernet3/2
!
interface GigabitEthernet3/3
!
interface GigabitEthernet3/4
!
interface GigabitEthernet3/5
!
interface GigabitEthernet3/6
!
interface TenGigabitEthernet4/1
!
interface TenGigabitEthernet4/2
!
interface GigabitEthernet4/3
!
interface GigabitEthernet4/4
!
interface GigabitEthernet4/5
!
interface GigabitEthernet4/6
!
interface Vlan1
no ip address
!
ip http server
no ip http secure-server
!
!
!
!
!
!
line con 0
stopbits 1
line vty 0 4
login
!
end

Switch2#
Switch2#
Switch2#
Switch2#dir bootf
Switch2#dir bootflash:
Directory of bootflash:/

6 -rw- 23449877 Jun 2 2010 08:04:20 +00:00 cat4500e-ipbase-mz.122-52.SG.bin
7 -rw- 25442405 Jun 21 2010 04:00:28 +00:00 cat4500e-entservicesk9-mz.122-53.SG1.bin

131436544 bytes total (75100160 bytes free)
Switch2#
Switch2#
Switch2#
Switch2#sh ver
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 12.2(53)SG1, RELEASE SOFTWARE (fc1)
Technical Support: Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 30-Oct-09 18:26 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x1279617C

ROM: 12.2(44r)SG5
Darkside Revision 4, Jawa Revision 18, Tatooine Revision 140, Forerunner Revision 1.74

Switch2 uptime is 2 minutes
Uptime for this control processor is 2 minutes
System returned to ROM by power-on
System image file is "bootflash:cat4500e-entservicesk9-mz.122-53.SG1.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C4507R-E (MPC8548) processor (revision 6) with 524288K bytes of memory.
Processor board ID FOX1419GBCH
MPC8548 CPU at 1.33GHz, Supervisor 6-E
Last reset from PowerUp
1 Virtual Ethernet interface
8 Gigabit Ethernet interfaces
4 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

Configuration register is 0x2102




Paul Kilcoyne B. Eng.
Innealtóir/ Engineer

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top