Orbit-Computer Solutions.Com

Computer Training & Networking Solutions
Chika Nwokeoma, EzineArticles.com Basic Author < <
 
IP
 
New Argos Catalogue Out Now  
 

Defining DHCP Lease Periods on Cisco router

You want to change the default lease period on your router.

To change the default DHCP lease time for a pool of IP addresses, use the lease configuration command:

Router1#configure terminal
Router1(config)#ip dhcp pool 192.168.5.0 255.255.255.0
Router1(dhcp-config)#lease 5 12 30            
Router1(dhcp-config)#end
Router1#

With The lease command, you are left three options: lease days, hours, minutes with hours and minutes being optional. You can specify a maximum period of 365 days, 23 hours and 59 minutes, and a minimum of 1 second. The default is 1 day.

 

Configure Cisco router to assign addresses with infinite lease period.

Use the following command:

Router1#configure terminal
Router1(config)#ip dhcp pool HQ
Router1(dhcp-config)#lease infinite
Router1(dhcp-config)#end
Router1#
   
 
 
 
 
 
 
 
 
 Download an eBook today

Your Ad Here         

  
Laptop Cop - 20% Off
 
Copyright 2009 - 2010. Orbit-Computer-Solutions.Com. All rights reserved.   Web Links  Privacy Policy  
 
The information provided on this website is for informational purposes only. Orbit-computer-solutions.com makes no warranties, either expressed or implied,
 with respect to any information contained on this website.
Orbit computer solutions.com reserves the right to change this policy at any time without prior notice.
Cisco and All related product mentioned in any portion of this website are the registered trademarks of Cisco.com their respective owners.
Microsoft Windows and All related products mentiond in any portion of this website are registered trademark of Microsoft Corporation.
 
Please email questions and comment to webmaster: toureg11@googlemail.com