Solved

I need to find out DHCP IPs that Cisco switch issued and the range

Posted on 2013-01-31
5
488 Views
Last Modified: 2013-02-19
We have a cisco switch and I know devices are picking up IPs via DHCP from it. What cisco commands can I use to see what IPs have been given out and what the range is so I can set some static IPs on the same vlan?
0
Comment
Question by:Thor2923
5 Comments
 
LVL 20

Accepted Solution

by:
rauenpc earned 500 total points
ID: 38842114
show run | inc dhcp
show run | sec dhcp pool

show ip dhcp bind
show ip dhcp pool
show ip dhcp data
0
 
LVL 1

Author Comment

by:Thor2923
ID: 38843652
I litterally need the | symbol or is that a variable?
0
 
LVL 20

Expert Comment

by:rauenpc
ID: 38844234
Shift+\

Its the key above enter on most keyboards
0
 
LVL 6

Expert Comment

by:airwrck
ID: 38845758
skyeng-ts#sh ip dhcp pool

Pool lab1 :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 Total addresses                : 254
 Leased addresses               : 0
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 10.201.1.1           10.201.1.1       - 10.201.1.254      0

Pool Engr :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 Total addresses                : 62
 Leased addresses               : 1
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 66.146.173.185       66.146.173.129   - 66.146.173.190    1
0
 

Expert Comment

by:blackhawk77
ID: 38849254
When you have figured out what ranges you are using you can use the following command to make sure the static IPs you want to use are not given out by the server.

For one address
ip dhcp excluded-address XXX.XXX.XXX.XXX

For a range of addresses
ip dhcp excluded-address XXX.XXX.XXX.XXX YYY.YYY.YYY.YYY
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now