cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15759
Views
5
Helpful
28
Replies

Show Version command displays old IOS on Cisco 4948?

cdalask
Level 1
Level 1

Recently upgraded our Cisco 4948 with no apparently problems.  The switch appears to be opperating fine.  However when you enter "show version" it still shows the old IOS.  When you enter "show config" or "show running-config" it shows the upgraded version.  How do we correct the "show version" command to display the current IOS?

Thanks,

28 Replies 28

Can you post

1) "sh run" from switch

2) "sh ver" from switch

3) dir flash or dir bootflash from switch

What do you see on the console when you reboot ie. does it even try to load the new IOS ?

Jon

Jon,

When it does attempt to boot at the rommon prompt I can see it attempt several times before I have to type "boot" at >rommon.  Below are the commands you requested:

ABC-Switch#sh run                

Building configuration...                        

Current configuration : 7114 bytes                                 

!

version 12.2           

no service pad             

service timestamps debug uptime                              

service timestamps log uptime                            

no service password-encryption                             

service compress-config                      

!

hostname ABC-Switch                  

!

boot-start-marke              

boot system flash cat4500-ipbasek9-mz.122-53.SG1.bin                                                   

boot-end-marker              

!

enable secret 5 $1$CMK6$0qoYN2TJPe0wzBPUfFCLe0                                             

!

no aaa new-model               

ip subnet-zero             

ip dhcp excluded-address x.x.x.x x.x.x.x                                                 

ip dhcp excluded-address x.x.x.x x.x.x.x                                                

ip dhcp excluded-address x.x.x.x x.x.x.x                                                   

ip dhcp excluded-address x.x.x.x x.x.x.x                                                     

!

ip dhcp pool DATA_NETWORK                        

   network x.x.x.x x.x.x.x                                   

   default-router x.x.x.x                             

   dns-server x.x.x.x                          

!

ip dhcp pool MGMT_NETWORK                        

   network x.x.x.x x.x.x.x                                    

  default-router x.x.x.x                              

   dns-server x.x.x.x                         

!

ip multicast-routing                   

vtp mode transparent              

!

power redundancy-mode redundant                              

no file verify auto                  

spanning-tree mode pvst                      

spanning-tree extend system-id                             

!

vlan internal allocation policy ascending                                        

!

vlan 10      

name DATA_VLAN              

!

vlan 20      

name MGMT_VLAN              

!

vlan 100       

name EXT_VLAN             

!

interface Loopback0                  

ip address x.x.x.x x.x.x.x                                  

ip pim sparse-dense-mode                        

!

interface GigabitEthernet1/1                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/2                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/3                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/4                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/5                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/6                           

description DATA VLAN                    

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/7                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/8                           

description DATA VLAN                     

switchport access vlan 10                        

switchport mode access                      

!

interface GigabitEthernet1/9                           

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/10                            

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/11                            

description DATA VL                  

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/12                            

description DATA VLAN                     

switchport access vlan 10                         

switchport mode access                      

!

interface GigabitEthernet1/13                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/14                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/15                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/16                            

description MGMT               

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/17                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/18                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

no keepalive            

!

interface GigabitEthernet1/19                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/20                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

keepalive 1000              

!

interface GigabitE               

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/22                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/23                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/24                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/25                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEtherne                      

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/27                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/28                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

spanning-tree portfast                      

!

interface GigabitEthernet1/29                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/30                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/31                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/32                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/33                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/34                            

description MGMT VLAN                     

switchport access vlan 20                         

switchport mode access                      

!

interface GigabitEthernet1/35                            

description EXT VLAN                    

switchport access vlan 100                          

switchport mode acc                 

!

interface GigabitEthernet1/36                            

description EXT VLAN                    

switchport access vlan 100                          

switchport mode access                      

!

interface GigabitEthernet1/37                            

description EXT VLAN                    

switchport access vlan 100                         

switchport mode access                      

!

interface GigabitEthernet1/38                            

description EXT VLAN                    

switchport access vlan 100                          

switchport mode access                      

!

interface GigabitEthernet1/39                            

description EXT VLAN                    

switchport access vlan 100                          

switchport mode access                      

!

interface GigabitEthernet1/40                            

description EXT VLAN                    

switchport access vlan 100                          

switchport mode a                

!G

interface GigabitEthernet1/41           

ABC-Switch#ption

description EXT VLAN   

ABC-Switch#    

switchport access vlan 100                    

ABC-S

switchport mode access

ABC-Switch#switchport

!

interface GigabitEthernet1/42/techsuppo                  

description EXT VLANive                 

switchport access vlan 100

ABC-Switch#gabitEthern 

switchport mode access-Switch#ig)#^Zds      

!

interface GigabitEthernet1/43 

descripti         

ABC-S

description EXT VLAN                

ABC

switchport access vlan 100            

ABC-Switch# 2

switchport mode access      

ABC-Switch#   

!

interface GigabitEthernet1/44             

ABC-Sw     

description EXT VLAN

descr     

ABC-Swi

switchport access vlan 100-Switch#ass             

switchport mode access#vlan 20ent           

!

interface GigabitEthernet1/45

ABC-Switch#mode access     

description EXT VLANwitch#ess-config    

switchport access vlan 100e GigabitEt               

switchport mode a48              

switch      

ABC-S

description EXT VLAN        

ABC-Switch#

switchport access vlan 100 access                   

switchport mode access          

ABC-Switch#

!G

interface Vlan1             

no ip address new-mo      

shutdown    

ABC

!w

interface Vlan10 descr     

ABC

description DATA_VLAN                 

ABC

ip address x.x.x.x x.x.x.x ABC-Switch#vlan 20                 

ip pim sparse-dense-modeS-Switch#mode a         

!

interface Vlan20

switch      

ip pim send-rp-announce Loopback0 scope 3

ip pim send-rp-discovery Loopback0 scope 3

!

!

!

!

control-plane

!

!

line con 0

logging synchronous

stopbits 1

line vty 0 4

password xxxxxxxx

logging synchronous

login

line vty 5 15

password xxxxxxxx

logging synchronous

login

!

end

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ABC-Switch#dir bootflash:

Directory of bootflash:/

    1  -rwx    12204260  Sep 22 2008 13:52:18 +00:00  cat4500-ipbase-mz.122-31.S

GA4.bin

    3  -rwx    16170184  Nov 23 2009 13:40:07 +00:00  cat4500-ipbasek9-mz.122-53

.SG1.bin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ABC-Switch#sh version          

!

ROM: 12.2(31r)SGA1

Dagobah Revision 226, Swamp Revision 5

ABC-Switch uptime is 2 hours, 35 minutes

System returned to ROM by reload

System image file is "bootflash:cat4500-ipbase-mz.122-31.SGA4.bin"

cisco WS-C4948 (MPC8245) processor (revision 0) with 262144K bytes of memory.

Processor board ID FOX1228GMDE

MPC8245 CPU at 266Mhz, Fixed Module

Last reset from Reload

4 Virtual Ethernet interfaces

48 Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

Configuration register is 0x2102

Thanks again.

~c

You have to re-do your boot statement with the following command

conf t

no boot system flash cat4500-ipbasek9-mz.122-53.SG1.bin
boot system flash bootflash:ca
t4500-ipbasek9-mz.122-53.SG1.bin

exit
wri mem

Please post the output of show boot before you reboot your 4948.

Regards,

jerry

I noticed you entered the word bootflash:/ with a slash before the filename.  This could be where I'm missing the boat because it doesn't show "bootflash" when I use the auto complete feature.  I have been entering #boot system flash cat4500-ipbasek9-mz.122.53.SG1.bin and I haven't been entering a forward slash! I will give it another try once you confirm my reply.

Thanks,

~c

cdalask wrote:

I noticed you entered the word bootflash:/ with a slash before the filename.  This could be where I'm missing the boat because it doesn't show "bootflash" when I use the auto complete feature.  I have been entering #boot system flash cat4500-ipbasek9-mz.122.53.SG1.bin and I haven't been entering a forward slash! I will give it another try once you confirm my reply.

Thanks,

~c

You shouldn't need the / but from memory i don't think it matters either way. Don't use the auto complete feature at the moment, just type it in manually and make sure you save it to memory. You just need to confirm it is in the running config with bootflash in the string before you reload the switch.

Jon

Success! I believe my error was not entering the word bootflash: after boot system flash.  Thanks for your support and patience!

~c

Glad you got it working.

Jon

cdalask wrote:

Jon,

When it does attempt to boot at the rommon prompt I can see it attempt several times before I have to type "boot" at >rommon.  Below are the commands you requested:

ABC-Switch#sh run                

Building configuration...                        

Current configuration : 7114 bytes                                 

!

version 12.2           

no service pad             

service timestamps debug uptime                              

service timestamps log uptime                            

no service password-encryption                             

service compress-config                      

!

hostname ABC-Switch                  

!

boot-start-marke              

boot system flash cat4500-ipbasek9-mz.122-53.SG1.bin                                                   

boot-end-marker              

!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ABC-Switch#dir bootflash:

Directory of bootflash:/

    1  -rwx    12204260  Sep 22 2008 13:52:18 +00:00  cat4500-ipbase-mz.122-31.S

GA4.bin

    3  -rwx    16170184  Nov 23 2009 13:40:07 +00:00  cat4500-ipbasek9-mz.122-53

.SG1.bin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You still have the wrong boot statement in your config. Do this

4500(config)# no boot system flash cat4500-ipbasek9-mz.122-53.SG1.bin

4500# wr mem

then do a "sh run". You should not see the boot system flash statement that is there at the moment.

Then

4500(config)# boot system flash bootflash:cat4500-ipbasek9-mz.122-53.SG1.bin   <--- note the additional "bootflash" in the statement

4500# wr mem

then do a "sh run" again and you should see the new boot system flash statement.

Then reload the switch.

Jon

Hi,

Have you solved the problem or not yet?

Vusal

glen.grant
VIP Alumni
VIP Alumni

  Jon is  correct because the config register is 0x2101 the boot statement you entered will do absolutely nothing.  0x201 means it will just load the first image it finds in flash which is your old image because it was not deleted .  As Jon indicates change the register to 0x2102 and reload and it will  load the newwer image.

Jon Marshall
Hall of Fame
Hall of Fame

glen.grant wrote:

  John is  correct because the config register is 0x2101 the boot statement you entered will do absolutely nothing.  0x201 means it will just load the first image it finds in flash which is your old image because it was not deleted .  As john indicates change the register to 0x2102 and reload and it  load the newwer image.

Glen

Think we've known each other long enough on these forums for you to be able to spell my name right

Jon

OH SNAP!!!!

Sorry... I had too!!!

Jon what do you mean the original post looks correct ?   :-)

The problem can be due to this

1. From the "rommon" mode try to change the configregister

you can use the command " confreg"

reset

and then check whether the config register get changed or not.

If once the config register get changed via this your problem will get resolved

Thanks

Rupam

Review Cisco Networking products for a $25 gift card