Solved

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

Posted on 2013-01-31
5
492 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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…

929 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

11 Experts available now in Live!

Get 1:1 Help Now