If you lot are handing out DHCP via your router as well as layer three switch, here’s how to add together a DHCP reservation to the mix. I’m including the entire DHCP configuration. The reservation department is noted below.
ip dhcp excluded-address 10.251.0.1 10.251.0.99
ip dhcp puddle DATA
network 10.251.0.0 255.255.255.0
domain-name mydomain.local
default-router 10.251.0.1
dns-server 10.251.0.5
lease 3
!The Reservation
ip dhcp puddle LAB_PC
host 10.251.0.31
hardware-address 1111.2222.3333
client-name LAB_PC
ip dhcp excluded-address 10.251.0.1 10.251.0.99
ip dhcp puddle DATA
network 10.251.0.0 255.255.255.0
domain-name mydomain.local
default-router 10.251.0.1
dns-server 10.251.0.5
lease 3
!The Reservation
ip dhcp puddle LAB_PC
host 10.251.0.31
hardware-address 1111.2222.3333
client-name LAB_PC