3 dhcp snooping option 82 application examples, Dhcp, Nooping – PLANET WGSW-52040 User Manual
Page 307: Ption, Pplication, Xamples
![background image](https://www.manualsdir.com/files/865181/content/doc307.png)
Command Explanation
Port mode
ip dhcp snooping trust
no ip dhcp snooping trust
Set or delete DHCP SNOOPING trust
attribute of ports.
37.3 DHCP Snooping Option 82 Application Examples
DHCP Client PC1
Vlan1:eth1/3
Switch1
DHCP Server
Figure 37-1: DHCP option 82 typical application example
In the above example, layer 2 Switch1 will transmit the request message from DHCP client to
DHCP serer through enable DHCP Snooping. It will also transmit the reply message from the
server to DHCP client to finish the DHCP protocol procedure. After the DHCP SNOOPING
option 82 function is enabled, the Switch1 appends the port information of accessing Switch1
to the request message from the client by option 82.
The following is the configuration of Switch1(MAC address is 00-30-4f-02-33-01):
Switch1(config)#ip dhcp snooping enable
Switch1(config)#ip dhcp snooping binding enable
Switch1(config)# ip dhcp snooping information enable
Switch1(Config-If-Ethernet1/12)#ip dhcp snooping trust
Linux ISC DHCP Server supports option 82, its configuration file /etc/dhcpd.conf is
ddns-update-style interim;
ignore client-updates;
class "Switch1Vlan1Class1" {
match if option agent.circuit-id = "Vlan1+Ethernet1/3" and option
37-86