XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
39-7
no address range <start-ip> <end-ip>
address range for a DHCPv6
class in DHCPv6 address pool
configuration mode, the no
command is used to remove
the addreass range. The
prefix/plen form is not
supported.
39.3 DHCPv6 option37, 38 Examples
39.3.1
DHCPv6 Snooping option37, 38 Example
Fig 4-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/0/2, 1/0/3 and 1/0/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/0/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.
Interface E1/0/1
MAC-CC MAC-BB MAC-AA
Switch B
Switch A
Interface E1/0/4 Interface E1/0/3 Interface E1/0/2