Static IP dhcp snooping settings

Source: Internet
Author: User

In the process of setting DHCP, we should pay attention to some special points. Just like the static IP dhcp snooping and IP Source Guard we will explain below. Because IP Source Guard cannot be used together with dynamic DHCP, you need to set static effects.

 
 
  1. Clock timezone WST 8
  2. Switch 1 provision ws-c3750g-48ts
  3. System mtu routing 1500
  4. Ip subnet-zero
  5. !
  6. Ip dhcp snooping vlan 1 (specify the vlan protected by DHCP snooping)
  7. Ip dhcp snooping information option allow-untrusted
  8. Ip dhcp snooping database flash: snooping specifies the database path)
  9. Ip dhcp snooping database write-delay 15
  10. Ip dhcp snooping (start DHCP snooping)
  11. !
  12. !
  13. !
  14. Interface GigabitEthernet1/0/45 enable the port of IP Source Guard)
  15. Switchport mode access
  16. Switchport port-security
  17. Switchport port-security violation restrict
  18. Spanning-tree portfast
  19. Ip verify source port-security
  20. (Ip verify source port-security is used together with the startup IP soure binding
  21. Ip source binding 000A. E439.5F55 vlan 1 192.168.1.200 interface Gi1/0/45,
  22. It indicates that ip source binding and dynamic DHCP cannot be used at the same time, so we need to set static ip dhcp snooping ))
  23. !
  24. !
  25. Interface Vlan1
  26. Ip address 192.168.1.1 255.255.255.0
  27. !
  28. Ip classless
  29. Ip http server
  30. Ip http secure-server
  31. !
  32. !
  33. Ip source binding 000A. E439.5F55 vlan 1 192.168.1.200 interface Gi1/0/45
  34. !
  35. Control-plane
  36. !
  37. !

Note: Use the following command to view the working status:

 
 
  1. Switch#sh ip ver source               
  2. Switch#sh ip dhcp binding   
  3. Switch#sh ip dhcp snooping binding 

The above are the specific settings of static IP dhcp snooping and IP Source Guard.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.