dhcp check-client-packet

Function

The dhcp check-client-packet strict command configures the device to strictly check packets from a DHCP client.

The undo dhcp check-client-packet strict command restores the default configuration.

By default, the device does not strictly check packets from a DHCP client.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcp check-client-packet strict

undo dhcp check-client-packet strict

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

By default, when the device receives a Release packet from a DHCP client, the device only checks the MAC address and the status of the client carried in the packet but does not check information such as VLANs and interfaces. The client whose MAC address is the same as that in the Release packet goes offline. However, if multiple users have the same MAC address but belong to different VLANs or interfaces, this may cause these users to simultaneously go offline. To prevent this from happening, run the dhcp check-client-packet strict command to strictly check packets from a DHCP client.

Configuration Impact

After the dhcp check-client-packet strict command is run, the device strictly checks information such as the MAC address, VLAN IDs, interface information carried in the Release packet from a DHCP client. The online user whose information strictly matches that in the packet goes offline.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure the NetEngine 8000 F to strictly check DHCP packets.
<HUAWEI> system-view
[~HUAWEI] dhcp check-client-packet strict
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >