
34-47
34.1.6 ipv6 dhcp relay subscriber-id
Command:
ipv6 dhcp relay subscriber-id <subscriber-id>
no ipv6 dhcp relay subscriber-id
Function:
This command is used to set the form of adding option 38 in received DHCPv6 request packets, of which
<subscriber-id> is the subscriber-id in user-defined option 38 and it is a string with a length of less than 128. The no
operation of this command restores subscriber-id in option 38 to vlan name together with port name such as
"Vlan2+Ethernet1/2".
Parameters:
subscriber-id
, user-defined content of option 38
Default:
Set subscriber-id in option 38 to vlan name together with port name.
Command Mode:
Interface configuration mode
Usage Guide:
Because the option 38 information added by switch may associate with third-party DHCPv6 servers, users can
specify the subscriber-id content based on server condition when standard subscriber-id of the switch cannot satisfy
the demand of server. The vlan name together with physical port name is used as the subscriber-id in option 38 by
default.
Example:
Enable abc as the subscriber-id of DHCPv6 option 38.
Switch(Config-if-vlan1)#
ipv6 dhcp relay subscriber-id abc
34.1.7 ipv6 dhcp relay subscriber-id option
Command:
ipv6 dhcp relay subscriber-id option
no ipv6 dhcp relay subscriber-id option