Page 226 / 757 Scroll up to view Page 221 - 225
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
222
debug dhcpv6_client output
Description
Set message output to buffer or console.
Parameters
buffer
- Let the debug message output to buffer.
console
- Let the debug message output to console.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set debug information to output to console:
DGS-3627:admin# debug dhcpv6_client output console
Command: debug dhcpv6_client output console
Success.
DGS-3627:admin#
debug dhcpv6_client packet
Purpose
Used to enable or disable the debug information flag for DHCPv6 client packets, including
packet receiving and sending.
Syntax
debug dhcpv6_client packet {all | receiving| sending} state [enable | disable]
Description
Enable or disable the debug information flag for DHCPv6 client packets, including packet
receiving and sending.
Parameters
all
- Set packet receiving and sending debug flags.
receiving
- Set packet receiving debug flag.
sending
- Set packet sending debug flag.
enable
- Enable the designated flags.
disable
- Disable the designated flags.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable DHCPv6client packet sending debug flags:
DGS-3627:admin# debug dhcpv6_client packet sending state enable
Command: debug dhcpv6_client packet sending state enable
Success.
DGS-3627:admin#
Page 227 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
223
28
DHCPV6 RELAY COMMANDS
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-3627:admin# config dhcpv6_relay hop_count 4
Command: config dhcpv6_relay hop_count 4
Success.
DGS-3627: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>
Page 228 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
224
config dhcpv6_relay
Description
This command can add or delete an IPv6 destination address 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_name
- 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-3627:admin# 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-3627:admin#
config dhcpv6_relay ipif
Purpose
This command is used to configure the DHCPv6 relay state of one or all of the specified
interfaces.
Syntax
config dhcpv6_relay ipif [<ipif_name 12> | all] state [enable | disable]
Description
This command is used to configure the DHCPv6 relay state of one or all of the specified
interfaces.
Parameters
ipif_name
- The name of the IP interface. The value 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-3627:admin#
config dhcpv6_relay ipif System state enable
Command: config dhcpv6_relay ipif System state enable
Success.
DGS-3627:admin#
show dhcpv6_relay
Purpose
This command displays 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.
Page 229 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
225
show dhcpv6_relay
Parameters
ipif_name
- The name of the IP interface that will be displayed in the current DHCPv6 relay
configuration.
If no IP interface is specified, all configured DHCPv6 relay interfaces will be displayed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This is an example to show the DHCPv6 relay configuration of all interfaces:
DGS-3627:admin# show dhcpv6_relay
Command: show dhcpv6_relay
DHCPv6 Hops Count Limit
: 4
DHCPv6 Global State
: Disabled
------------------------------------------------------------------
System Interface:
DHCPv6 Relay Status
: Disabled
Server Address
: 2001:DB8:1234:0:218:FEFF:FEFB:1
Server Address
: 3ffe::500
Server Address
: 3ffe::600
Server Address
: ff05::1:3%Ipif1
Ipif_1 Interface:
DHCPv6 Relay Status
: Enabled
Server Address
: 2001:DB8:1234:1:218:FEFF:FEFB:2
Ipif_2 Interface:
DHCPv6 Relay Status
: Disabled
Total Entries : 3
DGS-3627:admin#
To show the DHCPv6 relay configuration of the System interface:
DGS-3627:admin# show dhcpv6_relay ipif System
Command: show dhcpv6_relay ipif System
DHCPv6 Hops Count Limit
: 4
DHCPv6 Global State
: Disabled
------------------------------------------------------------------
System Interface:
DHCPv6 Relay Status
: Disabled
Server Address
: 2001:DB8:1234:0:218:FEFF:FEFB:1
Server Address
: 3ffe::500
Server Address
: 3ffe::600
Server Address
: ff05::1:3%Ipif1
DGS-3627:admin#
enable dhcpv6_relay
Purpose
Used to enable the DHCPv6 relay function on the Switch.
Page 230 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
226
enable dhcpv6_relay
Syntax
enable dhcpv6_relay
Description
This command is used to enable the DHCPv6 relay global state on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCPv6 relay global state to enable:
DGS-3627:admin#
enable dhcpv6_relay
Command: enable dhcpv6_relay
Success.
DGS-3627:admin#
disable dhcpv6_relay
Purpose
Used to disable the DHCPv6 relay function on the Switch
Syntax
disable dhcpv6_relay
Description
This command is used to disable the DHCPv6 relay global state on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCPv6 relay global state to disable:
DGS-3627:admin#
disable dhcpv6_relay
Command: disable dhcpv6_relay
Success.
DGS-3627:admin#
debug dhcpv6_relay state
Purpose
This command is used to enable or disable DHCPv6 relay debug functions.
Syntax
debug dhcpv6_relay state [enable | disable]
Description
This command is used to enable or disable DHCPv6 relay debug functions.
Parameters
state
- See below:
enable
- Enable the DHCPv6 relay debug function
disable
- Disable the DHCPv6 relay debug function
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enabled the DHCPv6 relay debug function:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top