IOS upgrade.

Answered Question
May 29th, 2007
User Badges:

Hi All,

I am trying to upgrade the IOS of L2 switch 2950 from my tftp server.

But it is getting error.

When I ping my tftp server from router 2611 and reverse, the ping is good.

What can be the problem?



Attachment: 
Correct Answer by Richard Burts about 9 years 11 months ago

Assuming that 10.200.200.10 is a legitimate IP address and is unique in the network then I do not see a problem with assigning that address to VLAN49. You can put an IP address on only 1 VLAN and it can be any VLAN on the switch that you choose. If you put that address on VLAN49 and if the TFTP server is in the same subnet, then you should be able to download the new code. If the TFTP server is in a different subnet (or if you will want access to the switch from any address in any different subnet or if you want the switch to access any destination address in a different subnet) then you will also need to configure a default gateway on the switch pointing to a layer 3 routing interface in the subnet of 10.200.200.10.


I do not believe that the switch having an IP address will impact any of the production traffic in your network.


HTH


Rick

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.3 (9 ratings)
Loading.
smothuku Tue, 05/29/2007 - 20:58
User Badges:
  • Silver, 250 points or more


Hi ,


R u able to ping to FTP server from 2950 switch.If not then connect PC in which IOS is present and upgrade the IOS.


OR


Establish connectivity b/n FTP server and 2950 switch...If you are able to ping to FTP then you can upgrade the IOS.


Thanks,

Satish

Anand Narayana Tue, 05/29/2007 - 21:11
User Badges:
  • Silver, 250 points or more

can you permit even for the switch ip address in the access list, bcoz it will speak with the port #, you hav given access list to permit for ur PC, so make a permit statement for switch ip address also.

ahmedhussein Tue, 05/29/2007 - 21:43
User Badges:

This socket error I faced before it's tftp server problem, change your software you are using

examples20001 Wed, 05/30/2007 - 03:26
User Badges:

The switch dont have any IP address. Its a L2 switch.

The switch is in online, so I cannot remove from the network.

I have to download the IOS from our TFTP server only.

The TFTP software is working, as I upgraded the IOS of our catalyst switch 4506. TFTP software is running with CiscoWorks (SNMS).


When I ping tftp server from router 2611 (10.200.200.1), the ping is good.

Anand Narayana Wed, 05/30/2007 - 03:30
User Badges:
  • Silver, 250 points or more

hey,

you havn't given any ip address to the switch & thatz the reason you get that message "protocol not running" that is the problem.

examples20001 Wed, 05/30/2007 - 03:35
User Badges:

Then how can I upload the IOS image to switch with out ip address?

How a layer 2 switch IOS updated?

attached if the switch config.



Attachment: 
Richard Burts Wed, 05/30/2007 - 03:45
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

The answer to your question: Then how can I upload the IOS image to switch with out ip address is that you basically can not. You might check to see if the switch supports xmodem and transfer the image over the console connection. But this is slow and tedious. Why do you not just assign an IP address to the switch (put it in whichever VLAN seems most appropriate) and this will make TFTP download possible?


But the bottom line is that TFTP is an IP protocol and without an IP address you will not be able to use TFTP.


HTH


Rick

examples20001 Wed, 05/30/2007 - 03:56
User Badges:

Hi Rick,

That was the answer I was looking for.

Thank you very much.

If I assign an IP address (10.200.200.10) at Interface VLAN 49, will their be any problem for the traffics, as the switch is online, in production environment?

Anand Narayana Wed, 05/30/2007 - 03:58
User Badges:
  • Silver, 250 points or more

there wouldn't be any problem & it will never affect yopur production environment, unless you restart the switch manually ;-)

Correct Answer
Richard Burts Wed, 05/30/2007 - 04:26
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Assuming that 10.200.200.10 is a legitimate IP address and is unique in the network then I do not see a problem with assigning that address to VLAN49. You can put an IP address on only 1 VLAN and it can be any VLAN on the switch that you choose. If you put that address on VLAN49 and if the TFTP server is in the same subnet, then you should be able to download the new code. If the TFTP server is in a different subnet (or if you will want access to the switch from any address in any different subnet or if you want the switch to access any destination address in a different subnet) then you will also need to configure a default gateway on the switch pointing to a layer 3 routing interface in the subnet of 10.200.200.10.


I do not believe that the switch having an IP address will impact any of the production traffic in your network.


HTH


Rick

Richard Burts Thu, 05/31/2007 - 08:15
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

I am glad that my explanation was helpful. Thank you for using the rating system to indicate that your question was resolved (and thank you for the rating). It makes the forum more useful when people can read about a question and can know that they will read an answer that resolved the question. I encourage you to continue your participation in the forum.


HTH


Rick

Actions

This Discussion