beautypg.com

8 host – Accton Technology ES4626 User Manual

Page 325

background image

325

Command: hardware-address

[{Ethernet |

IEEE802|}]

no hardware-address

Function:

Specifies the hardware address of the user when binding address manually;

the “no hardware-address” command deletes the setting.

Parameters:

is the hardware address in Hex; Ethernet | IEEE802

is the Ethernet protocol type, should be the RFC number defined for

protocol types, from 1 to 255, e.g., 0 for Ethernet and 6 for IEEE 802.

Default:

The default protocol type is Ethernet,

Command Mode:

DHCP Address Pool Mode

Usage Guide:

This command is used with the “host” when binding address manually. If

the requesting client hardware address matches the specified hardware address, the

DHCP server assigns the IP address defined in “host” command to the client.

Example:

Specify IP address 10.1.128.160 to be bound to the user with hardware

address 00-00-e2-3a-26-04 in manual address binding.

Switch(dhcp-1-config)#hardware-address 00-00-e2-3a-26-04

Switch(dhcp-1-config)#host 10.1.128.160 24

10.2.2.8 host

Command: host

[ | ]

no host

Function:

Specifies the IP address to be assigned to the user when binding addresses

manually; the “no host” command deletes the IP address.

Parameters:

is the IP address in decimal format; is the subnet

mask in decimal format; means mask is indicated by prefix. For example,

mask 255.255.255.0 in prefix is “24”, and mask 255.255.255.252 in prefix is “30”.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

If no mask or prefix is configured when configuring the IP address, and no

information in the IP address pool indicates anything about the mask, the system will

assign a mask automatically according to the IP address class.

This command is used with “hardware address” command or “client identifier” command

when binding addresses manually. If the identifier or hardware address of the requesting

client matches the specified identifier or hardware address, the DHCP server assigns the

IP address defined in “host” command to the client.

Example:

Specifying IP address 10.1.128.160 to be bound to user with hardware

address 00-10-5a-60-af-12 in manual address binding.

Switch(dhcp-1-config)#hardware-address 00-10-5a-60-af-12

Switch(dhcp-1-config)#host 10.1.128.160 24

This manual is related to the following products: