0% found this document useful (0 votes)
19 views

Cisco Ios DHCP

This document provides a cheat sheet for configuring and troubleshooting a Cisco IOS DHCP server. It lists commands for enabling the DHCP server, configuring address pools and default settings, displaying DHCP information and bindings, clearing server variables, and enabling debugging. The cheat sheet is organized into sections on configuring the DHCP server, displaying information, clearing variables, and enabling debugging.

Uploaded by

Sa Mir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Cisco Ios DHCP

This document provides a cheat sheet for configuring and troubleshooting a Cisco IOS DHCP server. It lists commands for enabling the DHCP server, configuring address pools and default settings, displaying DHCP information and bindings, clearing server variables, and enabling debugging. The cheat sheet is organized into sections on configuring the DHCP server, displaying information, clearing variables, and enabling debugging.

Uploaded by

Sa Mir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Cisco IOS DHCP Cheat Sheet

by stephaneb via cheatography.com/121098/cs/22462/

To configure DHCP server

Command Purpose
Device​(co​nfig)# service dhcp Enables the DHCP server and relay agent on your switch.
Device​(co​nfig)# ip dhcp exclud​ed-​address low-ad​dress Specifies IP addresses that the DHCP server should not assign to DHCP clients.
[high-​add​ress]
Device​(co​nfig)# ip dhcp pool 1 Creates a name for the DHCP server address pool and enters DHCP pool config​‐
uration mode.
Device​(dh​cp-​con​fig)# network 172.20.0.0 /24 Specifies the subnet network number and mask of the DHCP address pool.
Device​(dh​cp-​con​fig)# dns server 8.8.4.4 8.8.8.8 Specifies the IP address of a DNS server that is available to a DHCP client.
Device​(dh​cp-​con​fig)# defaul​t-r​outer 172.16.20.0.1 Specifies the IP address of the default device for a DHCP client.

To display DHCP server inform​ation

Command Purpose
Device​​> show ip dhcp binding [address] Displays a list of all bindings created on a specific DHCP server.
Device​​> show ip dhcp conflict [address] Displays a list of all address conflicts recorded by a specific DHCP server.
Device​​> show ip dhcp server statistics Displays count inform​ation about server statistics and messages sent and received.

To clear DHCP server variables:

Command Purpose
Device​# clear ip dhcp Deletes an automatic address binding from the DHCP database. Specifying address clears the automatic binding for a
binding address | * specific (client) IP address whereas specifying asterisk (*) clears all automatic bindings.
Device​# clear ip dhcp Clears an address conflict from the DHCP database. Specifying address clears the conflict for a specific IP address
conflict address | * whereas specifying an asterisk (*) clears conflicts for all addresses.
Device​# clear ip dhcp Resets all DHCP server counters to 0.
server statistics

To enable DHCP server debugging

Command Purpose
Device​# debug ip dhcp server {events | packets} Enables debugging on the DHCP server.

By stephaneb Published 7th May, 2020. Sponsored by Readable.com


cheatography.com/stephaneb/ Last updated 20th April, 2020. Measure your website readability!
Page 1 of 1. https://readable.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy