cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21414
Views
15
Helpful
7
Replies

DHCP server cannot be configured. To enable the DHCP server, remove DHCP clients on all interfaces.

how do i configure DHCP in Cisco switch SG300 28 PP. when i tried it says " DHCP server cannot be configured. To enable the DHCP server, remove DHCP clients on all interfaces" .

1 Accepted Solution

Accepted Solutions

alain.danquin
Level 1
Level 1

go to ipv4 interfaces and remove the interface vlan in DHCP or configure it in Static IP address

View solution in original post

7 Replies 7

alain.danquin
Level 1
Level 1

go to ipv4 interfaces and remove the interface vlan in DHCP or configure it in Static IP address

Hi Can explain about 

DHCP server cannot be configured. To enable the DHCP server, remove DHCP clients on all interfaces.

Hello,

As Alain explained above, you need to remove dhcp clients on all interfaces. By default VLAN 1 is set up as a DHCP client, so before you enable DHCP server you will need to either disable dhcp client or assign a static IP to VLAN1.

Thanks,
Kris

Yes thanks,

Ok How can i do it?

Hi pharan.b

Just assign a static IP on Interface VLAN 1

for example:

configure terminal

interface vlan 1

ip add 10.9.8.7 255.255.255.0

 

Do the same for any other SVI so that you avoid the warning message

conf t

int vlan 1

no ip addr dhcp

^Z