mac

Commands for DHCPv6 option37, 38
350
Command Mode: Global configuration mode
Usage Guide: Only after this command is configured, DHCPv6 SNOOPING can add
option 37 in DHCPv6 packets before sending it to server or relay agent. Make sure that
DHCPv6 SNOOPING has been enabled before execute this command. The system
disables option 37 of DHCPv6 SNOOPING by default.
Example: Enable option 37 in DHCPv6 SNOOPING.
Switch(Config)#ipv6 dhcp snooping enable
Switch(Config)#ipv6 dhcp snooping remote-id option
30.1.14 ipv6 dhcp snooping remote-id policy
Command: ipv6 dhcp snooping remote-id policy {drop | keep | replace}
no ipv6 dhcp snooping remote-id policy
Function: This command is used to configure the reforward policy of the system when
receiving DHCPv6 packets with option 37, among which the drop mode means that the
system simply discards it with option 37, keep mode means that the system keeps
option 37 unchanged and forwards the packets to the server and replace mode means
that the system replaces option 37 of current packets with its own before forwarding it to
the server. The no operation of this command sets reforward policy of DHCPv6 packets
with option 37 as replace.
Parameters: None.
Default: Using replace mode to replace option 37 of current packets with systems own.
Command Mode: Global configuration mode
Usage Guide: Since DHCPv6 client packets may already include option 37 information,
corresponding processing policy of DHCPv6 SNOOPING is required to develop. If the
forwarding policy is set as replace, option 37 has to be enabled in advance. Use replace
mode to replace option 37 of current packets with systems own by default.
Example: Configure the reforward policy of DHCPv6 packets with option 37 as keep for
DHCPv6 SNOOPING.
Switch(Config)# ipv6 dhcp snooping remote-id policy keep
30.1.15 ipv6 dhcp snooping subscriber-id
Command: ipv6 dhcp snooping subscriber-id <subscriber-id>
no ipv6 dhcp snooping 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 content of 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