Page 496 / 998 Scroll up to view Page 491 - 495
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-36
Example
--> dhcpserver subnet sub1 add option auto-configure 1
See also
DHCPCLIENT SET INTERFACECONFIG AUTOIP ENABLED|DISABLED
Note:
For a list of options that you can choose from, see
DHCPSERVER LIST OPTIONS
For information on RFC 2132, see
5.1.5.1.50 DHCPSERVER SUBNET ADD POOL
Syntax
DHCPSERVER SUBNET <name> ADD POOL <poolname> <startaddr>
<endaddr>
Description
This command allows you to configure the DHCP server adding a pool to the specified
subnet
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 add pool mypool 10.17.90.1 10.17.90.128
5.1.5.1.51 DHCPSERVER SUBNET CLEAR IPRANGES
Syntax
DHCPSERVER SUBNET {<name>|<number>} CLEAR IPRANGES
Description
This command deletes all of the IP ranges set for an existing subnet.
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).
number
An existing subnet. To display subnet numbers, use the
DHCPSERVER LIST SUBNETS
command.
N/A
identifier
A text string that identifies a DHCP server configuration
option.
N/A
value
The value associated with the option identifier.
N/A
Option
Description
Default Value
name
the name of the subnet
N/A
poolname
Name
of the
pool to be added
N/A
startaddr
Starting IP address for the Pool IP range
N/A
endaddr
Ending IP address for the Pool IP range
N/A
Page 497 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-37
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpserver subnet sub1 clear ipranges
See also
DHCPSERVER SUBNET LIST IPRANGES
DHCPSERVER SUBNET DELETE IPRANGE
5.1.5.1.52 DHCPSERVER SUBNET CLEAR OPTIONS
Syntax
DHCPSERVER SUBNET {<name>|<number>} CLEAR OPTIONS
Description
This command deletes the options set for an existing subnet.
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 clear options
See also
DHCPSERVER ADD SUBNET
DHCPSERVER LIST SUBNETS
DHCPSERVER SUBNET DELETE OPTION
5.1.5.1.53 DHCPSERVER SUBNET CLEAR POOLS
Syntax
DHCPSERVER SUBNET <name> CLEAR POOLS
Option
Description
Default Value
name
An existing subnet. To display subnet names, use
the
DHCPSERVER LIST SUBNETS
com-
mand.
N/A
number
An existing subnet. To display subnet numbers,
use the
DHCPSERVER LIST SUBNETS
command.
N/A
Option
Description
Default Value
name
An existing subnet. To display subnet names, use
the
DHCPSERVER LIST SUBNETS
com-
mand.
N/A
number
An existing subnet. To display subnet numbers,
use the
DHCPSERVER LIST SUBNETS
command.
N/A
Page 498 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-38
Description
This command delete all the pools of the specified subnet
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 clear pools
5.1.5.1.54 DHCPSERVER SUBNET DELETE IPRANGE
Syntax
DHCPSERVER SUBNET {<name>|<number>} DELETE IPRANGE <range-
id>
Description
This command deletes a single IP range from an existing subnet.
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 iprange 1
See also
DHCPSERVER LIST SUBNETS
DHCPSERVER SUBNET LIST IPRANGES
5.1.5.1.55 DHCPSERVER SUBNET DELETE OPTION
Syntax
DHCPSERVER SUBNET {<name>|<number>} DELETE OPTION <option
number>
Option
Description
Default Value
name
An existing subnet. To display subnet names, use
the
DHCPSERVER LIST SUBNETS
com-
mand.
N/A
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
number
An existing subnet. To display subnet numbers, use the
DHCPSERVER LIST SUBNETS COMMAND.
N/A
range-id
A number that identifies an IP range. To list the existing
range-ids for a subnet, use the
DHCPSERVER SUB-
NET LIST IPRANGES
command.
N/A
Page 499 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-39
iMG/RG Software Reference Manual (System Administration)
Description
This command deletes a single option that was created using the
DHCPSERVER SUB-
NET ADD OPTION
command. Once deleted, the option will no longer be given out by
the DHCP server.
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 option 2
See also
DHCPSERVER ADD SUBNET
DHCPSERVER CLEAR SUBNETS
DHCPSERVER LIST SUBNETS
DHCPSERVER SUBNET LIST OPTIONS
5.1.5.1.56 DHCPSERVER SUBNET DELETE POOL
Syntax
DHCPSERVER SUBNET <name> DELETE POOL <poolname>
Description
This command deletes a single pool
that was created using the
DHCPSERVER SUBNET
ADD POOL
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 subnet sub1 delete pool mypool
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
number
An existing subnet. To display subnet numbers, use the
DHCPSERVER LIST SUBNETS
command.
N/A
option number
An existing option. To list all existing options, use the
DHCPSERVER SUBNET LIST OPTIONS
com-
mand.
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 to be deleted
from the
subnet.
N/A
Page 500 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-40
5.1.5.1.57 DHCPSERVER SUBNET LIST IPRANGES
Syntax
DHCPSERVER SUBNET {<name>|<number>} LIST IPRANGES
Description
This command lists the IP range(s) for an existing subnet that has been added using the
dhcpserver add subnet 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 subnet sub1 list ipranges
IP Ranges for subnet: sub1
ID
|
Start Address
|
End Address
-----|------------------|------------------
1 | 192.168.102.0
| 192.168.102.100
2 | 192.168.102.200
| 192.168.102.300
-------------------------------------------
See also
DHCPSERVER LIST SUBNETS
DHCPSERVER ADD SUBNET
5.1.5.1.58 DHCPSERVER SUBNET LIST OPTIONS
Syntax
DHCPSERVER SUBNET {<name>|<number>} LIST OPTIONS
Description
This command lists the options for an existing subnet that has been added using the
dhcpserver add subnet 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).
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
number
An existing subnet. To display subnet numbers, use
THE
DHCPSERVER LIST SUBNETS
command.
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