RA#sh run                 ----查看当前配置
Building configuration...
Current configuration : 1253 bytes
!
version 12.1
……
!
hostname RA
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
ip domain-name svr80
ip host R2 10.0.0.1 1.1.1.2
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.1.1 192.168.1.5   ----全局配置模式下完成
ip dhcp excluded-address 192.168.1.80
ip dhcp pool test
 network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   domain-name sky.com
   dns-server 61.139.2.69 192.168.1.80
   lease 6
!
……
end
-----------------------------------------------------------
RA#sh ip dhcp server stat
Memory usage         13634
Address pools        1
Database agents      0
Automatic bindings   1
Manual bindings      0
Expired bindings     0
Malformed messages   0
Message              Received
BOOTREQUEST          0
DHCPDISCOVER         4
DHCPREQUEST          3
DHCPDECLINE          0
DHCPRELEASE          1
DHCPINFORM           0
Message              Sent
BOOTREPLY            0
DHCPOFFER            4
DHCPACK              3
DHCPNAK              0
-----------------------------------------
RA#sh ip dhcp binding
IP address       Hardware address        Lease expiration        Type
192.168.1.81     0100.e04c.4db4.71       Mar 07 1993 12:58 AM    Automatic