DHCP Configuration (Cisco)

Design & Configure

DHCP Configuration (Cisco)

Technology: Network Services
Area: Network Services
Vendor: Cisco
Software: 12.X , 15.X
Platform: Catalyst 2960, 3560, 3750, 3850, 3650, 4500, 6500, 6800, Router ISR, 7200, ASR


DHCP Server functionality can be enabled on switch where are SVI interfaces or physical Layer 3 interfaces enabled. Example shows how to set DHCP configuration on a server with subnet

!---- enable SVI -----
Switch(config)# interface VLAN10
Switch(config-if)# ip address
!---- define the pool name -----
Switch(config)# ip dhcp pool VLAN10
!---- specify network-----
!---- specify default gateway for subnet-----
!---- specify dns servers-----

To add option to DHCP pool use following command

Switch(config)# ip dhcp pool VLAN10
Switch(dhcp-config)#option 150 ip
!---- where option has number 150 and Call manager server is

To verify DHCP MAC and IP binding configuration you can issue few show commands:

Switch#sh ip dhcp binding
... 0100.e04c.3d38.8f Jul 03 1993 12:28 PM Automatic 0118.a6f7.4338.39 Jul 03 1993 08:18 AM Automatic 5844.9824.70ea Jul 03 1993 01:44 PM Automatic 011c.3947.0ac7.aa Jul 03 1993 03:36 PM Automatic 0100.e04c.4117.3f Jul 03 1993 07:37 AM Automat


To understand DHCP process, read Explained: DHCP article.

Author: Marcin Bialy

Cisco Catalyst Switches Offer

Up to 60% discount for Cisco
Catalyst switches portfolio.
Get quote for C9200 | C9300
C9400 | C9500 | C3850 family