Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

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.


0
vburshteyn
Asked:
vburshteyn
1 Solution
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now