dhcpc option60 redefined (interface view)

Function

The dhcpc option60 redefined command configures the Option 60 information for DHCP messages 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

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, VE sub-interface view, VLANIF interface view, Sub-interface view, Management interface 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 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

# On GE 0/1/0, configure the Option 60 information for DHCP messages to be sent by a DHCP client as huawei.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] dhcpc option60 redefined huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >