DHCP on cisco router

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.


vburshteynAsked:
Who is Participating?
 
jonahzonaCommented:
Cisco's terminal is pretty good. Did you try putting in

lease ?

to see if it would spit out the parameters?
0
 
vburshteynAuthor 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.
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
jonahzonaCommented:
It looks like it would be

lease 0 0 30 like you stated before.
0
 
Don JohnstonInstructorCommented:
IIRC, "clear ip dhcp binding" or "clear dhcp binding"
0
 
vikrantambhoreCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.