Seems like a basic thing to do but I am having trouble with adding a printer to my 2960 switch. I am not receiving an IP address. Even though I am able to connect a laptop to it and receive an IP address and search the internet, I am unable to get an IP from the printer. I added command no shut etc..still nothing.. The printer works on another port but not this one.What could I be doing wrong or is my config not right?
interface FastEthernet0/24
description ACCESS PORTS
switchport access vlan 20
switchport mode access
switchport voice vlan 30
mls qos trust cos
storm-control broadcast level 5.00
spanning-tree portfast
spanning-tree bpduguard enable