Configuring the dhcp client, Clearing dynamically allocated lease bindings – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1697
Dynamic Host Configuration Protocol (DHCP) Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
63.11
Configuring the DHCP Client
You can configure an interface on your device with a static IP address, or with a dynamic IP
address assigned using your device’s DHCP client. When you use the DHCP client, it
obtains the IP address for the interface, and other IP configuration parameters, from a
DHCP server. To configure an interface and gain its IP configuration using the DHCP client,
use the command:
The DHCP client supports the following IP configuration options:
■
Option 1—the subnet mask for your device.
■
Option 3—a list of default routers.
■
Option 51—lease expiration time.
If an IP interface is configured to get its IP address and subnet mask from DHCP, the
interface does not take part in IP routing until the IP address and subnet mask have been
set by DHCP.
For information on configuring a static IP address on an interface, see the
.
Clearing Dynamically Allocated Lease
Bindings
A lease binding is the mapping of an IP address to a physical address. To clear dynamically
allocated lease bindings on a DHCP server, use the command:
You have the option to clear either a specific lease binding, specified by IP or MAC address,
or to clear several lease bindings at once. The options for clearing multiple lease bindings
are:
awplus(config)#
interface
awplus(config-if)#
ip address dhcp [client-id
[hostname
awplus#