For DHCPv4 servers
To configure a port or range of ports as trusted, enter this command:
switch(config)# dhcp-snooping trust <port-list>You can also use this command in the interface context, in which case you are not able to enter a list of ports.
Setting trusted ports
switch(config)# dhcp-snooping trust 5-6 switch(config)# show dhcp-snooping DHCP Snooping Information DHCP Snooping : Yes Enabled Vlans : 4 Verify MAC : Yes Option 82 untrusted policy : drop Option 82 Insertion : Yes Option 82 remote-id : mac Store lease database : Not configured Port Trust ----- ----- 5 Yes 6 Yes 7 No
Use the
no
form of the command to remove the trusted configuration from a port.