Can we configure Layer 2 switch as a DHCP server ?
CCENT L2 Switching
Here Daniel is correct in his answer. If your Switch IOS supports it; it can do it. If it will not allow you to configure the DHCP commands then it will not.
**if the post above has answered the question, please mark the topic as solved.