26 service dhcp, 27 show ip dhcp binding, 26 service dhcp -35 – PLANET XGS3-24042 User Manual
Page 396: 27 show ip dhcp binding -35
26-35
Switch(dhcp-1-config)#option 72 ip 10.1.128.240
26.1.26 service dhcp
Command:
service dhcp
no service dhcp
Function:
Enables DHCP server; the “no service dhcp” command disables the DHCP service.
Default:
DHCP service is disabled by default.
Command mode:
Global Mode
Usage Guide:
Both DHCP server and DHCP relay are included in the DHCP service. When DHCP services are
enabled, both DHCP server and DHCP relay are enabled. Switch can only assign IP address for the
DHCP clients and enable DHCP relay when DHCP server function is enabled.
Example:
Enabling DHCP server.
Switch(config)#service dhcp
26.1.27 show ip dhcp binding
Command:
show ip dhcp binding [ [
Function:
Displays IP-MAC binding information.
Parameters:
all stands for all binding types (manual binding and dynamic assignment);
manual for manual binding;
dynamic for dynamic assignment;
count displays statistics for DHCP address binding entries.
Command mode:
Admin and Configuration Mode.
Example: