Configuring ipv6 filtering – H3C Technologies H3C S3100 Series Switches User Manual
Page 924

1-21
Configuring DHCPv6 snooping support for DHCPv6 Option 18/Option 37
DHCPv6 Option 37, also known as the DHCPv6 relay agent remote ID option, records the location
information of DHCPv6 clients. Option 18, also known as the DHCPv6 interface ID option, records the
interface that receives messages from DHCPv6 clients. Upon receiving a DHCPv6 request, the
DHCPv6 snooping device that supports DHCPv6 options adds Option 18/Option 37 to the request
before forwarding it to the DHCPv6 server. Then the DHCPv6 server assigns an IPv6 address and other
parameters as requested.
Note that the DHCPv6 snooping support for Option 18/Option 37 setting takes effect only after DHCPv6
snooping is enabled globally.
Follow these steps to configure DHCPv6 snooping support for DHCPv6 Option 18/Option 37:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DHCPv6 snooping to
support DHCPv6 options
dhcp-snooping ipv6 information
enable
Required
Not enabled by default.
Specify the DHCPv6 option
supported by DHCPv6 snooping
dhcp-snooping ipv6 information
option { 18 | 37 }
Required
Option 37 is specified by
default.
Configure the DHCPv6
sub-option
dhcp-snooping ipv6 information
remote-id { ipv4-address ipv4-address
| ipv6-address ipv6-address | string
string | sysname }
Required
Not configured by default.
Configuring IPv6 Filtering
Among the S3100 series Ethernet switches, only the S3100-EI series support IPv6 filtering.
Follow these steps to configure IPv6 filtering:
To do…
Use the command…
Remarks
Enter system view
system-view
—
interface interface-type interface-number
Configure an IPv6
static binding
entry
ipv6 source static binding ip-address ipv6-address
[ mac-address mac-address ] [ vlan vlan-id ]
Configure
an IPv6
binding
entry
Configure to use
IPv6 dynamic
entries
Configure DHCPv6 snooping or ND snooping to obtain
DHCPv6 snooping entries or ND snooping entries.
Required
Use at least one
approach.
Not configured
by default.
Enable IPv6 filtering
ipv6 check source ip-address [ mac-address ]
Required
Disabled by
default.