3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-12 
dhcp server expired day day [ hour hour minute minute ] ] | unlimited } { interface interface-type 
interface-number to interface-type interface-number ] | all } 
undo dhcp server expired { interface interface-type interface-number [ to  interface-type 
interface-number ] | all } 
View 
System view, VLAN interface view 
Parameters 
day day: Specifies the number of days. The day argument ranges from 0 to 365. 
hour hour: Specifies the number of hours. The hour argument ranges from 0 to 23. 
minute minute: Specifies the number of minutes. The minute argument ranges from 0 to 59. 
unlimited: Specifies that the lease time is unlimited. (But actually, the system limits the maximum lease 
time to about 25 years.) 
interface interface-type interface-number [ to  interface-type interface-number ]: Specifies the 
interface(s), through which you can specify the corresponding interface address pool(s). The 
interface-type  argument specifies an interface type; the interface-number argument specifies an 
interface number; the interface interface-type interface-number [ to interface-type interface-number ] 
keyword and argument combination specifies an interface range. 
all: Specifies all interface address pools. 
Description 
Use the dhcp server expired command to configure the lease time of the IP addresses dynamically 
obtained in the specified DHCP interface address pool(s). 
Use the undo dhcp server expired command to restore the default lease time. 
The default lease time is one day. 
Related commands: expired
Examples 
# Enter system view. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
# Set the lease time of the IP addresses dynamically obtained in all DHCP interface address pools to be 
1 day, 2 hours and 3 minutes. 
[Sysname] dhcp server expired day 1 hour 2 minute 3 all 
# Set the lease time of the IP addresses dynamically obtained from DHCP interface address pools on 
VLAN-interface 2 through VLAN-interface 5 to be 2 days. 
[Sysname-Vlan-interface1] quit 
[Sysname] dhcp server expired day 2 interface Vlan-interface 2 to Vlan-interface 5 
dhcp server forbidden-ip 
Syntax 
dhcp server forbidden-ip low-ip-address [ high-ip-address ]