C613-50102-01 REV C
Command Reference for x510 Series
2288
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DHCP
FOR
IP
V
6 (DHCP
V
6) C
OMMANDS
IP
DHCP
-
RELAY
AGENT
-
OPTION
SUBSCRIBER
-
ID
-
AUTO
-
MAC
ip dhcp-relay agent-option
subscriber-id-auto-mac
Overview
This command causes the relay agent to insert the requesting clients’ MAC address
into a subscriber ID field in the relay header. A suitably-configured server can then
use this subscriber ID option to assign the same IPv6 address to that requesting
client every time it requires an address.
Use the no form of this command to disable this feature.
Syntax
ip dhcp-relay agent-option subscriber-id-auto-mac
no ip dhcp-relay agent-option subscriber-id-auto-mac
Default
Disabled
Usage
By default, DHCPv6 uses a DUID-LLT client identifier instead of a MAC address. This
is generated by the operating system when DHCP first starts. If the OS is reinstalled
the DUID-LLT can change, and any multiple operating systems on the machine will
all have different DUIDs.
Configuring the subscriber-id-auto-mac option causes the relay agent to insert the
requesting client’s MAC address into a subscriber ID field in the relay header. A
suitably-configured server can then use this subscriber ID to assign the same IPv6
address to that requesting client every time it connects.
The client must be in the same L2 network as the relay. If there are multiple relays
between the client and the server, only the first relay will add a subscriber ID
option.
Example
To enable this feature on VLAN1, use the following commands:
awplus(config)#
int vlan1
awplus(config-if)#
ip dhcp-relay agent-option
subscriber-id-auto-mac
For an example of how to configure a relay agent and server, see the document
“How to use DHCPv6 to assign specific IPv6 addresses to specific devices”,
available from www.alliedtelesis.com.