client-option38

Function

The client-option38 command enables the device to trust the information in the Option 38 field of DHCPv6 messages sent by the client.

The undo client-option38 command restores the default configuration.

By default, the device does not trust the information in the Option 38 field of DHCPv6 messages sent by the client.

This command is supported only on the NetEngine 8000 F1A.

Format

client-option38 [ basinfo-insert mac ]

undo client-option38 [ basinfo-insert mac ]

Parameters

Parameter Description Value
basinfo-insert mac

encapsulates Option 38 information into a DHCP packet with user mac information.

-

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

After the client-option38 command is run, the server trusts the information in the Option 38 field of DHCPv6 messages sent by the client and sends the information in the Option 38 field to the RADIUS server. Option38 functions the same as the subscriber-id of Option 82 in DHCPv4.

Precautions

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

Example

# On GE 0/1/9, configure the server to trust the information in the Option 38 field of the DHCPv6 messages sent by the client.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/9
[~HUAWEI-GigabitEthernet0/1/9] bas
[~HUAWEI-GigabitEthernet0/1/9-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/9-bas] commit
[~HUAWEI-GigabitEthernet0/1/9-bas] client-option38
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >