mac

Commands for DHCPv6 option37, 38
347
Switch(Config-if-vlan1)# ipv6 dhcp relay subscriber-id abc
30.1.7 ipv6 dhcp relay subscriber-id option
Command: ipv6 dhcp relay subscriber-id option
no ipv6 dhcp relay subscriber-id option
Function: This command enables switch relay to support the option 38, the no form of
this command disables it.
Parameters: None.
Default: Disable the relay option 38.
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 relay agent can add
option 38 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. The
option 38 of switch relay is disabled by default.
Example: Enable the switch relay to support option 38.
Switch(Config)#service dhcpv6
Switch(Config)#ipv6 dhcp relay subscriber-id option
30.1.8 ipv6 dhcp relay subscriber-id select delimiter
Command: ipv6 dhcp relay subscriber-id select (sp | sv | pv | spv) delimiter WORD
(delimiter WORD |)
no ipv6 dhcp relay subscriber-id select delimiter
Function: Configures user configuration options to generate subscriber-id. The no form
of this command restores to its original default configuration, i.e. vlan name together with
port name.
Parameters: (sp | sv | pv | spv): a selection in combinations of slot, port and vlan,
among which sp represents slot and port, sv represents slot and vlan, pv represents
port and vlan, and spv represents slot, port and vlan.
WORD: the delimiter between slot, port and vlan which ranges among
(#|.|,|;|:|/|space). Note that there're two delimiter WORDs here, of which the former is
the delimiter between slot and port and the latter is the one between port and vlan.
Default: Null.
Command Mode: Global configuration mode
Usage Guide: The command has no effect on ports with self-defined subscriber-id. If
user redefines the subscriber-id of the port after using the command, the user-defined
one prevails. This configuration is null by default.
Example: