Microsoft Windows XP
[Version 5.1.2600
](C) Copyright 1986-2001 Microsoft Corp.
C
:\WINDOWS>netsh routing ip autodhcp set global ?
Usage
: set global
[[scopenetwork=
]IP address
] [[scopemask=
]IP subnet mask
]
[[leasetime=
]duration (minutes)
] [[loglevel=
]none
|error
|warn
|info
]
Parameters
:
Tag Value
scopenetwork - The IP network address for the DHCP allocator scope.
scopemask - The subnet mask associated with the network address.
leasetime - The lease duration time, specified in minutes.
loglevel - One of the following values
:
none
: No logging of DHCP allocation events.
error
: Log only errors related to DHCP allocation.
warn
: Log warnings related to DHCP allocation.
info
: Log information related to DHCP allocation.
Remarks
: Sets global parameters used to support DHCP allocation.
Examples
:
set global 10.10.10.0 255.255.255.0 11520 info
set global leasetime=4320
The first example command sets the IP network for DHCP allocation
to 10.10.10.0, an associated scope subnet mask of 255.255.255.0,
a lease time of 11520 minutes (8 days), and logging of information for
all related events. The second example command adjusts only the lease
time globally for all scopes on all interfaces to a new value of
4320 minutes (3 days).