We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

DHCP on cisco router

vburshteyn
vburshteyn asked
on
Medium Priority
617 Views
Last Modified: 2012-05-11
hi folks,

I set up a DHCP on a router.



iip dhcp pool VOICE
   network 172.17.30.0 255.255.255.0
   default-router 172.17.30.2
   dns-server 172.17.20.84
   option 150 ip 172.17.30.10 172.17.30.11
   lease 5
!


No i need to set the lease for about 30 minutes.

is that
lease 0 0 30 ?

second how can i clear out the leases or have then refresh so the phones know that the lease is for only 30 minutes.


Comment
Watch Question

Top Expert 2011

Commented:
Cisco's terminal is pretty good. Did you try putting in

lease ?

to see if it would spit out the parameters?

Author

Commented:
yes it gives me an option only for days, but we are in the process of pushing out a new phone system and i need the system to update faster.
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Top Expert 2011

Commented:
It looks like it would be

lease 0 0 30 like you stated before.
Don JohnstonInstructor
CERTIFIED EXPERT
Top Expert 2015

Commented:
IIRC, "clear ip dhcp binding" or "clear dhcp binding"
Hello Dear,

Troubleshooting commands from the CCNA Command Guide

router(config)#service dhcp
! Verifies that the router can use DHCP services and that DHCP is enabled

router#show ip dhcp binding
! Displays a list of all bindings created

Router#show ip dhcp binding w.x.y.z
! Displays the bindings for a specific DHCP client with an IP address of w.x.y.z

Router#clear ip dhcp binding a.b.c.d
! Clears an automatic address binding from the DHCP server database

Router#clear ip dhcp binding *
! Clears all automatic DHCP bindings

Router#show ip dhcp conflict Displays a list of all address conflicts
! recorded by the DHCP server

Router#clear ip dhcp conflict a.b.c.d
!Clears address conflict from the database

Router#clear ip dhcp conflict *
!Clears conflicts for all addresses

Router#show ip dhcp database
!Displays recent activity on the DHCP database

Router#show ip dhcp server statistics
!Displays a list of the number of messages sent and received by the DHCP server

Router#clear ip dhcp server statistics
!Resets all DHCP server counters to 0

Router#debug ip dhcp server {events | packets | linkage | class}
!Displays the DHCP process of addresses being leased and returned
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.