Configures DHCP servers.
Lists available DHCP commands (more verbose than
Dumps the configuration of the DHCP server as a series of NetShell commands.
- add server [servername | serveraddress]
Adds a DHCP server to the list of authorized DHCP servers stored in Active Directory. You can specify either the DNS name or IP address of the server.
- delete server [servername | serveraddress]
Removes a DHCP server from the list of authorized DHCP servers.
- show server
Lists all authorized DHCP servers in the current domain.
- server [\\servername | serveraddress]
Enters the subcontext for the specified DHCP server, which enables you to configure the DHCP server using the
showcommands. These commands and their options are summarized in Table 5-8.
Note that the
commands enter new subcontexts. The Scope context configures a
specific scope on the server, and Mscope configures multicast scopes.
The commands available in these subcontexts are shown in Table 5-9
and Table 5-10.
You can tell what context you are currently in by the command prompt during a NetShell session. For example:
server \\mydhcpdhcp server>
In the previous example, you move from the Windows command shell to
the NetShell global context (
netsh>), then to
the DHCP context (
dhcp>), and finally to the
DHCP server context (
server>), which is a subcontext for a particular ...