Configuration Guide DHCP Snooping Configuration
00d0.f801.0101 192.168.1.1 - static 1 fastethernet 0/1
DHCP Snooping Configuration Example
Network Topology
Figure: Example of DHCP Snooping
Application Requirements
DHCP Client users obtain IP addresses dynamically through the legal DHCP Server.
Avoid other users from setting up DHCP Server without permission.
Configuration Tips
Enable DHCP Snooping on the access device (Switch B) and configure the uplink port (Gi0/1) as the trusted
port.
Configuration Steps
Configure Switch B
Step 1: Enable DHCP Snooping.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#ip dhcp snooping
Step 2: Configure the uplink port as the trusted port.
Ruijie(config)#interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#ip dhcp snooping trust