Configuring option 18 and option 37 – H3C Technologies H3C S5560 Series Switches User Manual
Page 215

200
•
If you configure DHCPv6 snooping settings on a Layer 2 Ethernet interface that is a member port of
a Layer 2 aggregate interface, the settings do not take effect unless the interface is removed from
the aggregation group.
To configure basic DHCPv6 snooping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCPv6 snooping.
ipv6 dhcp snooping enable
By default, DHCPv6 snooping is
disabled.
3.
Enter interface view.
interface interface-type
interface-number
This interface must connect to the
DHCPv6 server.
4.
Specify the port as a trusted
port.
ipv6 dhcp snooping trust
By default, all ports are untrusted
ports after DHCPv6 snooping is
enabled.
5.
Return to system view.
quit
N/A
6.
Enter interface view.
interface interface-type
interface-number
This interface must connect to the
DHCPv6 client.
7.
(Optional.) Enable recording
of client information in
DHCPv6 snooping entries.
ipv6 dhcp snooping binding record
By default, DHCPv6 snooping does
not record client information.
Configuring Option 18 and Option 37
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
N/A
3.
Enable support for Option 18. ipv6 dhcp snooping option
interface-id enable
By default, Option 18 is not
supported.
4.
(Optional.) Specify the
content as the interface ID.
ipv6 dhcp snooping option
interface-id [ vlan vlan-id ] string
interface-id
By default, the DHCPv6 snooping
device uses its DUID as the content
for Option 18.
5.
Enable support for Option 37. ipv6 dhcp snooping option
remote-id enable
By default, Option 37 is not
supported.
•
(Optional.) Specify the content
as the remote ID.
ipv6 dhcp snooping option
remote-id [ vlan vlan-id ] string
remote-id
By default, the DHCPv6 snooping
device uses its DUID as the content
for Option 37.