DHCP based autoconfiguration - Catalyst 2900XL and 3500XL

Unanswered Question
Apr 21st, 2007
User Badges:

According to this (from 2900XL configuration guide):

When you boot your switch, the DHCP client can be invoked and automatically

request configuration information from a DHCP server under the following


? The configuration file is not present on the switch.

? The configuration file is present, but the IP address is not specified in it.

? The configuration file is present, the IP address is not specified in it, and the

service config global configuration command is included. This command

enables the autoloading of a configuration file from a network server.

If I remove config.text from switch. The switch will boot with default configuration without sending out DHCP discovery.

If I have config.text with "service config" inside, the switch will send broadcast to look for bootp server but still not DHCP.

On 2912XL, I am using "12.0(5)WC17" (c2900xl-c3h2s-mz.120-5.WC17.bin); on 3524XL I am using "12.0(5)WC15" (c3500xl-c3h2s-mz.120-5.WC15.bin).

Can someone explain to me how to config this two switches for DHCP based autoconfiguration? Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
junwu_key Sun, 04/22/2007 - 05:42
User Badges:

Thank you, Cbalfour.

Searching all over Cisco web site, looks like I am already using the latest release for 2900XL.

Following your link, I did not see the info you bring up. Are you sure it's about switch autoconfiguration, not router?

glen.grant Sun, 04/22/2007 - 09:12
User Badges:
  • Purple, 4500 points or more

Not sure why you would want to bother , hardcode the address and be done with it , then you know what the address is .

junwu_key Sun, 04/22/2007 - 13:59
User Badges:

We have about 30 switches in the lab for each vlan. We would like to have a centralized standard configuration for each setup.


This Discussion