DHCP服务器配置
service dhcp
ip dhcp pool pool1
network-address 1.1.1.1 24
default-router
dns-server 8.8.8.8
domain-name dcn.com
netbios-name-server 2.2.2.2
lease 5
ip dhcp excluded-address 2.2.2.2
service dhcp
ip forward-protocol udp bootps
ip helper-address 1.1.1.1
ip dhcp snooping enable
ip dhcp snooping binding enable
ip dhcp snooping information enable
ip user private packet version two
ip dhcp snooping binding arp
ip dhcp snooping limit-rate <pps>
int eth0/1
ip dhcp snooping trust
ip dhcp snooping binding user-control
ip dhcp snooping binding dot1x
ip dhcp snooping binding user +mac address +ip vlan +vid interface +出接口
ip dhcp snooping action shutdown | blackhole