C H A P T E R
19-1
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
19
Configuring DHCP Features and IP Source Guard
Features
This chapter describes how to configure DHCP snooping and option-82 data insertion, and the DHCP
server port-based address allocation features on the Catalyst 2928 switch. It also describes how to
configure the IP source guard feature.
Note
To use the IP source guard feature, the switch must be running the LAN Base image.
For complete syntax and usage information for the commands used in this chapter, see the command
reference for this release, and see the “DHCP Commands” section in the
Cisco IOS IP Command
Reference, Volume 1 of 3: Addressing and Services, Release 12.2
from the Cisco.com page under
Documentation
>
Cisco IOS Software
>
12.2 Mainline
>
Command References
.
This chapter consists of these sections:
•
Understanding DHCP Snooping, page 19-1
•
Configuring DHCP Snooping, page 19-8
•
Displaying DHCP Snooping Information, page 19-13
•
Understanding IP Source Guard, page 19-13
•
Configuring IP Source Guard, page 19-15
•
Displaying IP Source Guard Information, page 19-21
•
Understanding DHCP Server Port-Based Address Allocation, page 19-21
•
Configuring DHCP Server Port-Based Address Allocation, page 19-22
•
Displaying DHCP Server Port-Based Address Allocation, page 19-25
Understanding DHCP Snooping
DHCP is widely used in LAN environments to dynamically assign host IP addresses from a centralized
server, which significantly reduces the overhead of administration of IP addresses. DHCP also helps
conserve the limited IP address space because IP addresses no longer need to be permanently assigned
to hosts; only those hosts that are connected to the network consume IP addresses.