User's Manual Part 2

32JadeOSUserManual
6.6.1ConfiguringDHCPServer
ToconfigureDHCPserver,usefollowingcommand:
Step1CreateoneormoreDHCPaddresspool
ip dhcp pool <pool-name>
Step2SpecifythegatewayofDHCPclient
default-router A.B.C.D
Step3SpecifytheDNSserverofDHCPclient
dns-server A.B.C.D
Step4Specifytheleasetime
Lease <days> <hours> <minites> <seconds>
Step5Specifytherangeofaddresspool
network <subnet> <mask>
Step 6 (optional) DHCP issueARP table that combined with IP and MAC address of
clienttothesystem.
update arp
Step7(optional)SpecifythereservedIPaddressorIPrange,whichistheIPaddress
notassignedtotheclient.
ip dhcp excluded-address <start-address> [<end-address>]
Step8EnableDHCPservice
service dhcp
6.6.2InquiringDHCPServerStatus
1InquireDHCPConfiguration
(JadeOS) #show ip dhcp database
DHCP enabled
ping-check false;
broadcast;
# vlan409
subnet 172.40.9.0 netmask 255.255.255.0 {
lease-time 1 days,0 hours, 0 minutes, 0 seconds;
option routers 172.40.9.1;
range 172.40.9.2 172.40.9.254;
}
2InquireDHCPleasestatistics
(JadeOS) #show ip dhcp statistics
Network Name 13.0.0.0/16
Total leases 65533