beautypg.com

Comtrol ES7506 User Manual

Page 110

background image

110 - Basic Settings (CLI)

RocketLinx ES7506 User Guide: 2000529 Rev. F

Configuration Using the Command Line Interface (CLI)

DHCP Server

DHCP Server configuration

Enable DHCP Server on ES7506 Switch
Switch#
Switch# configure terminal
Switch(config)# router dhcp
Switch(config-dhcp)# service dhcp

Configure DHCP network address pool
Switch(config-dhcp)#network 50.50.50.0/4 -(network/mask)
Switch(config-dhcp)#default-router 50.50.50.1

Lease time configure

Switch(config-dhcp)#lease 300 (300 sec)

DHCP Relay Agent

Enable DHCP Relay Agent
Switch#
Switch# configure terminal
Switch(config)# router dhcp
Switch(config-dhcp)# service dhcp

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