3 dhcpv6 options 37, 38 examples, 1 dhcpv6 snooping options 37, 38 example, Dhcp – PLANET WGSW-52040 User Manual
Page 291: Ptions, Xamples, 1 dhcpv6 snooping options 37, 38 example -70

35.3 DHCPv6 Options 37, 38 Examples
35.3.1 DHCPv6 Snooping options 37, 38 Example
Switch B
Interface E1/1
Switch A
Interface E1/4
Interface E1/3
Interface E1/2
MAC-CC
MAC-AA
MAC-BB
Figure 35-1: DHCPv6 Snooping option schematic
As is shown in the figure above, Mac-AA, Mac-BB and Mac-CC are normal users, connected
to untrusted interface 1/2, 1/3 and 1/4 respectively, and they get IP 2010:2, 2010:3 and
2010:4 through DHCPv6 Client; DHCPv6 Server is connected to the trusted interface 1/1.
Configure three address assignment policies (CLASS), of which CLASS1 matches option 38,
CLASS2 matches option 37 and CLASS3 matches option 37 and option 38. In the address
pool EastDormPool, the requests matched with CLASS1, CLASS2 and CLASS3 will be
assigned an address ranging from 2001:da8:100:1::2 to 2001:da8:100:1::30, from
2001:da8:100:1::31 to 2001:da8:100:1::60 and from 2001:da8:100:1::61
to2001:da8:100:1::100 respectively; DHCPv6 snooping function is enabled and option 37 and
option 38 are configured in Switch A.
Switch A configuration:
SwitchA(config)#ipv6 dhcp snooping remote-id option
SwitchA(config)#ipv6 dhcp snooping subscriber-id option
SwitchA(config)#int e 1/1
SwitchA(config-if-ethernet1/1)#ipv6 dhcp snooping trust
35-70