Useful commands:

  • Sh ip dhcp bind
  • Clear ip dhcp bind *

Code to set a reservation

ip dhcp pool AE_Laptop

host 192.168.1.3 255.255.255.0

client-identifier 0100.1de0.9cfb.b1

(Note the 01 prefix to the MAC address. All windows machines are prefixed with 01 for some reason)

Example DHCP pool code

ip dhcp pool AE-pool

import all

network 192.168.1.0 255.255.255.0

default-router 192.168.1.1

dns-server 158.152.1.58 158.152.1.43

lease 0 2

Leave a Reply

Your email address will not be published. Required fields are marked *