Ip address dhcp, Ip address dhcp -92 – Enterasys Networks X-Pedition XSR CLI User Manual

Page 602

Advertising
background image

DHCP Commands

15-92 Configuring DHCP

Next Mode

When this command is specified from either DHCP pool configuration mode or DHCP class 
configuration

 

sub‐mode, the CLI acquires DHCP host configuration mode. When specified from 

DHCP host or client mode, the command does not acquire a sub‐mode.

XSR(config-dhcp-host)#

Examples

This example sets 15.12.1.99 as the IP address of the client and 255.255.248.0 as its subnet mask:

XSR(config-dhcp-pool)#host 15.12.1.99 255.255.248.0

The following example specifies 15.12.1.99 as the IP address and 255.255.248.0 as the subnet mask, 
for the host with hardware address 1111.2222.3333:

XSR(config-dhcp-pool)#hardware-address 1111.2222.3333
XSR(config-dhcp-host)#host 15.12.1.99 255.255.248.0

The following example specifies 15.12.1.99 as the IP address and 255.255.248.0 as the subnet mask 
for the client in the client‐class eng:

XSR(config-dhcp-pool)#client-class eng
XSR(config-dhcp-class)#host 15.12.1.99 255.255.248.0

ip address dhcp

This command configures an interface as a DHCP Client. An Ethernet interface can be configured 
to use DHCP Client to acquire an IP address as well as other configuration parameters. Bootfile 
download is not supported.

Syntax

ip address dhcp [client-id client-identifier][hostname string]

Parameters

Syntax of the “no” Form

The no form of this command disables DHCP client:

no ip address dhcp

Note: When an interface address is configured to be DHCP negotiated the only legal version of the
no command is entered as no ip address dhcp.

client-identifier

This value corresponds to Option 61 passed within DHCP packets. A 
DHCP server uses this value to index its database of address bindings. 
The value is expected to be unique for all clients in an administrative 
domain. It is intended that this value be either a MAC address or the 
symbolic ID of a port with a MAC address (e.g. FastEthernet 1.)

hostname string

The string corresponds to Option 12. The name may or may not be 
qualified with the local domain name. RFC‐1035 character set 
restrictions are enforced.

Advertising