User Guide Owner manual

142 - Basic Settings (CLI) RocketLinx ES9528 and ES9528-XT User Guide: 2000508 Rev. G
Configuration Using the Command Line Interface (CLI)
DHCP Server (Continued)
Show DHCP server
information
Switch# show ip dhcp server statistics
DHCP Server ON
Address Pool 1
network:192.168.17.0/24
default-router:192.168.17.254
lease time:300
Excluded Address List
IP Address
---------------
(list excluded address)
Manual Binding List
IP Address MAC Address
--------------- --------------
(list IP & MAC binding entry)
Leased Address List
IP Address MAC Address Leased Time Remains
--------------- -------------- --------------------
(list leased Time remain information for each entry)
DHCP Commands
Switch(config)# router dhcp
Switch(config-dhcp)#
default-router DHCP Default Router
end
Exit current mode and down to previous enable mode
exit Exit current mode and down to previous mode
ip IP protocol
lease DHCP Lease Time
list Print command list
network dhcp network
no Remove
quit Exit current mode and down to previous mode
service Enable service
DHCP Server Enable
Switch(config-dhcp)# service dhcp
<cr>
DHCP Server IP Pool
(Network/Mask)
Switch(config-dhcp)# network
A.B.C.D/M network/mask ex. 10.10.1.0/24
Switch(config-dhcp)# network 192.168.10.0/24
DHCP Server – Default
Gateway
Switch(config-dhcp)# default-router
A.B.C.D address
Switch(config-dhcp)# default-router 192.168.10.254
DHCP Server – lease time
Switch(config-dhcp)# lease
TIME second
Switch(config-dhcp)# lease 1000 (1000 second)
DHCP Server – Excluded
Address
Switch(config-dhcp)# ip dhcp excluded-address
A.B.C.D IP address
Switch(config-dhcp)# ip dhcp excluded-address 192.168.10.123
<cr>