Chapter 59
Configuring the Cisco IOS DHCP Server
Configuring Manual Bindings
Command or Action
Step 1
Switch> enable
Step 2
Switch# configure terminal
Step 3
Switch(dhcp-config)# ip dhcp pool
pool-name
Step 4
Switch(dhcp-config)# host address [mask |
/prefix-length]
Step 5
Switch(dhcp-config)# client-identifier
unique-identifier
Switch(dhcp-config)# hardware-address
Step 6
hardware-address [protocol-type | hard-
ware-number]
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Enters global configuration mode.
Assigns a name to a DHCP pool and enters DHCP configuration
mode.
Specifies the IP address and subnet mask of the client.
There is no limit to the number of manual bindings you can
•
configure. However, you can configure only one manual
binding per host pool.
Specifies the unique identifier for DHCP clients.
This command is used for DHCP requests.
•
DHCP clients require client identifiers. You can specify the
•
unique identifier for the client in either of the following ways:
A 7-byte dotted hexadecimal notation. For example,
–
01b7.0813.8811.66, where 01 represents the Ethernet
media type and the remaining bytes represent the MAC
address of the DHCP client.
A 27-byte dotted hexadecimal notation. For example,
–
7665.6e64.6f72.2d30.3032.342e.3937.6230.2e33.3734.
312d.4661.302f.31. The equivalent ASCII string for this
hexadecimal value is vendor-0024.97b0.3741-fa0/1,
where vendor represents the vendor, 0024.97b0.3741
represents the MAC address of the source interface, and
fa0/1 represents the source interface of the DHCP client.
See the Troubleshooting section for information about how
•
to determine the client identifier of the DHCP client.
The identifier specified here is considered
Note
for a DHCP client that sends a client
identifier in the packet.
Specifies a hardware address for the client.
This command is used for BOOTP requests.
•
The hardware address specified here is
Note
considered for a DHCP client that does not
send a client identifier in the packet.
Configuring DHCP Address Pools
59-17