Comtrol ES7510-XT User Manual
Page 148
148 - Basic Settings (CLI)
RocketLinx ES7510-XT User Guide: 2000571
Rev. D
Configuration Using the Command Line Interface (CLI)
DHCP Server (cont.)
DHCP Server Enable
Switch(config-dhcp)# service dhcp
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
DHCP Server – Static IP
and MAC binding
Switch(config-dhcp)# ip dhcp static
MACADDR MAC address
Switch(config-dhcp)# ip dhcp static 00C0.4E38.0001
A.B.C.D leased IP address
Switch(config-dhcp)# ip dhcp static 00C0.4E38.0001
192.168.10.99
DHCP Relay – Enable
DHCP Relay
Switch(config-dhcp)# ip dhcp relay information
option Option82
policy Option82
Switch(config-dhcp)# ip dhcp relay information option
DHCP Relay – DHCP policy
Switch(config-dhcp)# ip dhcp relay information policy
drop Relay Policy
keep Drop/Keep/Replace option82 field
replace
Switch(config-dhcp)# ip dhcp relay information policy drop
Switch(config-dhcp)# ip dhcp relay information policy keep
Switch(config-dhcp)# ip dhcp relay information policy replace
DHCP Relay – IP Helper
Address
Switch(config-dhcp)# ip dhcp helper-address
A.B.C.D
Switch(config-dhcp)# ip dhcp helper-address 192.168.10.200
Reset DHCP Settings
Switch(config-dhcp)# ip dhcp reset