xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
183
24
DHCP
V
6
R
ELAY
C
OMMANDS
The DHCPv6 Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
config dhcpv6_relay hop_count
<value 1-32>
config dhcpv6_relay
[add | delete] ipif <ipif_name 12> <ipv6addr>
config dhcpv6_relay ipif
[<ipif_name 12> | all] state [enable | disable]
show dhcpv6_relay
{ipif <ipif_name 12>}
enable dhcpv6_relay
disable dhcpv6_relay
debug dhcpv6_relay state
[enable | disable]
debug dhcpv6_relay output
[buffer | console]
debug dhcpv6_relay packet
{all | receiving | sending} state [enable | disable]
debug dhcpv6_relay hop_count state
[enable | disable]
Each command is listed, in detail, in the following sections.
config dhcpv6_relay hop_count
Purpose
This command is used to configure the DHCPv6 relay hop count of the switch.
Syntax
config dhcpv6_relay hop_count <value 1-32>
Description
This command is used to configure the DHCPv6 relay hop count of the switch.
Parameters
hop_count
- 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 and Operator-level users can issue this command.
Example usage:
To configure the maximum hops of a DHCPv6 relay packet that can be transferred to 4:
DGS-3450:admin# config dhcpv6_relay hop_count 4
Command: config dhcpv6_relay hop_count 4
Success.
DGS-3450:admin#
config dhcpv6_relay
Purpose
This command is used to add or delete a destination IP address to or from the switch’s
DHCPv6 relay table.
Syntax
config dhcpv6_relay [add | delete] ipif <ipif_name 12> <ipv6addr>
Description
This command can add or delete an IPv6 destination address to forward (relay) DHCPv6
packets.