cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
805
Views
0
Helpful
1
Replies

2950 IOS release for DHCP client

Hello,

I am trying to enable my Cisco 2950 as a DHCP client (I know this is not how it works in real life) for test purpose in the lab. That is the switch should receive an ip address by the router which it is connected to, I have configured the router to be a DHCP Server

The current switches I have does not support the switch to be a DHCP client

Switch 1 - c2950-i6q4l2-mz.121-13.EA1c.bin

 Switch 2 - c2950-i6q4l2-mz.121-22.EA1b.bin

Switch 3 - c2950-i6q4l2-mz.121-19.EA1a.bin

Switch 4 - c2950-i6q4l2-mz.121-13.EA1c.bin

Can you please tell me which IOS for Cisco 2950 supports DHCP client?

 

Switch config (that should be)

SW# conf tSW(config)# int vlan 1

SW(config-if)# no ip address

SW(config-if)# ip address dhcp client-id Vlan 1

Unable to get this far since my ios does not support the DHCP client feature. Output from my Switch:

Switch001(config)#int vlan 1
Switch001(config-if)#ip address ?
  A.B.C.D  IP address
 **** no option for DHCP

 

 

1 Reply 1

Peter Paluch
Cisco Employee
Cisco Employee

Hi,

Unfortunately, no 2950 IOS, to my best knowledge, has an explicit ip address dhcp command. What I have only observed - almost by an accident - is that when a 2950 Catalyst has its configuration cleared and is rebooted while being connected to a network running DHCP server, it will obtain its IP address during its bootup process via DHCP and will configure this IP address automatically on the interface Vlan1. Apart from this, though, I do not know of any other option.

Best regards,
Peter