UMN:CLI
User Manual
V8102
442
9.7.3
DHCPv6 Relay Agent
9.7.3.1
DHCPv6 Relay Agent Destination
To specify a destination address to which client messages are forwarded and enable
DHCP for IPv6 relay service on the interface, use the following command.
Command
Mode
Description
ipv6 dhcp relay destination
X:X::X:X
[
INTERFACE
]
Interface
[XE/GE/br/
Lo/GPON]
Specifies relay destination address on an interface.
X:X::X:X: IPv6 destination address for DHCPv6 packet
forwarding
INTERFACE: interface name
no ipv6 dhcp relay destination
{
all
|
X:X::X:X
[
INTERFACE
] }
Deletes the specified relay destination address.
9.7.3.2
DHCP Relay Agent Option
The switch operating DHCP server can include DHCP option information in the DHCP
communication. Before using this function, a global DHCP option format should be creat-
ed. For details of setting the DHCPv6 option format, refer to the
To specify a DHCPv6 server option, use the following command.
Command
Mode
Description
ipv6 dhcp relay option
code
<1-
254>
format NAME
Interface
[XE/GE/br/
Lo/GPON]
Specifies a DHCPv6 option format for a DHCP server.
code: DHCP option code
NAME: DHCPv6 option format name
no ipv6 dhcp relay option
code
<1-254>
format
Removes a specified DHCPv6 option for a DHCP
server.
9.7.4
DHCPv6 Option
This function enables administrators to define DHCP options that are carried in the DHCP
communication between DHCP server and client or relay agent. The following indicates
the format of the DHCP options field.
Code
Length
Value
DHCP Option Format
1
byte
1
byte or variable
256
bytes