cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
245
Views
0
Helpful
2
Replies

dhcp obtained ips

ayman emara
Level 1
Level 1

Hi all,

i have 6513 core switch and i made it work as dhcp server

does anyone know how to know the number of ips obtained from this dhcp server??

thanks

ayman

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hello Ayman,

In recent IOSes, you can use the command show ip dhcp pool to see the statistics about each pool, including the number of available and allocated addresses. I am not sure if that is supported on the 6500, though. In any case, the command is described here:

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc3.html#wp1039563

Another way would be to check the show ip dhcp binding output to display all currently assigned IP addresses, and process it using some script to count the assigned IPs.

Best regards,

Peter

Hi Peter,

i have version Version 12.2(17r)S4 and it doesn't support the command " show ip dhcp pool"

and i've tried the command "show ip dhcp binding"

but it didn't get any output as i'm sure that their is at least 100 users and IP phones have dhcp from the core switch.

Thanks,

Ayman

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card