< Home

dhcp broadcast suppress enable

Function

The dhcp broadcast suppress enable command enables the DHCP broadcast suppression function.

The undo dhcp broadcast suppress enable command disables the DHCP broadcast suppression function.

By default, the DHCP broadcast suppression function is disabled.

Format

dhcp broadcast suppress enable

undo dhcp broadcast suppress enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the DHCP relay or DHCP server function is enabled on a VLANIF interface of a device, the DHCP broadcast messages (DHCP Discover and DHCP Request messages) received on the VLANIF interface are broadcast among all the physical interfaces in the corresponding VLAN. If a large number of DHCP clients go online, each physical interface receives a large number of DHCP broadcast messages, affecting the device performance. In this case, you can run the dhcp broadcast suppress enable command to enable the DHCP broadcast suppression function, so that the DHCP broadcast messages are not broadcast among the interfaces that do not receive these messages.

Prerequisites

DHCP has been enabled globally using the dhcp enable command.

Example

# Enable the DHCP broadcast suppression function.

<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] dhcp broadcast suppress enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >