Page 231 / 757 Scroll up to view Page 226 - 230
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
227
DGS-3627:admin#
debug dhcpv6_relay state enable
Command:
debug dhcpv6_relay state enable
Success.
DGS-3627:admin#
debug dhcpv6_relay output
Purpose
This command is used to set the debug message to output to a buffer or a console.
Syntax
debug dhcpv6_relay output [buffer | console]
Description
This command is used to set the debug message to output to a buffer or a console.
Parameters
output
- See below:
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 a console:
DGS-3627:admin#
debug dhcpv6_relay output console
Command: debug dhcpv6_relay output console
Success.
DGS-3627:admin#
debug dhcpv6_relay packet
Purpose
This command is used to enable or disable the debug information flag of the DHCPv6 relay
packet, including packets receiving and sending.
Syntax
debug dhcpv6_relay packet {all | receiving | sending} state [enable | disable]
Description
This command is used to enable or disable the debug information flag of the DHCPv6 relay
packet, including packets 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 enabled the DHCPv6 relay packet sending debug:
Page 232 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
228
DGS-3627:admin#
debug dhcpv6_relay packet sending state enable
Command: debug dhcpv6_relay packet sending state enable
Success.
DGS-3627:admin#
debug dhcpv6_relay hop_count state
Purpose
This command is used to enable or disable debug information flag about the hop count.
Syntax
debug dhcpv6_relay hop_count state [enable | disable]
Description
This command is used to enable or disable debug information flag about the hop count.
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.
enable
- Enable the hop_count state.
disable
- Disable the hop_count state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable debug information flag about the hop count:
DGS-3627:admin#
debug dhcpv6_relay hop_count state enalbe
Command: debug dhcpv6_relay hop_count state enalbe
Success.
DGS-3627:admin#
Page 233 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
229
29
DHCPV6 SERVER COMMANDS
The DHCPv6 Server commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command
Parameters
create dhcpv6 pool
<pool_name 12>
delete dhcpv6 pool
[<pool_name 12> | all]
show dhcpv6 pool
{<pool_name 12>}
config dhcpv6 pool ipv6network_addr
<pool_name 12> begin < ipv6networkaddr> end <ipv6networkaddr>
config dhcpv6 pool domain_name
<pool_name 12> <domain_name 255>
config dhcpv6 pool dns_server
<pool_name 12> <ipv6addr> {<ipv6addr>}
config dhcpv6 pool lifetime
<pool_name 12> preferred_lifetime <sec 60-4294967295> valid_lifetime <sec
60-4294967295>
config dhcpv6 pool manual_binding
<pool_name 12> [add <ipv6addr > client_duid <string 28> | delete [<ipv6addr > |
all] ]
show dhcpv6 manual_binding
{<pool_name 12>}
show dhcpv6 binding
{<pool_name 12>}
clear dhcpv6 binding
{<pool_name 12>}
enable dhcpv6_server
disable dhcpv6_server
show dhcpv6_server
config dhcpv6 pool excluded_address
<pool_name 12> [ add begin < ipv6addr> end < ipv6addr > | delete [ begin <
ipv6addr> end < ipv6addr> | all]]
show dhcpv6 excluded_address
{<pool_name 12>}
config dhcpv6_server ipif
<ipif_name 12> state [enable | disable]
debug dhcpv6_server state
[enable | disable]
debug dhcpv6_server packet
{all | receiving | sending} state [enable | disable]
Each command is listed, in detail, in the following sections.
create dhcpv6 pool
Purpose
This command is used to create a DHCPv6 pool.
Syntax
create dhcpv6 pool <pool_name 12>
Description
This command is used to create a DHCPv6 pool for the DHCPv6 server.
Parameters
<pool_name 12>
- Enter a name of up to 12 alphanumeric characters to identify the pool to
be created with this command.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 234 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
230
Example usage:
To create a DHCPv6 pool pool1:
DGS-3627:admin# create dhcpv6 pool pool1
Command : create dhcpv6 pool pool1
success
DGS-3627:admin#
delete dhcpv6 pool
Purpose
This command is used to delete one or all DHCPv6 pools.
Syntax
delete dhcpv6 pool [<pool_name 12> | all]
Description
This command will delete a DHCPv6 pool that was created with the create dhcpv6 pool
command.
Parameters
pool <pool_name 12>
- Enter a name of up to 12 alphanumeric characters to identify the pool
to be deleted with this command.
all
- If specify this parameter, all DHCPv6 pools on the Switch will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the DHCPv6 pool by specifying the pool name pool1:
DGS-3627:admin# delete dhcpv6 pool pool1
Command: delete dhcpv6 pool pool1
Success.
DGS-3627:admin#
show dhcpv6 pool
Purpose
This command is used to display one or all DHCPv6 pools configuration.
Syntax
show dhcpv6 pool {<pool_name 12>}
Description
This command will show one or all DHCPv6 pools configuration that were created with the
create dhcpv6 pool command.
Parameters
pool <pool_name 12>
- Enter the name of the DHCPv6 pool for which to view the pool
information.
Entering this command without the pool name will display all pools information of the
DHCPv6 server.
Restrictions
None.
Example usage:
To show the DHCPv6 pool by specifying the pool name pool1:
Page 235 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
231
DGS-3627:admin# show dhcpv6 pool pool1
Command: show dhcpv6 pool pool1
Pool Name
: pool1
Begin Network Address
: 2000::1/64
End Network Address
: 2000::200/64
Domain Name
: domain.com
DNS Server Address
: 2000::ff
: 2000::fe
Preferred Lifetime
: 604800 (sec)
Valid Lifetime
: 2592000 (sec)
Total Pool Entry: 1
DGS-3627:admin#
config dhcpv6 pool ipv6networkaddr
Purpose
This command is used to configure the range of ipv6network address for the DHCPv6 pool
Syntax
config dhcpv6 pool ipv6network_addr <pool_name 12> begin < ipv6networkaddr> end
<ipv6networkaddr>
Description
Specify the range of ipv6network address for the DHCPv6 pool. The IPv6 addresses in the
range are free to be assigned to the DHCPv6 client.
When the DHCPv6 server receives a request from the client, the server will automatically find
an available pool to allocate an IPv6 address.
The begin_networkaddr and end_networkaddr must observer some rules as followed:
The prefix of the begin_networkaddr and end_networkaddr must be in consistence,
otherwise, the switch will print an error message: The prefix of begin_networkaddr and
end_networkaddr must be consistence.(e.g.: the begin_networkaddr is 2000::1/64, and the
end_networkaddr is 3000::100/64)
The begin address must not be large than end address, otherwise, the switch will print an
error message: The begin IPv6 address must be lower than or equal to the end IPv6
address.(e.g.: the begin_networkaddr is 2000::200/64, and the end_networkaddr is
2000::100/64)
There must not be overlapping between the IPv6 address ranges of two pools, otherwise, the
Switch will print an error message: The IP range of the pool is overlapping. (e.g.: pool1:
2000::1/64 --- 2000::100/64, pool2: 2000::50/64 --- 2000::200/64)
The IPv6 network address can’t be Link-local address and Multicast address, otherwise, the
Switch will print an error message: “The IPv6 network address can’t be Link-local address or
Multicast address. “ (e.g.:: pool1: FE80::1/64 --- FE80::100/64, pool2: FE80::200/64 ---
FE80::300/64)
Parameters
pool <pool_name 12>
- Enter the previously created pool name for which to set the network
address.
begin <ipv6networkaddr>
- The begin IPv6network address of the DHCPv6 pool.
end < ipv6networkaddr>
- The end IPv6 network address of the DHCPv6 pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the range of ipv6network address for the DHCPv6 pool pool1:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top