option37-relay-mode include remote-id

Function

The option37-relay-mode include remote-id command enables a device to delete enterprise number carried in the Option 37 field from a DHCPv6 Solicit or Request message to be sent to the UM component.

The undo dhcpv6 option-37 rebuild self-define send-to-server command restores the default configuration.

By default, the device does not remove any information from Option 37 in a DHCPv6 Solicit or Request message to be sent to the UM component.

This command is supported only on the NetEngine 8000 F1A.

Format

option37-relay-mode include remote-id

undo option37-relay-mode include remote-id

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

A 4-byte enterprise number is carried in DHCPv6 Option 37. The current implementation allows the device to carry both enterprise number and remote ID in a Solicit or Request message to be sent to the UM component but only remote ID in a Discover or Request message to be sent to the UM component. If the RADIUS attribute Agent-Remote-Id is used for authentication for IPv4 and IPv6 dual-stack users, the information carried in the Agent-Remote-Id attribute of a DHCPv4 message and a DHCPv6 message is different. To resolve this problem, run the option37-relay-mode include remote-id command in the BAS interface view to enable the device to save all the information of Option 37 but carry only remote ID in a DHCPv6 Solicit or Request message to be sent to the UM component. This ensures that only remote ID information is encapsulated into the Agent-Remote-Id attribute of both DHCPv4 and DHCPv6 login requests.

Prerequisites

  • The NetEngine 8000 F has been enabled to trust the information in the Option 37 field of DHCPv6 messages sent by clients using the client-option37 command.
  • The NetEngine 8000 F has been enabled to trust the information in the Option 18 field of DHCPv6 messages sent by clients using the client-option18 command.

Precautions

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

Example

# Enable the device to remove enterprise number information from Option 37 in a Solicit or Request message to be sent to the UM component.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] option37-relay-mode include remote-id
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >