A. Command Line Interface
A-14 November 2003 6300-A2-GB20-10
DHCP Server Commands
The Dynamic Host Configuration Protocol (DHCP) Server can be enabled and
disabled. Based on RFC 2131 and RFC 2132, supported options are:
Domain Name
Domain Name Server
Router
Subnet Mask
nat disable
Minimum Access Level: Administrator
Command Mode: Config
Disables the currently enabled Basic NAT, NAPT, or both Basic NAT and NAPT.
nat purge
Minimum Access Level: Administrator
Command Mode: Config
Purges all mapping entries.
Table A-9. NAT Commands (4 of 4)
Table A-10. DHCP Server Commands (1 of 2)
dhcp server {enable | disable}
Minimum Access Level: Administrator
Command Mode: Config
Enables or disables the DHCP server. For the DHCP Server to be enabled, one (and
only one) address must be assigned to the Ethernet interface. The DHCP Server and
the DHCP Relay Agent cannot be enabled at the same time.
Example: dhcp server enable
enable – Enable the DHCP Server.
disable – Disable the DHCP Server. This is the default setting.
dhcp server addresses lower-ip-address upper-ip-address [mask]
Minimum Access Level: Administrator
Command Mode: Config
Specifies the range of IP addresses to be used by the DHCP server. When the DHCP
address range is changed, all binding entries, automatically added routes, and ARP
entries are removed.
Example: dhcp server address 132.53.4.2 132.53.4.250
mask – Specifies the subnet mask used by the DHCP server. If the mask is not specified,
then the subnet mask assigned to the DSL router’s Ethernet interface is used.