You can use the port security feature to restrict the devices that can be connected to a port by MAC addresses. Here is an example:
Switch(config)#interface fastethernet0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security mac-address 0422.1043.0a31 Switch(config-if)#exit
The following papers explain the details about port security configuration:
Fundamentals of Switching (by KP-LAB):
KPLAB