Thor2923
asked on
I need to find out DHCP IPs that Cisco switch issued and the range
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Shift+\
Its the key above enter on most keyboards
Its the key above enter on most keyboards
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
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
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
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
ASKER