Page 506 / 998 Scroll up to view Page 501 - 505
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-46
Example
--> dhcpserver subnet sub1 pool mypool delete allowclass myclass
5.1.5.1.69 DHCPSERVER SUBNET POOL DELETE DENYCLASS
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> DELETE DENYCLASS
<CLASSNAME>
Description
This command delete a class to be denied by the Pool.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver subnet sub1 pool mypool delete denyclass myclass
5.1.5.1.70 DHCPSERVER SUBNET POOL DELETE OPTION
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> ADD OPTION <identi-
fier>
Description
This command delete an option form
the specified pool.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
classname
Name of the class to be allowed by the pool
N/A
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
classname
Name of the class to be denied by the pool
N/A
Page 507 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-47
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpserver subnet sub1 pool mypool delete option auto-configure
5.1.5.1.71 DHCPSERVER SUBNET POOL DELETE POOLRANGE
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> DELETE POOLRANGE
<id>
Description
This command allows you to configure the DHCP server adding a poolrange to the spec-
ified pool
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver subnet sub1 delete pool mypool poolrange 1
5.1.5.1.72 DHCPSERVER SUBNET POOL LIST ALLOWCLASS
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> LIST ALLOWCLASS
Description
This command list class allowed by the pool.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
identifier
The identifier of the option available from command
dhcpserver list options
identifier
Option
Description
Default Value
name
the name of the subnet
N/A
poolname
Name
of the
pool to be added
N/A
id
iprange Id. to be deleted
from the
pool
N/A
Page 508 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-48
Example
--> dhcpserver subnet sub1 pool mypool list allowclass
5.1.5.1.73 DHCPSERVER SUBNET POOL LIST DENYCLASS
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> LIST DENYCLASS
Description
This command list class to be denied by the Pool.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver subnet sub1 pool mypool list denyclass
5.1.5.1.74 DHCPSERVER SUBNET POOL LIST OPTION
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> LIST OPTION
Description
This command list options form
the specified pool.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
poolname
Name/Id of the
pool
N/A
Page 509 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-49
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpserver subnet sub1 pool mypool list options
5.1.5.1.75 DHCPSERVER SUBNET POOL LIST POOLRANGE
Syntax
DHCPSERVER SUBNET <name> POOL <poolname> LIST POOLRANGE
Description
This command allows you to list the poolrange of a pool
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver subnet sub1 delete pool mypool poolrange 1
5.1.5.1.76 DHCPSERVER ENABLE|DISABLE
Syntax
DHCPSERVER {ENABLE|DISABLE}
Description
This command enables/disables the DHCP server. You must have the DHCP server
enabled in order to carry out any DHCP server configuration. If you try configuring
DHCP server when
DHCPSERVER DISABLE
is set, the CLI issues a warning message.
You can enable both DHCP server and DHCP relay simultaneously by specifying individ-
ual interfaces for the server and relay to bind to. You cannot bind the same interface to
both server and relay - you must use different interfaces for each.
If you have set DHCP server to operate on an existing IP interface and you want to make
configuration changes to that IP interface, you must first disable DHCP server, then re-
enable it once your IP configuration is complete.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
the name of the subnet
N/A
poolname
Name
of the
pool to be added
N/A
Option
Description
Default Value
enable
Enables configuration of the DHCP server.
enable
disable
Disables configuration of the DHCP server.
Page 510 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-50
Example
--> dhcpserver enable
See also
DHCPRELAY ENABLE|DISABLE
DHCPSERVER ADD INTERFACE
5.1.5.1.77 DHCPSERVER FORCERENEW
Syntax
DHCPSERVER FORCERENEW <ipaddress>
Description
This command prompts the DHCP server to issue a DHCPFORCERENEW message to
the DHCP client at the given IP address.
Note that the server will only do this if the DHCP client is on one of the subnets the
DHCP server has been configured to serve. The client must also be configured to accept
DHCPFORCERENEW messages using the
DHCPCLIENT SET INTERFACECONFIG
FORCERENEW ENABLED
command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver forcerenew 192.168.1.1
See also
DHCPCLIENT SET INTERFACECONFIG FORCERENEW
5.1.5.1.78 DHCPSERVER LIST OPTIONS
Syntax
DHCPSERVER LIST OPTIONS
Description
This command lists the option data types available for DHCP server. These options are
detailed in RFC2132.
You can configure the DHCP server using any of the options listed.
Option
Description
Default Value
ipaddress
The IP address that the DHCP server issues the
DHCPFORCERENEW message to.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top