![D-Link DGS-1210/ME series Reference Manual Download Page 160](http://html.mh-extra.com/html/d-link/dgs-1210-me-series/dgs-1210-me-series_reference-manual_77989160.webp)
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
140
config dhcpv6_relay hop_count
Purpose
Used to configure the DHCPv6 relay hop count of the switch.
Syntax
config dhcpv6_relay hop_count <value 1-32>
Description
The
config dhcpv6_relay hops_count
command is used to
configure the DHCPv6 relay hop count of the switch.
Parameters
<value 1-32>
− The hop count is the number of relay agents that
have to be relayed in this message. The range is 1 to 32. The
default value is 4.
Restrictions
Only Administrator or operate-level users can issue this command.
Example usage:
To configure the DHCPv6 relay hop count on the Switch:
DGS-1210-28MP/ME:5# config dhcpv6_relay hop_count 3
Command: config dhcpv6_relay hop_count 3
Success.
DGS-1210-28MP/ME:5#
config dhcpv6_relay option_18
Purpose
Used to configure the processing of Option 18 for the DHCPv6 relay
function. Both the DHCPv6 relay and DHCPv6 local relay functions
use the same Interface ID format. Localrelay isn't concerned about
the option state it adds to the packet.
Syntax
config dhcpv6_relay option_18 [check [enable | disable] | state
[enable | disable] | interface_id [default | cid | vendor1]]
Description
The
config dhcpv6_relay option_18
command is used to configure
the processing of Option 18 for the DHCPv6 relay function. Both the
DHCPv6 relay and DHCPv6 local relay functions use the same
Interface ID format.
Parameters
check [enable | disable] –
Specifies whether or not to check for the
Option 18 field in incoming packets.
state [enable | disable] –
Specifies the DHCPv6 Relay Option 18’s
state. When the state is enabled, the DHCP packet will be inserted
with the Option 18 field before being relayed to server.
interface_id
– Specify the format of the Interface ID.
default -
Specify to used the default formation for the Interface ID.
cid -
Specify to use the CID format for the Interface ID.
vendor1 -
Specify to use the Vendor 1 format for the Interface ID.
Restrictions
Only Administrator or operate-level users can issue this command.
Example usage:
To configure the DHCPv6 relay option 18 to be enabled on the Switch:
DGS-1210-28MP/ME:5# config dhcpv6_relay option_18 state enable
Command: config dhcpv6_relay option_18 state enable