client-option37

Function

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

The undo client-option37 command restores the default configuration.

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

This command is supported only on the NetEngine 8000 F1A.

Format

client-option37 [ basinfo-insert ft-telecom ]

undo client-option37 [ basinfo-insert ft-telecom ]

Parameters

Parameter Description Value
basinfo-insert ft-telecom

encapsulates Option 37 information into a DHCP packet in ft telecom format.

-

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-option37 command is run, the server trusts the information in the Option 37 field of DHCPv6 messages sent by the client and sends the information in the Option 37 field to the RADIUS server. Option37 functions the same as the remote ID of Option 82 in DHCPv4. Option 37 indicates the ID of the broadband user access line, including the system DUID, interface, and VLAN information. Carriers determine how the Option 37 is filled.

Precautions

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

After the client-option37 command is run, if the request packet sent by a client does not carry Option 37, the dhcpv6 option-37 any-format decode enable command can be run so that the packets sent by the BAS to the server carry the default Option 37 (in the format of enterprise code + DUID). If the dhcpv6 option-37 any-format decode enable command is not run, such packets will not carry the default Option 37.

Example

# On GE 0/1/9, configure the server to trust the information in the Option 37 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-option37
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >