cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3085
Views
0
Helpful
3
Replies

How do you configure a DHCP server's options for SMB 300 Switches for Auto Configuration?

cypress_george
Level 1
Level 1

I am looking for a how to configure a DHCP server for a Cisco SMB 300 series switch to obtain an automatic configuration. Currently i am using a Cisco 1800 router as my DHCP server and the DHCP pool serving the 300 series switch is configured as follows.

ip dhcp pool Cisco_SMB_300

   network 192.168.0.0 255.255.255.0

   default-router 192.168.0.1

   option 66 ip x.x.x.x

   option 67 ascii "config-file-name.txt"

   dns-server 8.8.8.8 8.8.4.4

** I've also tried option 150 .... "option 150 ip x.x.x.x"

Looking at pcaps, I don't even see a tftp request going the server after the switch obtains an IP via DHCP. The config file format is exactly as obtained from the download backup section (pretty sure its not the issue since i don't see a download attempt). Also, the SMB switch is running the latest firmware image (1.1.1.8)

Looking though the admin guide i did not see specifics on how the DHCP server was to be configure for the auto configuration feature to work. Any help is greatly appreciated.

Thanks,

George

3 Replies 3

mrazmik
Cisco Employee
Cisco Employee

Hi George, I hope this infomation will guide you in configuring your IOS router DHCP server.

---------------- ( excluded ip addresses - optional )----------------

ip dhcp excluded-address 192.168.110.1 192.168.110.3

ip dhcp excluded-address 192.168.110.225 192.168.110.254

---------------- (main DHCP pool scope for 192.168.110.0 /24) network ----

ip dhcp pool data110

   network 192.168.110.0 255.255.255.0

   default-router 192.168.110.1

   dns-server 206.13.29.12 206.13.30.12

   lease 0 0 15

!

---------------- ( static ip address mapping with option 150 and boot file ) ---- 

ip dhcp pool switch1

   host 192.168.110.4 255.255.255.0      <<<< switch1 ip address

   client-identifier 0188.43e1.ac8a.94      <<<< switch1 MAC address - please follow the format

   bootfile switch1                                 <<<< switch1 specific configuration

   default-router 192.168.110.1

   dns-server 206.13.29.12 206.13.30.12

   option 150 ip 192.168.14.2                <<<< TFTP server ip address

   lease 0 0 15

!

ip dhcp pool switch2

   host 192.168.110.5 255.255.255.0

   client-identifier 0188.43e1.ac9b.34

   bootfile switch2

   default-router 192.168.110.1

   dns-server 206.13.29.12 206.13.30.12

   option 150 ip 192.168.14.2

   lease 0 0 15

!

ip dhcp pool switch3

   host 192.168.110.6 255.255.255.0

   client-identifier 0140.f4ec.f34b.79

   bootfile switch3

Note: If you are not assigning ststic IP address and all devices will be sharing the same config

      file then you simply configure the main pool with the option

ip dhcp pool data110

   network 192.168.110.0 255.255.255.0

   default-router 192.168.110.1

   dns-server 206.13.29.12 206.13.30.12

   lease 0 0 15

   bootfile file_name

   option 150 ip 192.168.14.2 10.2.1.1 1.1.1.1  <<<< please follow the ormat if you have multiple TFTP servers.

thank you.

Razmik

Hello Razmik,

Two question,

1/ in provisioning of SPA phones, device looking automaticaly for .txt file, is there some option? like if i put $MAC.txt into "bootfile" option

2/ what is "bootfile" option by RFC? like "option 150", this config is Cisco IOS, i have for example Linux or Mikrotik

Regards,

Tomas

Amit Dhanawade
Level 1
Level 1

Instead of option 150 , use next-server commad.

Its working for me

Cheers

Amit Dhanawade

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X