Page 236 / 757 Scroll up to view Page 231 - 235
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
232
DGS-3627:admin# config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64
Command: config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64
success
DGS-3627:admin#
config dhcpv6 pool domain_name
Purpose
This command is used to configure the domain name for the DHCPv6 pool of the Switch.
Syntax
config dhcpv6 pool domain_name <pool_name 12> <domain_name 255>
Description
The domain name configured here will be used as the default domain name by the client.
By default, the domain name is empty. If domain name is empty, the domain name
information will not be provided to the client.
Parameters
pool <pool_name 12>
- Enter the pool name for which to set the domain name.
domain_name <domain_name 255>
- The domain name is used by client when resolving
hostnames with DNS.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the domain name for the DHCPv6 pool pool1:
DGS-3627:admin# config dhcpv6 pool domain_name pool1 d_link.com
Command: config dhcpv6 pool domain_name pool1 d_link.com
Success.
DGS-3627:admin#
config dhcpv6 pool dns_server
Purpose
This command is used to configure the DNS server’s IPv6 addresses for a specific DHCPv6
pool.
Syntax
config dhcpv6 pool dns_server <pool_name 12> <ipv6addr> {<ipv6addr>}
Description
This command is used to configure the DNS server IPv6 addresses for a specific DHCPv6
pool. Users may add up to two DNS Server addresses.
If DNS server is not specified, the DNS server information will not be provided to the client.
Users could delete a DNS server address in the method of setting the DNS server address to
zero.
For example, users first add two DNS server address: 2000::200, 2000::201, and then delete
the DNS server address 2000::200. The procedure is as followed:
Command:
config dhcpv6 pool dns_server pool1 2000::200 2000::201
config dhcpv6 pool dns_server pool1 ::
Parameters
<pool_name 12>
- Enter the pool name for which to add one or two DNS server addresses.
<ipv6addr>
- Enter the DNS server IPv6 address for this pool. Users may specify up to two
DNS server addresses.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Page 237 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
233
To configure the DNS server address for a DHCPv6 pool:
DGS-3627:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201
Command: config dhcpv6 pool dns_server pool1 2000::200 2000::201
Success.
DGS-3627:admin#
config dhcpv6 pool lifetime
Purpose
This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address
within a DHCPv6 pool.
Syntax
config dhcpv6 pool lifetime <pool_name 12> preferred_lifetime <sec 60-4294967295>
valid_lifetime <sec 60-4294967295>
Description
within a DHCPv6 pool.
preferred lifetime
- the length of time that a valid address is preferred (i.e., the time until
deprecation).
When the preferred lifetime expires, the address becomes deprecated.
valid lifetime
- the length of time an address remains in the valid state (i.e., the time until
invalidation).
When the valid lifetime expires, the address becomes invalid.
The valid lifetime must be greater than or equal to the preferred lifetime.
Parameters
pool <pool_name 12>
- Enter the previously created pool name for which to set the preferred-
lifetime and valid-lifetime of IPv6 address.
preferred_lifetime <sec 60-4294967295>
- The amount of time (in seconds) that the IPv6
address, based on the specified pool, remains in preferred state.
valid_lifetime <sec 60-4294967295>
- The amount of time (in seconds) that the IPv6 address,
based on the specified pool, remains in valid state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the preferred-lifetime and valid-lifetime for the DHCPv6 pool:
DGS-3627:admin# config dhcpv6 pool lifetime pool1 preferred_lifetime 80 valid_lifetime
100
Command: config dhcpv6 pool lifetime pool1 preferred_lifetime 80 valid_lifetime 100
Success.
DGS-3627:admin#
config dhcpv6 pool manual_binding
Purpose
This command is used to configure a DHCPv6 pool manual binding entry.
Syntax
config dhcpv6 pool manual_binding <pool_name 12> [add <ipv6addr > client_duid
<string 28> | delete [<ipv6addr > | all] ]
Description
An address binding is a mapping between the IPv6 address and DUID (A DHCPv6 Unique
Identifier for a DHCPv6 participant) of a client.
The IPv6 address specified in the manual binding entry must be in the range of the DHCPv6
pool. If the user specifies a conflict IPv6 address, error message will be returned.
Parameters
pool <pool_name 12>
- Enter the name of the previously created pool that will contain the
manual binding entry.
Page 238 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
234
config dhcpv6 pool manual_binding
add <ipv6addr>
- Enter the IPv6 address to be statically bound to a device.
client_duid <string 28>
- Enter the DUID of the device to be statically bound to the IPv6
address entered in the previous field. The DUID string must be '0--9', 'a--f' or ' A--F'.
delete
- To delete the manual binding entry.
<ipv6addr>
- Enter the IPv6 address of the manual binding entry to be deleted.
all
- Enter this command to delete all manual binding entries for the given pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add a manual binding DHCPv6 entry:
DGS-3627:admin# create dhcpv6 pool manual_binding pool1 add 2000::3 client_duid
00010006124dd5840021918d4d9f
Command: create dhcpv6 pool manual_binding pool1 add 2000::3 client_duid
00010006124dd5840021918d4d9f
success
DGS-3627:admin#
show dhcpv6 manual_binding
Purpose
This command is used to display the manual binding settings.
Syntax
show dhcpv6 manual_binding {<pool_name 12>}
Description
This command will display the manual binding entries for the selected or all DHCPv6 pools.
Parameters
pool <pool_name 12>
- Enter the name of the DHCPv6 pool for which to view manual binding
entries.
Entering this command without the pool name will display all manual binding entries of the
DHCPv6 server.
Restrictions
None.
Example usage:
To display the manual binding entries of the DHCPv6 pool pool1:
Page 239 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
235
DGS-3627:admin# show dhcpv6 manual_binding
Command: show dhcpv6 manual_binding
Pool Name: pool1
Entry 1
IPv6 Address : 3000::21
DUID
: 00010006124dd584002191454d33
Entry 2
IPv6 Address : 3000::28
DUID
: 000300060022d7e50900
Pool Name: pool2
Entry 1
IPv6 Address : 8000:1000:1000:1000:1000:1000:1000:2000
DUID
: 00010006124dd584002191454d37
Total Entries: 3
DGS-3627:admin#
show dhcpv6 binding
Purpose
This command is used to show the DHCPv6 dynamic binding information.
Syntax
show dhcpv6 binding {<pool_name 12>}
Description
This command is used to display the DHCPv6 dynamic binding information. Entering the
command without the pool name will display all information regarding DHCPv6 dynamic
binding on the switch.
This command only displays the dynamic binding information, not including manual binding
information.
Parameters
<pool_name 12>
- Enter the name of the DHCPv6 pool for which to view dynamic binding
information.
Entering this command without the pool name will display all dynamic binding entries of the
DHCPv6 server.
Restrictions
None.
Example usage:
To display the DHCPv6 dynamic binding information on the Switch:
DGS-3627:admin# show dhcpv6 binding
Command: show dhcpv6 binding
Pool Name: pool1
Ipv6 Address
: 2000::3
DUID
: 00010006124dd5840021918d4d9f
Preferred(s)
: 604800
Valid(s): 2592000
Pool Name: pool1
Ipv6 Address
: 2000::1
DUID
: 00010006124dd5840021918d8865
Preferred(s)
: 620
Valid(s): 800
Total Entries : 2
DGS-3627:admin#
Page 240 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
236
clear dhcpv6 binding
Purpose
This command is used to clear the DHCPv6 dynamic binding information.
Syntax
clear dhcpv6 binding {<pool_name 12>}
Description
This command is used to clear the DHCPv6 dynamic binding information, not including
manual binding information. Users could use command (4-1-8) to delete the manual binding
information.
Parameters
<pool_name 12>
- Enter the name of the DHCPv6 pool for which to clear the dynamic
binding information.
If not specify the parameter, it will delete all dynamic binding entries of the DHCPv6 server.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the DHCPv6 dynamic binding information on the Switch:
DGS-3627:admin# clear dhcpv6 binding
Command: clear dhcpv6 binding
Success.
DGS-3627:admin#
enable dhcpv6_server
Purpose
This command is used to enable the DHCPv6 server function on the Switch.
Syntax
enable dhcpv6_server
Description
This command is used to enable the DHCPv6 server global state on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCPv6 server global state to enable:
DGS-3627:admin# enable dhcpv6_server
Command: enable dhcpv6_server
Success.
DGS-3627:admin#
disable dhcpv6_server
Purpose
This command is used to disable the DHCPv6 server function on the Switch.
Syntax
disable dhcpv6_server
Description
This command is used to disable the DHCPv6 server global state on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top