User`s guide
XSR User’s Guide 309
Chapter 12 DHCP Server Configuration Examples
Configuring DHCP
DHCP Option Examples
The following sample DHCP option configurations illustrate the three types
of option parameters prompted for by the CLI: IP address, ASCII and hex. For
more examples, refer to the XSR User’s Manual.
The following example configures DHCP option 3, which lists the IP
addresses of four default routers on the DHCP client's subnet in descending
order of preference. This setting can also be configured by the DHCP
default-router
command. Be sure to first exclude these addresses from the
IP local pool to prevent them from being allocated by the DHCP server.
XSR(config-dhcp-pool)#option 3 ip 192.168.57.90 192.168.57.26
192.168.57.54 192.168.57.78
The following example configures DHCP option 12, which specifies the host
name of a client which may or may not be qualified with the local domain
name. The option parameter is expressed in ASCII text but can also be
configured by the DHCP
client-name command. The name should not
include the domain name.
XSR(config-dhcp-host)#option 12 ascii jonah
The following example configures DHCP option 29, which specifies that the
the client will perform subnet mask discovery using ICMP.
XSR(config-dhcp-host)#option 29 hex 01