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

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Chapter 1
Configuring DHCP Features and IP Source Guard

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
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.
Command
Step 1
configure terminal
Step 2
ip dhcp use subscriber-id client-id
Step 3
ip dhcp subscriber-id interface-name
Step 4
interface interface-id
Step 5
ip dhcp server use subscriber-id client-id
Step 6
end
OL-25303-03
Default Port-Based Address Allocation Configuration, page 1-27
Port-Based Address Allocation Configuration Guidelines, page 1-27
Enabling DHCP Server Port-Based Address Allocation, page 1-27
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.
Configuring DHCP Server Port-Based Address Allocation
Purpose
Enter global configuration mode.
Configure the DHCP server to globally use the
subscriber identifier as the client identifier on all
incoming DHCP messages.
Automatically generate a subscriber identifier based
on the short name of the interface.
A subscriber identifier configured on a specific
interface takes precedence over this command.
Specify the interface to be configured, and enter
interface configuration mode.
Configure the DHCP server to use the subscriber
identifier as the client identifier on all incoming
DHCP messages on the interface.
Return to privileged EXEC mode.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents