59-17
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 59 Configuring the Cisco IOS DHCP Server
Configuring DHCP Address Pools
Configuring Manual Bindings
Command or Action
Purpose
Step 1
Switch>
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
Switch#
configure terminal
Enters global configuration mode.
Step 3
Switch(dhcp-config)#
ip dhcp pool
pool-name
Assigns a name to a DHCP pool and enters DHCP configuration
mode.
Step 4
Switch(dhcp-config)#
host
address
[
mask
|
/
prefix-length
]
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.
Step 5
Switch(dhcp-config)#
client-identifier
unique-identifier
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.
Note
The identifier specified here is considered
for a DHCP client that sends a client
identifier in the packet.
Step 6
Switch(dhcp-config)#
hardware-address
hardware-address
[
protocol-type
|
hard-
ware-number
]
Specifies a hardware address for the client.
•
This command is used for BOOTP requests.
Note
The hardware address specified here is
considered for a DHCP client that does not
send a client identifier in the packet.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...