Host – Enterasys Networks X-Pedition XSR CLI User Manual

Page 601

Advertising
background image

DHCP Commands

XSR CLI Reference Guide 15-91

Examples

The following example specifies the hardware address for the DHCP client host to be of Ethernet 
type with MAC address 0001.f401.2710:

XSR(config-dhcp-pool)#hardware-address 0001.f401.2710 ethernet

The following example specifies the hardware address for the DHCP client host with IP address 
10.10.10.20 to be of Ethernet type with 0001.f401.2710 as the MAC address:

XSR(config-dhcp-pool)#host 10.10.10.20 255.255.255.0
XSR(config-dhcp-host)#hardware-address 0001.f401.2710 ethernet

The following example sets the hardware address for the DHCP host in class eng to be of Ethernet 
type with MAC address 0001.f401.2710:

XSR(config-dhcp-pool)#client-class writer
XSR(config-dhcp-class)#hardware-address 0001.f401.2710 ethernet

host

This command specifies the IP address and network mask for a manual binding to a DHCP client. 
By default, the DHCP server will examine its defined IP address pools if the mask and prefix 
length are unspecified. If no mask is specified in the IP address pool database, the Class A, B, or C 
natural mask is used. This command is valid for manual bindings only.

Syntax

host address [mask | prefix-length]

Syntax of the “no” Form

Use the no form of this command to remove the IP address of the client:

no host

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)#

Note: You cannot add a host to different DHCP pools. For example, host firewall cannot be added to
both pool1 and pool2.

address

IP address of the client.

mask

Network mask of the client.

prefix-length

Number of bits that comprise the address prefix. The prefix is an alternative way
of specifying a client’s network mask. It must be preceded by a forward slash (/).

Advertising