< Home

dhcp client request option-list exclude

Function

The dhcp client request option-list exclude command configures a list of default request options that are not carried in the Option55 field of DHCP Request messages.

The undo dhcp client request option-list exclude command deletes the list of default request options that are not carried in the Option55 field of DHCP Request messages.

By default, the device does not configure the option to be excluded from the DHCP client request list.

Format

dhcp client request option-list exclude option-code &<1-8>

undo dhcp client request option-list exclude option-code &<1-8>

Parameters

Parameter

Description

Value

option-code

Specifies a list of default request options that are excluded from the Option55 field.

The value is of enumerated type and can be 3, 6, 15, 28, 33, 44, 121, and 184.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The Option55 field in DHCP Request messages is used to set the request option list. DHCP clients use this option to specify network configuration parameters that need to be obtained from the DHCP server. You can run the dhcp client request option-list exclude command to configure a list of default options that are excluded from the Option55 field based on network requirements.

For option meanings, see DHCP Options in Configuration- IP Service Configuration Guide - DHCP Configuration.

Example

# Configure the default request option 3 to be excluded from the Option55 field in DHCP Request messages on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] dhcp client request option-list exclude 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >