125# Specify the address range for dynamic allocation.[RouterB-dhcp-pool-aa] address range 10.10.1.2 10.10.1.100# Specify the address range for user class tt.[RouterB-dhcp-pool-aa] class tt range 10.10.1.2 10.10.1.10# Specify the address range for user class ss.[RouterB-dhcp-pool-aa] class ss range 10.10.1.11 10.10.1.26# Specify the gateway address and the DNS server address.[RouterB-dhcp-pool-aa] gateway-list 10.10.1.254[RouterB-dhcp-pool-aa] dns-list 10.10.1.20[RouterB-dhcp-pool-aa] quitVerifying the configuration# Verify that clients matching the DHCP user classes can obtain IP addresses in the specified rangesand all other configuration parameters from the DHCP server. (Details not shown.)# On the DHCP server, display the IP addresses assigned to the clients.[RouterB] display dhcp server ip-in-useIP address Client identifier/ Lease expiration TypeHardware address10.10.1.2 0031-3865-392e-6262- Jan 14 22:25:03 2015 Auto(C)3363-2e30-3230-352d-4745-302f-3010.10.1.11 aabb-aabb-aab1 Jan 14 22:25:03 2015 Auto(C)Example: Configuring DHCP user class whitelistNetwork configurationAs shown in Figure 35, configure the DHCP user class whitelist to allow the DHCP server to assignIP addresses to clients whose hardware addresses are six bytes long and begin with aabb-aabb.Figure 35 Network diagramProcedure1. Specify IP addresses for the interfaces on the DHCP server. (Details not shown.)2. Configure DHCP:# Enable DHCP. system-view[RouterB] dhcp enable# Enable the DHCP server on GigabitEthernet 1/0/1.[RouterB] interface gigabitethernet 1/0/1[RouterB-GigabitEthernet1/0/1] dhcp select server[RouterB-GigabitEthernet1/0/1] quit# Create DHCP user class ss and configure a match rule to match DHCP requests in which thehardware address is six bytes long and begins with aabb-aabb.[RouterB] dhcp class ss