
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
92
ip dhcp snooping trust
Description
The
ip dhcp snooping trust
command is used to configure a port to be a
Trusted Port. Only the Trusted Port can receive the DHCP packets from DHCP
servers. To turn the port back to a distrusted port, please use
no ip dhcp
snooping trust
command.
Syntax
ip dhcp snooping trust
no ip dhcp snooping trust
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure the Gigabit Ethernet port 1/0/2 to be a Trusted Port:
T2700G-28TQ(config)#interface gigabitEthernet
1/0/2
T2700G-28TQ(config-if)#ip dhcp snooping trust
ip dhcp snooping mac-verify
Description
The
ip dhcp snooping mac-verify
command is used to enable the MAC Verify
feature. To disable the MAC Verify feature, please use
no ip dhcp snooping
mac-verify
command. There are two fields of the DHCP packet containing the
MAC address of the Host. The MAC Verify feature is to compare the two fields
and discard the packet if the two fields are different.
Syntax
ip dhcp snooping mac-verify
no ip dhcp snooping mac-verify