mac

Commands for DHCPv6 option37, 38
346
condition when default remote-id of the switch cannot satisfy the demand of server. The
enterprise-number together with vlan MAC address is used as the remote-id by default.
Example: Enable abc as the remote-id of DHCPv6 option 37.
Switch(Config-if-vlan1)# ipv6 dhcp relay remote-id abc
30.1.5 ipv6 dhcp relay remote-id option
Command: ipv6 dhcp relay remote-id option
no ipv6 dhcp relay remote-id option
Function: This command enables switch relay to support the option 37, the no form of
this command disables it.
Parameters: None.
Default: Disable the relay option 37.
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 relay agent can add
option 37 in DHCPv6 request packets before sending it to server or next relay agent.
Make sure that DHCPv6 service has been enabled before execute this command.
Example: Enable the switch relay to support option 37.
Switch(Config)#service dhcpv6
Switch(Config)#ipv6 dhcp relay remote-id option
30.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.