Analysis of DHCP port setting commands (1)

Source: Internet
Author: User

In some DHCP server configurations, port settings are indispensable. This is also a core issue for vrouters and vswitches. When using a cisco 3560 instance as a DHCP server, you sometimes need to enable Multiple DHCP servers. So what should we do.

First, we need to disable the switch port and change it to the L3 interface. Configure the IP address. Set the DHCP address pool. After configuring the address pool, ip help-address is used in the interface to specify a service address for client queries. For details, see configuration. The following configuration is successful on the actual 3560 page.

 
 
  1. Switch # sh run first, let's take a look at the configuration list in the running state.
  2. Switch # sh running-config
  3. Building configuration...
  4.  
  5. Current configuration: 1326 bytes
  6. !
  7. Version 12.2:
  8. No service pad
  9. Service timestamps debug uptime
  10. Service timestamps log uptime
  11. No service password-encryption
  12. !
  13. Hostname Switch
  14. !
  15. !
  16. No aaa new-model
  17. System mtu routing 1500
  18. Ip subnet-zero
  19. No ip domain-lookup
  20. !
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. !
  28. !
  29. Spanning-tree mode pvst
  30. Spanning-tree extend system-id
  31. !
  32. Vlan internal allocation policy ascending
  33. !
  34. !
  35. !
  36. !
  37. Interface FastEthernet0/1
  38. Shutdown
  39. !
  40. Interface FastEthernet0/2
  41. !
  42. Interface FastEthernet0/3
  43. !
  44. Interface FastEthernet0/4
  45. !
  46. Interface FastEthernet0/5
  47. !
  48. Interface FastEthernet0/6
  49. !
  50. Interface FastEthernet0/7
  51. !
  52. Interface FastEthernet0/8
  53. !
  54. Interface FastEthernet0/9
  55. !
  56. Interface FastEthernet0/10
  57. !
  58. Interface FastEthernet0/11
  59. !
  60. Interface FastEthernet0/12
  61. !
  62. Interface FastEthernet0/13
  63. !
  64. Interface FastEthernet0/14
  65. !
  66. Interface FastEthernet0/15
  67. !
  68. Interface FastEthernet0/16
  69. !
  70. Interface FastEthernet0/17
  71. !
  72. Interface FastEthernet0/18
  73. !
  74. Interface FastEthernet0/19
  75. !
  76. Interface FastEthernet0/20
  77. !
  78. Interface FastEthernet0/21
  79. !
  80. Interface FastEthernet0/22
  81. !
  82. Interface FastEthernet0/23
  83. No switchport
  84. Ip address 192.168.100.1 255.255.255.0
  85. !
  86. Interface FastEthernet0/24
  87. !
  88. Interface GigabitEthernet0/1
  89. !
  90. Interface GigabitEthernet0/2
  91. !
  92. Interface Vlan1
  93. No ip address
  94. !
  95. Ip classless
  96. Ip http server
  97. Ip http secure-server
  98. !
  99. !
  100. !
  101. Control-plane
  102. !
  103. !
  104. Line con 0
  105. Line vty 0 4
  106. Login
  107. Line vty 5 15
  108. Login
  109. !
  110. End



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.