Netgear NETGEAR Manual Do Utilizador

Página de 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software 
8-86
Switching Commands
202-10088-01, March 2005
Format  
ip dhcp pool <name>
Mode  
Global Config Mode
no ip dhcp pool
This command removes the DHCP address pool. The name should be previously configured pool 
name. 
Format  
no ip dhcp pool <name>
Mode  
Global Config Mode
lease
This command configures the duration of the lease for an IP address that is assigned from a DHCP 
server to a DHCP client. The overall lease time should be between 1-86400 minutes. If infinite is 
specified, lease is set for 60 days. Days is an integer from 0 to 59. Hours is an integer from 0 to 
1439. Minutes is an integer from 0 to 86399.
Default  
1 (day)
Format  
lease {[<days> [hours] [minutes]] | [infinite]}
Mode  
DHCP Pool Config
no lease
This command restores the default value of the lease time for DHCP Server. 
Format  
no lease
Mode  
DHCP Pool Config
network
This command is used to configure the subnet number and mask for a DHCP address pool on the 
server. Network-number is a valid IP address, made up of four decimal bytes ranging from 0 to 
255. IP address 0.0.0.0 is invalid. Mask is the IP subnet mask for the specified address pool. The 
prefix-length is an integer from 0 to 32. 
Default  
none
Format  
network <networknumber> [mask | prefixlength]
Mode  
DHCP Pool Config