hardware-address

Use this command to specify parameters for a new DHCP client address.

Syntax

hardware-address hardware-address [type]
no hardware-address hardware-address [type]

Parameters

hardware-address Specifies the MAC address of the client‘s hardware platform.
type (Optional) Specifies a hardware protocol or client class name. Valid values and their corresponding meanings are:
  • 1 or ethernet - 10Mb Ethernet
  • 6 or ieee802 - IEEE 802 networks
  • client-class name - Client class (configured as described in client-identifier).

Defaults

If type is not specified, Ethernet will be applied.

Mode

DHCP address pool configuration command mode.

Usage

This command also enables DHCP host configuration mode.

The “no” form of this command removes the hardware address.

Example

This example shows how to specify 0001.f401.2710 as an Ethernet MAC address for the “localpool” address pool:

System(rw-config)->ip dhcp pool localpool
System(rw-config-dhcp-pool)->hardware-address 0001.f401.2710 ethernet
System(rw-config-dhcp-host)->