Command Reference DHCP Commands
The following example configures the identification information for a global CLASS.
Ruijie(config)# ip dhcp class myclass
Ruijie(config-dhcp-class)# remark used in #1 build
Defines a CLASS and enter the global CLASS configuration mode.
Use this command to enable the DHCP server and the DHCP relay on the device in global
configuration mode. Use the no form of this command to restore the default setting.
The service dhcp command is disabled.
Global configuration mode
The DHCP server can assign the IP addresses to the clients automatically, and provide them with the
network configuration information such as DNS server and default gateway. The DHCP relay can
forward the DHCP requests to other servers, and the returned DHCP responses to the DHCP client,
serving as the relay for DHCP packets.
The following example enables the DHCP server and the DHCP relay feature.
service dhcp
show ip dhcp server statistics
Displays various statistics information of the DHCP server.
ip helper-address [ vrf ] A.B.C.D
Adds an IP address of the DHCP server.