DHCP Commands
15-88 Configuring DHCP
Mode
Any
of
the
following
command
modes
are
available:
DHCP
pool
configuration:
XSR(config-dhcp-pool)#
DHCP
host
configuration:
XSR(config-dhcp-host)#
DHCP
client
class
configuration:
XSR(config-dhcp-class)#
Example
The
following
example
sets
14.12.1.99
as
the
IP
address
of
the
default
router
for
any
client
in
the
subnet
with
three
other
routers
in
descending
order
of
preference:
XSR(config-dhcp-pool)#default-router 14.12.1.99 14.13.1.66 14.12.1.56 14.12.1.57
The
following
example
specifies
14.12.1.1
as
the
IP
address
of
the
default
router
for
the
host
with
MAC
address
0010.a4f5.28a1
:
XSR(config-dhcp-pool)#hardware-address 0010.a4f5.28a1
XSR(config-dhcp-host)#default-router 14.12.1.1
The
following
example
specifies
14.12.1.99
as
the
IP
address
of
the
default
router
for
any
client
in
the
client
class
eng
:
XSR(config-dhcp-pool)#client-class eng
XSR(config-dhcp-class)#default-router 14.12.1.99
dns-server
This
command
specifies
the
DNS
IP
servers
available
to
a
DHCP
client.
It
is
available
from
DHCP
pool,
host,
or
client
class
mode.
Depending
on
the
client
configuration
inheritance,
the
command
should
be
used
from
the
proper
mode.
If
it
is
specified
from
multiple
modes,
an
override
mechanism
chooses
the
innermost
config
value,
with
host
as
innermost,
then
client
‐
class
and
pool
as
the
most
general.
Syntax
dns-server
address
[
address2
...
address8
]
Syntax of the “no” Form
Use
the
no
form
of
this
command
to
remove
the
DNS
server
list:
no dns-server
Mode
Any
of
the
following
command
modes
are
available:
DHCP
pool
configuration:
XSR(config-dhcp-pool)#
DHCP
host
configuration:
XSR(config-dhcp-host)#
DHCP
client
class
configuration:
XSR(config-dhcp-class)#
address
IP address of a DNS server. One IP address is required.
address2
...
address8
You can list up to 8 addresses at the prompt line by order of preference (DNS
server address is highest priority, then server address2, etc.).
Summary of Contents for X-Pedition XSR
Page 1: ...X Pedition Security Router XSR CLI Reference Guide Version 7 6 P N 9033842 07...
Page 2: ......
Page 10: ...viii...
Page 14: ...xii...
Page 134: ...Bootrom Monitor Mode Commands 3 128 Configuring the XSR Platform...
Page 278: ...VRRP Clear and Show Commands 5 202 Configuring the Internet Protocol...
Page 352: ...IGMP Clear and Show Commands 7 104 Configuring IP Multicast...
Page 406: ...Multilink Show Commands 8 136 Configuring the Point to Point Protocol...
Page 436: ...Frame Relay Clear and Show Commands 9 112 Configuring Frame Relay...
Page 460: ...Dialer Watch Commands 10 106 Configuring the Dialer Interface...