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
Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

790 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