DES-7200 Configuration Guide Chapter 4 DHCP Configuration
4-19
Command Function
DES-7200# show dhcp lease
Show the information about DHCP
lease.
Note
For some product in v10.1, DHCP client supports obtaining the IP
address assigned by the DHCP server in the point-to-point link of
PPP, HDLC, FR encapsulation.
4.7 Example of Configuring
Address Pool to Support
Option82
In the following example, an address pool of "net82" is defined; the address
pool is in the network segment of 172.16.1.0/24, and the associated classes
include class1, class2, class3 and class4. Class1 will allocate addresses from
the range of 172.16.1.1-172.16.1.8; class2 will allocate addresses from the
range of 172.16.1.9-172.16.1.18; class3 will allocate addresses from the range
of 172.16.1.19-172.16.1.28; class4 has no defined address range, and will
allocate addresses from the range of entire network segment. Configure class1
to match Option 82 information of 0100002120, class2 to match 0106020145,
class3 to match 06020506*, and class4 to match any information.
!
ip dhcp class class1
relay agent information
relay-information hex 0100002120
!
ip dhcp class class2
relay agent information
relay-information hex 0106020145
!
ip dhcp class class3
relay agent information
relay-information hex 06020506*
!
ip dhcp class class4
!
ip dhcp pool net82
network 172.16.1.0 255.255.255.0
class class1