client-option18

Function

The client-option18 command enables the server to trust the information in the Option 18 field of DHCPv6 messages sent by the client.

The undo client-option18 command restores the default configuration.

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

This command is supported only on the NetEngine 8000 F1A.

Format

client-option18

undo client-option18

Parameters

None

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-option18 command is run, the server trusts the information in the Option 18 field of DHCPv6 messages sent by the client and sends the information in the Option 18 field to the RADIUS server. The function of Option18 is similar to that of the Circuit ID in Option82 of DHCPv4, that is, the ID of the access line for broadband users. The carrier defines how to fill in the Option 18 field.

Precautions

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

After the BRAS device is configured with the client-option18 command, if the packets sent by the client do not carry the Option 18 information, the packets sent by the BRAS device to the remote server do not carry the Option 18 information that is generated by default.

Example

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