67Configuration procedure1. Configure Router A:# Specify the IP address of Ethernet 1/1. system-view[RouterA] interface ethernet 1/1[RouterA-Ethernet1/1] ip address 10.1.1.1 24[RouterA-Ethernet1/1] quit# Enable DHCP.[RouterA] dhcp enable# Exclude an IP address from dynamic allocation.[RouterA] dhcp server forbidden-ip 10.1.1.2# Configure DHCP address pool 0 and specify the subnet, lease duration, DNS server address,and a static route to subnet 20.1.1.0/24.[RouterA] dhcp server ip-pool 0[RouterA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0[RouterA-dhcp-pool-0] expired day 10[RouterA-dhcp-pool-0] dns-list 20.1.1.1[RouterA-dhcp-pool-0] option 121 hex 181401010A0101022. Configure Router B:# Configure Ethernet 1/1 to use DHCP for IP address acquisition. system-view[RouterB] interface ethernet 1/1[RouterB-Ethernet1/1] ip address dhcp-alloc[RouterB-Ethernet1/1] quitVerifying the configuration# Use the display dhcp client command to display the IP address and other network parameters assignedto Router B.[RouterB] display dhcp client verboseEthernet1/1 DHCP client information:Current machine state: BOUNDAllocated IP: 10.1.1.3 255.255.255.0Allocated lease: 864000 seconds, T1: 331858 seconds, T2: 756000 secondsLease from May 21 19:00:29 2012 to May 31 19:00:29 2012DHCP server: 10.1.1.1Transaction ID: 0xcde72232Classless static route:Destination: 20.1.1.0, Mask: 255.255.255.0, NextHop: 10.1.1.2DNS server: 20.1.1.1Client ID type: acsii(type value=00)Client ID value: 000c.29d3.8659-Eth1/1Client ID (with type) hex: 0030-3030-632e-3239-6433-2e38-3635-392d-4574-6830-2f30-2f32