User`s guide
XSR User’s Guide 303
Chapter 12 DHCP CLI Commands
Configuring DHCP
Create manual bindings of IP addresses and client hardware
addresses - Manual bindings are comprised of:
– host - the DHCP client’s IP address and subnet mask or prefix
length, entered with
host
– hardware-address - the DHCP client’s MAC address and platform
protocol, entered with hardware-address, or
–
client-identifier - the DHCP client’s unique marker is its combined
media type and MAC address, entered with
client-identifier.
Delete client bindings from the DHCP Server.
Clear ip dhcp
binding
removes an automatic address binding from the DHCP
database;
no host, no hardware-address or no client-id
remove manual bindings depending on which command was entered
first when the binding was created.
DHCP Server boot file(s) - The boot file is used to store a boot image
for the client. The boot image is often the operating system a client
uses to load. It is configured with
bootfile.
Enable BOOTP Relay by configuring a destination address for UDP
broadcasts with
ip helper-address.
Set domain name and DNS server - To put a client in the general group
of networks comprising the domain, use
domain-name. To specify the
DNS server clients query when they need to correlate host names to IP
addresses, use
dns-server.
Specify the NetBIOS server and node type for Microsoft clients -
DHCP clients query DNS servers when they must resolve host names
to IP addresses; enter an IP address of the NetBIOS MS WINS server
using
netbios-name-server. The XSR supports four node types of
DHCP clients: broadcast, peer-to-peer, mixed, and hybrid. They can
be specified using
netbios-node-type.
Configure a default router for the client - After a DHCP client has
booted, the client begins sending packets to its default router. The IP
address of the default router is required and should be on the same
subnet as the client. Set using
default-router.
Configure the address lease time - IP addresses assigned by a DHCP
Server have a one-day lease - the interval during which the address is
valid. Specify with
lease.
Set the number of ping packets and ping wait interval - the DHCP Server
pings an IP address twice before assigning a particular address to a
requesting client. If the ping is unanswered, the server assumes (with a
high probability) that the address is not in use and assigns the address to
the requesting client. Use
ip dhcp ping packets to change the
number of ping packets the server should send to the IP address before
assigning the address.