Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-01-31
5
Medium Priority
?
540 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 2000 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
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…

636 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