Operation Manual – DHCP
H3C S3100 Series Ethernet Switches
Table of Contents
i
Table of Contents
Chapter 1 DHCP Overview............................................................................................................ 1-1
1.1 Introduction to DHCP ......................................................................................................... 1-1
1.2 DHCP IP Address Assignment .......................................................................................... 1-1
1.2.1 IP Address Assignment Policy ................................................................................ 1-1
1.2.2 Obtaining IP Addresses Dynamically ...................................................................... 1-2
1.2.3 Updating IP Address Lease .................................................................................... 1-3
1.3 DHCP Packet Format ........................................................................................................ 1-3
1.4 Protocol Specification ........................................................................................................ 1-4
Chapter 2 DHCP Snooping Configuration .................................................................................. 2-1
2.1 Introduction ........................................................................................................................ 2-1
2.1.1 Introduction to DHCP Snooping .............................................................................. 2-1
2.1.2 Introduction to DHCP Snooping Trusted/Untrusted Ports ...................................... 2-2
2.1.3 Introduction to Unauthorized DHCP Server Detection............................................ 2-2
2.1.4 Overview of DHCP-Snooping Option 82................................................................. 2-3
2.1.5 Overview of IP Filtering ........................................................................................... 2-6
2.2 DHCP Snooping Configuration .......................................................................................... 2-7
2.2.1 Configuring DHCP Snooping .................................................................................. 2-7
2.2.2 Configuring DHCP Snooping Trusted/Untrusted Ports ........................................... 2-7
2.3 Configuring Unauthorized DHCP Server Detection........................................................... 2-8
2.3.1 Configuring DHCP Snooping to Support Option 82 ................................................ 2-9
2.3.2 Configuring IP Filtering.......................................................................................... 2-13
2.4 Displaying DHCP Snooping Configuration ...................................................................... 2-14
2.5 DHCP Snooping Configuration Example......................................................................... 2-15
2.5.1 DHCP-Snooping Option 82 Support Configuration Example................................ 2-15
2.5.2 Unauthorized DHCP Server Detection Configuration Example ............................ 2-17
2.5.3 IP Filtering Configuration Example........................................................................ 2-18
Chapter 3 DHCP Packet Rate Limit Configuration..................................................................... 3-1
3.1 Introduction to DHCP Packet Rate Limit ........................................................................... 3-1
3.2 Configuring DHCP Packet Rate Limit ................................................................................ 3-2
3.2.1 Configuring DHCP Packet Rate Limit ..................................................................... 3-2
3.2.2 Configuring Port State Auto Recovery .................................................................... 3-2
3.3 Rate Limit Configuration Example ..................................................................................... 3-3
Chapter 4 DHCP/BOOTP Client Configuration ........................................................................... 4-1
4.1 Introduction to DHCP Client............................................................................................... 4-1
4.2 Introduction to BOOTP Client ............................................................................................ 4-1
4.3 Configuring a DHCP/BOOTP Client .................................................................................. 4-2
4.4 DHCP Client Configuration Example ................................................................................. 4-2