Excluding IPv4 addresses in DHCPv4
ip dhcp excluded-address low_address [high_address]
Global Config Command
Command used to create DHCPv4 Address Pool
ip dhcp pool dhcp_pool_name
// puts prompt into (dhcp_config)# mode.
Defining Default Gateway in DHCPv4 Config Mode
default-router address1 [address2 … address8]
DHCP-Config Cmd
Define DHCPv4 Address Pool
network network_number [mask | /prefix_length]
DHCP Config Command
Two Required Tasks to Setup DHCPv4
Four Optional Tasks to Setup DHCPv4
Command to stop DHCP Server Function
no service dhcp
Global Config Command
Command to re/enable DHCP Server Function
service dhcp
Global Config Command
Define DNS Server DHCPv4
dns-server dns_address [address2…address8]
Define the Domain Name DHCPv4
domain-name domain_name
DHCP-Config Command
Define the Duration of the DHCP Lease DHCPv4
lease { days [hours] [minutes] | infinite ]
Define the NetBIOS WINS Server DHCPv4
netbios-name-server address1 [address2….address8]
What is the default value of a DNS lease?
1 day.
4 Methods to Verify DHCPv4 Configuration
Command Used to Display DHCP Commands Only in Running-Config
show running-config | section dhcp
Command to display list of all IPv4 address to MAC address bindings that have been created by DHCPv4.
show ip dhcp binding
Command used to verify messages are being sent or received by the router.
show ip dhcp server statistics
Two Steps for Setting Router as DHCP Relay Agent
Three Steps to Configure Router as a DHCPv4 Client
Command used to display address conflicts in DHCP
show ip dhcp conflict
Command that can determine if DHCP messages are not reaching destination.
debug ip dhcp server events
Commands used to Re-Enable SLAAC on an interface.
Command used to enable Stateless DHCPv6 by setting O flag to 1
ipv6 nd other-config-flag
Command used to enable Stateful DHCPv6 by setting M Flag to 1.
ipv6 nd managed-config-flag