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
]
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...