4-7Displaying and Maintaining DHCP SnoopingTo do… Use the command… RemarksDisplay DHCP snooping entries display dhcp-snooping [ ipip-address ]Display Option 82 configuration informationon the DHCP snooping devicedisplay dhcp-snoopinginformation { all | interfaceinterface-type interface-number }Display DHCP packet statistics on theDHCP snooping devicedisplay dhcp-snooping packetstatistics [ slot slot-number ]Display information about trusted ports display dhcp-snooping trustAvailable in anyviewClear DHCP snooping entries reset dhcp-snooping { all | ipip-address }Clear DHCP packet statistics on the DHCPsnooping devicereset dhcp-snooping packetstatistics [ slot slot-number ]Available inuser viewDHCP Snooping Configuration ExamplesDHCP Snooping Configuration ExampleNetwork requirementsz As shown in Figure 4-3, Switch B is connected to a DHCP server through GigabitEthernet 1/0/1,and to two DHCP clients through GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3.z GigabitEthernet 1/0/1 forwards DHCP server responses while the other two do not.z Switch B records clients’ IP-to-MAC address bindings in DHCP-REQUEST messages andDHCP-ACK messages received from trusted ports.Figure 4-3 Network diagram for DHCP snooping configurationConfiguration procedure# Enable DHCP snooping. system-view[SwitchB] dhcp-snooping# Specify GigabitEthernet 1/0/1 as trusted.[SwitchB] interface gigabitethernet 1/0/1