Solved

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

Posted on 2013-01-31
5
519 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

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.
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

688 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