###---华为接入配置,仅配置需要的业务VLAN-###
dhcp snooping enable
#
vlan 10
 dhcp snooping enable 
 dhcp snooping trusted interface GigabitEthernet1/0/1
 ip source check user-bind enable
vlan 20
 dhcp snooping enable 
 dhcp snooping trusted interface GigabitEthernet1/0/1
 ip source check user-bind enable
#
###---华三接入配置###

 dhcp snooping enable

//上联口配置
interface GigabitEthernet1/0/1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 2 to 4094
 dhcp snooping trust

//接入口配置
interface GigabitEthernet1/0/2
 ip verify source ip-address mac-address
 dhcp snooping binding record