DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 495
config dhcpv6_relay
Purpose
This command is used to add or delete an IP destination address to and from the
switch’s DHCPv6 relay table.
Syntax
config dhcpv6_relay [add | delete] ipif <ipif_name 12> <ipv6addr>
Description
The command could add or delete an IPv6 address which is a destination to forward
(relay) DHCPv6 packets.
Parameters
add
- Add an IPv6 destination to the DHCPv6 relay table.
delete
- Delete an IPv6 destination from the DHCPv6 relay table
ipif
- The name of the IP interface in which DHCPv6 relay is to be enabled.
ipv6addr
- The DHCPv6 server IP address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add a DHCPv6 server to the relay table:
DGS-3700-12:5#config dhcpv6_relay add ipif System 2001:DB8:1234:0:218:FEFF:FEFB:CC0E
Command: config dhcpv6_relay add ipif System 2001:DB8:1234:0:218:FEFF:FEFB:CC0E
Success.
DGS-3700-12:5#
config dhcpv6_relay ipif
Purpose
This command is used to configure the DHCPv6 relay state of one specific interface
or all interfaces.
Syntax
config dhcpv6_relay ipif [<ipif_name 12> |all] state [enable | disable]
Description
The command is used to configure the DHCPv6 relay state of one specific interface or
all interfaces.
Parameters
ipif
- The name of the IP interface.
all
- Indicates all configured IP interfaces.
state
- See below:
enable
- Choose this parameter to enable the DHCPv6 relay state of the interface.
disable
- Choose this parameter to disable the DHCPv6 relay state of the interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCPv6 relay state of the System interface to enable:
DGS-3700-12:5# config dhcpv6_relay ipif System state enable
Command: config dhcpv6_relay ipif System state enable
Success.
DGS-3700-12:5#
show dhcpv6_relay
Purpose
This command is used to display the current DHCPv6 relay configuration.
Syntax
show dhcpv6_relay {ipif <ipif_name 12>}
Description
This command will display the current DHCPv6 relay configuration of all interfaces,
or if an IP interface name is specified, the DHCPv6 relay configuration for that IP
interface.