
286
C
HAPTER
25: DHCP S
NOOPING
C
ONFIGURATION
DHCP Snooping
Configuration
n
After DHCP snooping is enabled on an Ethernet switch, clients connected with this
switch cannot obtain IP addresses dynamically through BOOTP.
DHCP Snooping
Configuration
Example
Network requirements
As shown in Figure 88, Ethernet1/0/5 of the switch is connected to the DHCP
server, and Ethernet1/0/1, Ethernet1/0/2, and Ethernet1/0/3 are respectively
connected to Client A, Client B, and Client C. Enable DHCP snooping on the
switch.
Network diagram
Figure 88
Network diagram for DHCP snooping configuration
Configuration procedure
# Enable DHCP snooping on the switch.
<4210> system-view
[4210] dhcp-snooping
Table 214
Configure DHCP snooping
Operation
Command
Description
Enter system view
system-view
-
Enable DHCP snooping
dhcp-snooping
Required
By default, the DHCP snooping
function is disabled.
Display the user IP-MAC address
mapping entries recorded by the
DHCP snooping function
display
dhcp-snooping
[
unit
unit-id
]
You can execute the display
command in any view
Eth
1
/
0
/
2
Client B
Switch
DHCP Snooping
Client A
Eth
1
/
0
/
1
Client C
Eth
1
/
0
/
3
Eth
1
/
0
/
5
DHCP Server
Summary of Contents for 4210 PWR
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Page 340: ...338 CHAPTER 30 CLUSTER...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...