
30-37
30.1.28 service dhcp
Command:
service dhcp
no service dhcp
Function:
Enables DHCP server; the “
no service dhcp
” command disables the DHCP service.
Parameters:
None
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
30.1.29 show ip dhcp binding
Command:
show ip dhcp binding [[
<ip-addr>
] [type {all | manual | dynamic}] [count] ]
Function:
Displays IP-MAC binding information.