Page 486 / 998 Scroll up to view Page 481 - 485
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-26
Description
This command lists the following information about existing DHCP fixed host mappings:
Sahred Nnetwork ID
Sharednetwork name
Example
--> dhcpserver list sharednetorks
DHCP server fixed host mappings:
DHCP Server Shared-Networks:
ID
|
Shared-Network Name
----|--------------------------
1 | myshared
-------------------------------
5.1.5.1.33 DHCPSERVER SHAREDNETOWOR ADD SHAREDSUBNET
Syntax
DHCPSERVER SHAREDNETWORK <name> ADD SHAREDSUBNET <subnet-
name>
Description
This command add a shared subnet without IP Ranges in the Shared Network.
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 sharednetwork myshare add sharedsubnet
first subnet
5.1.5.1.34 DHCPSERVER SHAREDNEWORK CLEAR SHAREDSUBNETS
Syntax
DHCPSERVER SHAREDNETWORK <name> CLEAR SHAREDSUBNETS
Description
This command deletes all DHCP server share subnets of a specific sharednetwrok
Example
--> dhcpserver sharednetwork myshare clear sharedsubnets
5.1.5.1.35 DHCPSERVER SHAREDNETWORK DELETE SHAREDSUBNET
Syntax
DHCPSERVER SHAREDNETWORK
<name> DELETE SHAREDSUBNET <subnetname>
Description
This command deletes a single shard subnet.
Option
Description
Default Value
name
Sharedsubnet name
N/A
subnetname
Subnet name
N/A
Page 487 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-27
iMG/RG Software Reference Manual (System Administration)
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 sharednetwork myshared delete sharedsubnet mysubnet
5.1.5.1.36 DHCPSERVER SHAREDNETWORKS LIST SHAREDSUBNET
Syntax
DHCPSERVER SHAREDNETWORKS <NAME> LIST SHAREDSUBNET
Description
This command lists the information about existing DHCP shared subnet in ashared net-
work
Example
--> dhcpserver sharednetorks myshare list sharedsubnet
5.1.5.1.37 DHCPSERVER ADD SUBNET
Syntax
DHCPSERVER ADD SUBNET
<name> <ipaddress> <netmask> [<startaddr>
<endaddr>]
Description
This command creates a subnet that stores a pool of IP addresses. The DHCP server can
allocate IP addresses from this pool to clients on request.
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 shared network.
N/A
subnetname
Subnet name
N/A
Option
Description
Default Value
name
An arbitrary name that identifies the subnet. It can
be made up of one or more letters or a combination
of letters and digits, but it cannot start with a digit.
N/A
ipaddress
The IP address of the subnet in the format:
192.168.102.3
N/A
Page 488 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-28
Example
--> dhcpserver add subnet sub1 239.252.197.0 255.255.255.0 239.252.197.10
239.252.197.107
See also
DHCPSERVER LIST SUBNETS
5.1.5.1.38 DHCPSERVER CLEAR SUBNETS
Syntax
DHCPSERVER CLEAR SUBNETS
Description
This command deletes all DHCP server subnets that were created using the
DHCPS-
ERVER ADD SUBNET
command.
Example
--> dhcpserver clear subnets
See also
DHCPSERVER DELETE SUBNET
5.1.5.1.39 DHCPSERVER DELETE SUBNET
Syntax
DHCPSERVER DELETE SUBNET {<name>|<number>}
Description
This command deletes a single DHCP server subnet. The pool of IP addresses in the sub-
net is also deleted.
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 delete subnet sub1
netmask
The netmask address of the subnet, for example:
255.255.255.0
N/A
startaddr
The first IP address in the pool of addresses. The IP
address is displayed in the following format:
192.168.102.3
N/A
endaddr
The last IP address in the pool of addresses. The IP
address is displayed in the following format:
192.168.102.3
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
com-
mand.
N/A
Page 489 / 998
DHCP Server command reference
Dynamic Host Configuration Protocol
5-29
iMG/RG Software Reference Manual (System Administration)
See also
DHCPSERVER CLEAR SUBNETS
5.1.5.1.40 DHCPSERVER LIST SUBNETS
Syntax
DHCPSERVER LIST SUBNETS
Description
This command lists the following information about existing DHCP server subnets:
Subnet number
Subnet name
Subnet ip address
Subnet netmask address
Default lease time (in seconds)
Maximum lease time (in seconds)
Whether the host is a dns server (true or false)
Example
--> dhcpserver list subnets
DHCP Server subnets:
Default
Max
Host is
ID |
IP Address
|
Netmask
|Lease time| Lease time |DNS svr
----|---------------|---------------|----------|------------|-------
1 | 192.168.102.0 | 255.255.255.0 | 43200
| 86400
| false
--------------------------------------------------------------------
See also
DHCPSERVER SHOW SUBNET
5.1.5.1.41 DHCPSERVER SHOW SUBNET
Syntax
DHCPSERVER SHOW SUBNET {<name>|<number>}
Description
This command displays the following information about a subnet:
Subnet name
Subnet ip address
Subnet netmask
Subnet maximum lease time
Subnet default lease time
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).
Page 490 / 998
Dynamic Host Configuration Protocol
DHCP Server command reference
iMG/RG Software Reference Manual (System Administration)
5-30
Example
--> dhcpserver show subnet sub1
DHCP Server Subnet: sub1
Subnet: 192.168.103.0
Netmask: 255.255.255.0
Max. lease time: 70000 seconds
Default lease time: 30000 seconds
See also
DHCPSERVER SHOW
5.1.5.1.42 DHCPSERVER SET SUBNET ASSIGNAUTODOMAIN
Syntax
DHCPSERVER SET SUBNET {<name>|<number>} ASSIGNAUTODOMAIN
{ENABLED|DISABLED}
Description
This command sets DHCP server to automatically pick up the domain name configured
in DNS relay and hand it out to DHCP clients on one or more of the subnets being
administered by 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 set subnet sub1 assignautodomain enabled
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
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
enabled
DHCP server passes the local device’s domain name (set up
in DNS relay) to all DHCP clients on the LAN.
disabled
disabled
DHCP server does not pass the local device’s domain name
(set up in DNS relay) to all DHCP clients on the LAN.

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