Page 216 / 757 Scroll up to view Page 211 - 215
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
212
config dhcp pool default_router
Purpose
Used to configure the default router for the DHCP client.
Syntax
config dhcp pool default_router <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>}
Description
This command is used to configure the default router for DHCP clients requesting DHCP
information for the switch. Users may add up to three IP addresses to identify the router, but
must specify at least one.
Parameters
<pool_name 12>
Enter the previously created pool name for which to add a default router.
<ipaddr>
Enter the IP address for the default router for this pool. Users may specify up to
three default routers but users must add at least one.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the default router:
DGS-3627:admin# config dhcp pool default_router accounting 10.245.32.1
Command: config dhcp pool default_router accounting 10.245.32.1
Success.
DGS-3627:admin#
config dhcp pool dns_server_address
Purpose
Used to configure the IP addresses of DNS servers for a specific DHCP pool.
Syntax
config dhcp pool dns_server_address <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>}
Description
This command is used to configure the DNS server IP addresses for a specific DHCP pool for
the switch. The DNS Server correlates IP addresses to host names when queried. Users may
add up to three DNS Server addresses.
Parameters
<pool_name 12>
Enter the previously created pool name for which to add a DNS address.
<ipaddr>
Enter the IP address for the DNS server for this pool. Users may specify up to
three DNS servers.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DNS server address foe a DHCP pool:
DGS-3627:admin#
config dhcp pool dns_server_address accounting 10.245.32.1
Command: config dhcp pool dns_server_address accounting 10.245.32.1
Success.
DGS-3627:admin#
Page 217 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
213
config dhcp pool domain_name
Purpose
Used to configure the domain name for the DHCP pool of the Switch.
Syntax
config dhcp pool domain_name<pool_name 12> <domain_name 64>
Description
This command is used to configure the domain name for the DHCP pool of the Switch. This
domain name represents a general group of networks that collectively make up the domain.
Parameters
<pool_name 12>
Enter the previously created pool name for which to add a default router.
<domain_name 64>
The Domain Name may be an alphanumeric string of up to 64
characters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the domain name for a DHCP pool:
DGS-3627:admin#
config dhcp pool domain_name accounting d_link.com
Command: config dhcp pool domain_name accounting d_link.com
Success.
DGS-3627:admin#
config dhcp pool lease
Purpose
Used to configure the lease time of DCHP clients within a DHCP pool.
Syntax
config dhcp pool lease<pool_name 12> [<day 0-365> <hour 0-23> <minute 0-59> |
infinite]
Description
Using this command, the user can specify the lease time for the DHCP client. This time
represents the amount of time that the allotted address is valid on the local network.
Parameters
<pool_name 12>
Enter the previously created pool name for which to set the lease time for
accepted DHCP clients.
day 0-365
– Enter the amount of days for the lease. The default setting is one day.
hour 0-23
– Enter the number of hours for the lease.
minute 0-59
Enter the number of minutes for the lease.
infinite
– Enter this parameter to set the allotted IP address to never be timed out of its lease.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the lease time for the DHCP pool:
DGS-3627:admin#
config dhcp pool lease accounting infinite
Command: config dhcp pool lease accounting infinite
Success.
DGS-3627:admin#
Page 218 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
214
config dhcp pool netbios_name_server
Purpose
Used to configure the IP address(es) for the Net BIOS name server,
Syntax
config dhcp pool netbios_name_server <pool_name 12> <ipaddr> {<ipaddr>}
{<ipaddr>}
Description
This command is used to enter the IP address of a Net BIOS Name Server that will be
available to a Microsoft DHCP Client. This Net BIOS Name Server is actually a WINS
(Windows Internet Naming Service) Server that allows Microsoft DHCP clients to correlate
host names to IP addresses within a general grouping of networks. The user may establish up
to three Net BIOS Name Servers.
Parameters
<pool_name 12>
Enter the previously created pool name for which to set the Net BIOS
name server for DHCP clients.
<ipaddr>
Enter the IP address for the Net BIOS name server for this pool. Users may
specify up to three Net BIOS name servers.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Net BIOS name server for the DHCP pool:
DGS-3627:admin#
config dhcp pool netbios_name_server accounting 10.98.254.2
Command: config dhcp pool netbios_name_server accounting 10.98.254.2
Success.
DGS-3627:admin#
config dhcp pool netbios_node_type
Purpose
Used to set the Net BIOS node type for the DHCP server.
Syntax
config dhcp pool netbios_node_type <pool_name 12> [broadcast | peer_to_peer |
mixed | hybrid]
Description
This command is used to allow users to set the type of node server for the previously
configured Net BIOS Name server. The user has four choices for node types which are
Broadcast
,
Peer to Peer
,
Mixed
and
Hybrid
.
Parameters
<pool_name 12>
Enter the previously created pool name for which to set the Net BIOS
node type for DHCP clients.
[broadcast | peer_to_peer | mixed | hybrid] –
Users may choose the node type for the Net
BIOS from one of the four listed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Net BIOS node type for the DHCP pool:
DGS-3627:admin# config dhcp pool netbios_node_type accounting hybrid
Command: config dhcp pool netbios_node_type accounting hybrid
Success.
DGS-3627:admin#
Page 219 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
215
config dhcp pool network_addr
Purpose
Used to configure the network address and corresponding subnet mask for the DHCP pool.
Syntax
config dhcp pool network_addr <pool_name 12> <network_address>
Description
This command will allow users to enter the IP address pool to be assigned to requesting
DHCP Clients. This address will not be chosen but the first 3 sets of numbers in the IP address
will be used for the IP address of requesting DHCP Clients. (ex. If this entry is given the IP
address 10.10.10.2, then assigned addresses to DHCP Clients will resemble 10.10.10.x,
where x is a number between 1 and 255 but does not include the assigned 10.10.10.2)
Parameters
<pool_name 12>
Enter the previously created pool name for which to set the network
address.
<network_address>
IP address and netmask that is the address of this DHCP pool. The
address and mask information can be specified using the traditional format (for example,
10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the network address for the DHCP pool:
DGS-3627:admin# config dhcp pool network_addr accounting 10.1.1.1/8
Command:config dhcp pool network_addr accounting 10.1.1.1/8
Success.
DGS-3627:admin#
config dhcp pool next_server
Purpose
Used to configure the IP address of the server that has the boot file for the DHCP pool.
Syntax
config dhcp pool next_server <pool_name 12> <ipaddr>
Description
This command is used to configure the IP address of the server that has the boot file for the
DHCP pool.
Parameters
<pool_name 12>
Enter the previously created pool name for which to set the next server.
<ipaddr>
Enter the IP address of the next server which has the boot file.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the IP address of the next server:
DGS-3627:admin# config dhcp pool next_server accounting 10.99.88.77
Command: config dhcp pool next_server accounting 10.99.88.77
Success.
DGS-3627:admin#
Page 220 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
216
enable dhcp_server
Purpose
Used to enable the DHCP function on the switch.
Syntax
enable dhcp_server
Description
This command, along with the disable dhcp_server will enable and disable the DHCP server
function without affecting configurations.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable DHCP server:
DGS-3627:admin#
enable dhcp_server
Command: enable dhcp_server
Success.
DGS-3627:admin#
disable dhcp_server
Purpose
Used to disable the DHCP function on the switch.
Syntax
disable dhcp_server
Description
This command, along with the enable dhcp_server will enable and disable the DHCP server
function without affecting configurations.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the DHCP server:
DGS-3627:admin#
disable dhcp_server
Command: disable dhcp_server
Success.
DGS-3627:admin#
show dhcp_server
Purpose
Used to display the DHCP server settings.
Syntax
show dhcp_server
Description
This command will display the DHCP server settings for its Global state, ping packet count
and ping timeout.
Parameters
None.
Restrictions
None.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top