mac
Commands for DHCPv6 option37, 38
351
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: Port mode
Usage Guide: Because option 38 information added by switch may associate with
third-party DHCPv6 servers, users can specify 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 subscriber-id in option 38 by
default.
Example: Enable abc as subscriber-id of DHCPv6 option 38.
Switch(Config-if-Ethernet1/1)#ipv6 dhcp snooping subscriber-id abc
30.1.16 ipv6 dhcp snooping subscriber-id option
Command: ipv6 dhcp snooping subscriber-id option
no ipv6 dhcp snooping subscriber-id option
Function: This command enables DHCPv6 SNOOPING to support option 38, the no
form of this command disables it.
Parameters: None.
Default: Disable option 38 of DHCPv6 SNOOPING.
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 SNOOPING can add
option 38 in DHCPv6 packets before sending it to server or relay agent. Make sure that
DHCPv6 SNOOPING has been enabled before executing this command. The system
disables option 38 of DHCPv6 SNOOPING by default.
Example: Enable option 38 in DHCPv6 SNOOPING.
Switch(Config)#ipv6 dhcp snooping enable
Switch(Config)#ipv6 dhcp snooping subscriber-id option
30.1.17 ipv6 dhcp snooping subscriber-id policy
Command: ipv6 dhcp snooping subscriber-id policy {drop | keep | replace}
no ipv6 dhcp snooping subscriber-id policy
Function: This command is used to set the reforward policy of the system when
receiving DHCPv6 packets with option 38, among which the drop mode means that the
system simply discards it with option 38, keep mode means that the system keeps
option 38 unchanged and forwards the packets to the server and replace mode means
that the system replaces option 38 of current packets with its own before forwarding it to
the server. The no operation of this command sets the reforward policy of DHCPv6










