H3C S6812 Series Command Reference Manual page 686

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Default
DHCP server logging is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command enables the DHCP server to generate DHCP logs and send them to the information
center. For information about the log destination and output rule configuration in the information
center, see Network Management and Monitoring Configuration Guide.
As a best practice, disable this feature if the log generation affects the device performance or
reduces the address allocation efficiency. For example, this situation might occur when a large
number of clients frequently come online or go offline.
Examples
# Enable DHCP server logging.
<Sysname> system-view
[Sysname] dhcp log enable
dhcp select
Use dhcp select to enable the DHCP server or DHCP relay agent on an interface.
Use undo dhcp select to disable the DHCP server or DHCP relay agent on an interface. The
interface will discard incoming DHCP packets.
Syntax
dhcp select { relay [ proxy ] | server }
undo dhcp select { relay | server }
Default
The interface operates in the DHCP server mode and responds to DHCP requests with configuration
parameters.
Views
Interface view
Predefined user roles
network-admin
Parameters
relay: Enables the DHCP relay agent on the interface.
proxy: Enables the DHCP server proxy on the relay agent.
server: Enables the DHCP server on the interface.
Usage guidelines
Before enabling a DHCP server to operate as a DHCP relay agent, use the reset dhcp server
ip-in-use command to clear address bindings and authorized ARP entries. These authorized ARP
entries might conflict with ARP entries that are created after the DHCP relay agent is enabled.
When DHCP server proxy is enabled on the DHCP relay agent, the proxy forwards packets between
the DHCP clients and DHCP server.
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents