22-30
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter22 Configuring DHCP Features and IP Source Guard Features
Displaying DHCP Server Port-Based Address Allocation
ip dhcp subscriber-id interface-name
ip dhcp excluded-address 10.1.1.1 10.1.1.3
!
ip dhcp pool dhcppool
network 10.1.1.0 255.255.255.0
address 10.1.1.7 client-id “Et1/0” ascii
<output truncated>
This example shows that the preassigned address was correctly reserved in the DHCP pool:
switch# show ip dhcp pool dhcppool
Pool dhcp pool:
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 0
Excluded addresses : 4
Pending event : none
1 subnet is currently in the pool:
Current index IP address range Leased/Excluded/Total
10.1.1.1 10.1.1.1 - 10.1.1.254 0 / 4 / 254
1 reserved address is currently in the pool
Address Client
10.1.1.7 Et1/0
For more information about configuring the DHCP server port-based address allocation feature, go to
Cisco.com, and enter Cisco IOS IP Addressing Services in the Search field to access the Cisco IOS
software documentation. You can also access the documentation:
http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_book.html
Displaying DHCP Server Port-Based Address Allocation
To display the DHCP server port-based address allocation information, use one or more of the privileged
EXEC commands in Table22-4:
Table22-4 Commands for Displaying DHCP Port-Based Address Allocation Information
Command Purpose
show interface interface id Display the status and configuration of a specific interface.
show ip dhcp pool Display the DHCP address pools.
show ip dhcp binding Display address bindings on the Cisco IOS DHCP server.