DHCP Snooping
GigabitEthernet 0/0/2 port of Switch.
The DHCP snooping function is enabled on Switch.
The GigabitEthernet1/0/1 port of Switch is a trusted port.
2. Network diagram
Figure 16.1 DHCP-Snooping Configuration Example
3. Configuration procedure
All following commands are performed in Switch acting as a DHCP-Snooping device.
A) Enter global configuration mode
Switch#configure terminal
Switch(config)#
B) Enable DHCP-Snooping
Switch(config)#dhcp-snooping
Config DHCP Snooping successfully.
C) Enter interface configuration mode of Ethernet0/0/1
Switch(config)#interface ethernet 0/0/1
D) Set Ethernet0/0/1 to be Trust
Switch(config-if-ethernet-0/0/1)#dhcp-snooping trust
Config DHCP Snooping mode of port successfully.