Configuring Dhcp Server Port-Based Address Allocation - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 20
Configuring DHCP and IP Source Guard Features
guarantee that DHCP would offer the same IP address to the replacement device. Control, monitoring,
and other software expect a stable IP address associated with each device. If a device is replaced, the
address assignment should remain stable even though the DHCP client has changed.
When configured, the DHCP server port-based address allocation feature ensures that the same IP
address is always offered to the same connected port even as the client identifier or client hardware
address changes in the DHCP messages received on that port. The DHCP protocol recognizes DHCP
clients by the client identifier option in the DHCP packet. Clients that do not include the client identifier
option are identified by the client hardware address. When you configure this feature, the port name of
the interface overrides the client identifier or hardware address and the actual point of connection, the
switch port, becomes the client identifier.
In all cases, by connecting the Ethernet cable to the same port, the same IP address is allocated through
DHCP to the attached device.
The DHCP server port-based address allocation feature is only supported on a Cisco IOS DHCP server
and not a third-party server.

Configuring DHCP Server Port-Based Address Allocation

Default Port-Based Address Allocation Configuration
By default, DHCP server port-based address allocation is disabled.
Port-Based Address Allocation Configuration Guidelines
These are the configuration guidelines for DHCP port-based address allocation:
Enabling DHCP Server Port-Based Address Allocation
Beginning in privileged EXEC mode, follow these steps to globally enable port-based address allocation
and to automatically generate a subscriber identifier on an interface.
OL-26520-01
Default Port-Based Address Allocation Configuration, page 20-21
Port-Based Address Allocation Configuration Guidelines, page 20-21
Enabling DHCP Server Port-Based Address Allocation, page 20-21
Only one IP address can be assigned per port.
Reserved addresses (preassigned) cannot be cleared by using the clear ip dhcp binding global
configuration command.
Preassigned addresses are automatically excluded from normal dynamic IP address assignment.
Preassigned addresses cannot be used in host pools, but there can be multiple preassigned addresses
per DHCP address pool.
To restrict assignments from the DHCP pool to preconfigured reservations (unreserved addresses are
not offered to the client and other clients are not served by the pool), you can enter the reserved-only
DHCP pool configuration command.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring DHCP Server Port-Based Address Allocation
20-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents