Cheatography
https://cheatography.com
NVSU Cheatsheet - DHCPv4 and DHCPv6
This is a draft cheat sheet. It is a work in progress and is not finished yet.
DHCPv4 Config
exclude address from DHCP pool |
ip dhcp excluded-address [IP] [IP]
|
create DHCP pool |
|
Pool Config; network address |
|
Pool Config; Default Router |
|
Pool Config; DNS Server |
|
Relay Agent Config (on inerface) |
|
activate DHCP (on interface) |
|
|
|
DHCPv6 Config
create DHCP pool |
|
Pool Config; set network |
|
Pool Config; DNS Server |
|
Pool Config; Domain Name |
|
Provide a config flag (on interface) |
ipv6 nd [other/managed]-config-flag
|
Set created pool as resource (on interface) |
|
Relay agent (on interface) |
ipv6 dhcp relay destination [IP] [INT]
|
|
|
IPv6 Commands not working
falls bei 'show sdm prefer' nur "default" steht, muss die IPv6 Unterstützung so aktiviert werden |
sdm prefer dual-ipv4-and-ipv6 default and do reload
|
Verification
Verify that the IP was received from DHCP |
|
Verify DHCP bindings |
|
Verify DHCP pool details |
|
Examine DHCP messages |
show ip dhcp server statistics
|
Acquire a new IP |
|
Release an IP |
|
Verify by pinging other devices |
|
|