dhcpc option60 redefined (System view)

Function

The dhcpc option60 redefined command configures the Option 60 information for DHCP messages to be sent from a DHCP client.

The undo dhcpc option60 redefined command deletes the configured Option 60 information.

By default, if the Option 60 information is not configured in either the interface view or system view, the Option 60 information carried in the DHCP messages sent by a DHCP client is HUAWEI device model information.

Format

dhcpc option60 redefined option60Value

undo dhcpc option60 redefined [ option60Value ]

Parameters

Parameter Description Value
option60Value

Specifies the Option 60 information.

The value is a string of 1 to 128 case-sensitive characters and supports spaces.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

When a DHCP client applies to a DHCP server for an IP address, the DHCP client sends DHCP messages carrying Option 60. To configure the Option 60 information carried in the DHCP messages, run the dhcpc option60 redefined command. The DHCP server identifies different DHCP clients for differentiated processing based on the Option 60 information in received DHCP messages.

Precautions

If the Option 60 information is configured in both the system view and interface view, the configuration in the interface view takes effect.

If the Option 60 information is configured in the system view, it takes effect for all the interfaces enabled with the DHCP client function.

If the Option 60 information is not configured in either the interface view or system view, the Option 60 information carried in the DHCP messages sent by a DHCP client is HUAWEI device model information.

Example

# Configure the Option 60 information for DHCP messages to be sent by a DHCP client as huawei.
<HUAWEI> system-view
[~HUAWEI] dhcpc option60 redefined huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >