The dhcpv6 relay option-insert command enables a DHCPv6 relay agent to add the Option to a Relay-Forward message sent to a DHCPv6 server in BAS relay scenarios.
The undo dhcpv6 relay option-insert command disables a DHCPv6 relay agent from adding the Option to a Relay-Forward message sent to a DHCPv6 server in BAS relay scenarios.
By default, a DHCPv6 relay agent is disabled from adding the Option.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
option-code1 |
DHCPv6 Option Code. |
The type is integer, The value is 79. |
option-code2 |
DHCPv6 Option Code. |
The type is integer, The value is 18. |
mode |
Specifies the encapsulation mode. |
- |
cn-telecom |
Indicates that data is encapsulated in the format defined by cn-telecom. |
- |
version2 |
Indicates that data is encapsulated in the Version2 format. |
- |
<HUAWEI> system-view [~HUAWEI] interface Eth-Trunk 100.21 [~HUAWEI-ETH-Trunk 100.21] dhcpv6 relay option-insert 79
<HUAWEI> system-view [~HUAWEI] interface Eth-Trunk 100.21 [~HUAWEI-ETH-Trunk 100.21] dhcpv6 relay option-insert 18 mode cn-telecom version2