ZyXEL Communications 3.1 ユーザーズマニュアル

ページ / 386
 Chapter 36 DHCPv6 Objects
ZyWALL (ZLD) CLI Reference Guide
277
36.1.2  DHCPv6 Object Command Examples
This example creates and displays a DHCPv6 lease object named “test1” for IPv6 address 2003::1 
with DUID 00:01:02:03:04:05:06:07.   
This example makes “test1” into a DHCPv6 address pool lease object for IPv6 addresses 2004::10 
to 2004::40.   
dhcp6-lease-object dhcp6_profile { sip-server | 
ntp-server | dns-server } { ipv6_addr | 
dhcp6_profile }
Creates or edits the specified SIP server, NTP server, or DNS 
server DHCP lease object with the specified IPv6 address. When 
you assign a request object, the lease object value will be the 
request object value retrieved from the DHCPv6 server. 
dhcp6-lease-object rename dhcp6_profile 
dhcp6_profile
Renames the specified DHCPv6 lease object to the specified 
name.
no dhcp6-lease-object dhcp6_profile
Deletes the specified DHCPv6 lease object.
dhcp6-request-object dhcp6_profile { dns-server 
| ntp-server | prefix-delegation | sip-server }
Creates or edits the specified SIP server, DNS server, NTP 
server, prefix-delegation, or SIP server DHCP request object.
dhcp6-request-object rename dhcp6_profile 
dhcp6_profile
Renames the specified DHCPv6 request object to the specified 
name.
no dhcp6-request-object dhcp6_profile
Deletes the specified DHCPv6 request object.
Table 163   
DHCPv6 Object Commands  (continued)
COMMAND
DESCRIPTION
Router(config)# dhcp6-lease-object test1 address 2003::1 duid 
00:01:02:03:04:05:06:07
Router(config)# show dhcp6 lease-object
DHCP6 Lease Object: test1
  Object Type: address
  Object Value: 2003::1
  DUID: 00:01:02:03:04:05:06:07
  Bind Iface:
  REFERENCE: 0
Router(config)# dhcp6-lease-object test1 address-pool 2004::10 2004::40
Router(config)# show dhcp6 lease-object
DHCP6 Lease Object: test1
  Object Type: address-pool
  Object Value: 2004::10
  Ext Object Value: 2004::40
  Bind Iface:
  REFERENCE: 0