- Table of Contents
-
- 02-Configuration Examples
- 01-H3C_AAA_Configuration_Examples
- 02-H3C_ACL_Configuration_Examples
- 03-H3C_ATM_Configuration_Examples
- 04-H3C_IGMP_Configuration_Examples
- 05-H3C_IP_Source_Guard_Configuration_Examples
- 06-H3C_Ethernet_OAM_Configuration_Examples
- 07-H3C_NQA_Configuration_Examples
- 08-H3C_QinQ_Configuration_Examples
- 09-H3C_OSPF_Configuration_Examples
- 10-H3C_MPLS_TE_Configuration_Examples
- 11-H3C_OpenFlow_Configuration_Examples
- 12-H3C_NAT_Configuration_Examples
- 13-H3C_RBAC_Configuration_Examples
- 14-H3C_IRF_Configuration_Examples
- 15-H3C_POS_Interface_Configuration_Examples
- 16-H3C_CPOS_Interface_Configuration_Examples
- 17-H3C_DHCP_Relay_Redundancy_Configuration_Examples
- 18-H3C_DLDP_Configuration_Examples
- 19-H3C_IS-IS_Configuration_Examples
- 20-H3C_MPLS_L3VPN_Configuration_Examples
- 21-H3C_SSH_Configuration_Examples
- 22-H3C_Login_Management_Configuration_Examples
- 23-H3C_SNMP_Configuration_Examples
- 24-H3C_Priority_Marking_and_Queue_Scheduling_Configuration_Examples
- 25-H3C_Multicast_VPN_Configuration_Examples
- 26-H3C_BGP_Configuration_Examples
- 27-H3C_HoVPN_Configuration_Examples
- 28-H3C_L2TP_Configuration_Examples
- 29-H3C_VRRP_Configuration_Examples
- 30-H3C_Traffic_Filtering_Configuration_Examples
- 31-H3C_Samplers_and_IPv4_NetStream_Configuration_Examples
- 32-H3C_Software_Upgrade_Examples
- 33-H3C_MPLS_L2VPN_Configuration_Examples
- 34-H3C_NetStream_Configuration_Examples
- 35-H3C_Policy-Based_Routing_Configuration_Examples
- 36-H3C_Traffic_Policing_Configuration_Examples
- 37-H3C_BFD_Configuration_Examples
- 38-H3C_OSPFv3_Configuration_Examples
- 39-H3C_VPLS_Configuration_Examples
- 40-H3C_GTS_and_Rate_Limiting_Configuration_Examples
- 41-H3C_IPv6_IS-IS_Configuration_Examples
- 42-H3C_MPLS OAM_Configuration_Examples
- 43-H3C_BGP_Route_Selection_Configuration_Examples
- 44-H3C_IS-IS_Route_Summarization_Configuration_Examples
- 45-H3C_SRv6 Configuration Examples
- 46-H3C_Attack_Protection_Configuration_Examples
- 47-H3C_OSPF_Multi-Process_Configuration_Examples
- 48-H3C_OSPF_with_Multi-Instance_Configuration_Examples
- 49-H3C_ARP_Attack_Protection_Configuration_Examples
- 50-H3C_DHCPv6_Server_and_DHCPv6_Prefix_Client_Configuration_Examples
- 51-CE1 Interface Connection Configuration Examples
- 52-GRE Tunnel Establishment Using OSPF Configuration Examples
- 53-GRE Tunnel Establishment Using Static Routes Configuration Examples
- 54-OSPF over IPsec for Overseas Branch Access Configuration Examples
- 55-General QoS Configuration Examples
- 56-QoS Configuration Examples for the Financial Industry
- Related Documents
-
Title | Size | Download |
---|---|---|
50-H3C_DHCPv6_Server_and_DHCPv6_Prefix_Client_Configuration_Examples | 193.73 KB |
Example: Configuring the DHCPv6 server and the DHCPv6 PD client
Configuring the DHCPv6 PD client
Verifying the DHCPv6 server configuration
Verifying the DHCPv6 PD client configuration
Verifying DHCPv6 client configurations
Example: Configuring the DHCPv6 server and the DHCPv6 PD client
Introduction
To simplify host configuration, IPv6 supports stateful and stateless address autoconfiguration.
· Stateless address autoconfiguration enables a host to automatically generate an IPv6 address and other configuration information by using its link-layer address and the prefix information advertised by a router.
· Stateful address autoconfiguration enables a host to acquire an IPv6 address and other configuration information from a server (for example, a DHCPv6 server).
The following information provides configuration examples of stateless address autoconfiguration and stateful address autoconfiguration.
Network configuration
As shown in Figure 1, Host A and Device C obtain IPv6 prefixes from the DHCPv6 prefix delegation (PD) client and generate IPv6 global unicast addresses through stateless address autoconfiguration. Host B and Device D use the stateful address autoconfiguration method to obtain IPv6 global unicast addresses from the IPv6 address pool on the DHCPv6 PD client.
Configure the network as follows:
· Configure Device A as the DHCPv6 server. Assign IPv6 address 1::1/64 to Ten-GigabitEthernet 3/1/1. Create an IPv6 address pool and apply a prefix pool that contains prefix 2001:0410::/32 to that address pool. The IPv6 address pool can then assign prefixes to the DHCPv6 PD client.
· Configure Device B as the DHCPv6 PD client. Enable the DHCPv6 PD client to perform the following tasks: Obtain prefix 2001:410::/48 from the DHCPv6 server. The prefix ID of that prefix is 11. Automatically generate an IPv6 address for Ten-GigabitEthernet 3/1/2 and advertise the obtained prefix to endpoints.
· Configure Device C to obtain an IPv6 prefix from the DHCPv6 PD client through the IPv6 ND protocol and generate an IPv6 address for Ten-GigabitEthernet 3/1/1 through stateless address autoconfiguration.
· Configure Host A to obtain an IPv6 prefix from the DHCPv6 PD client through the IPv6 ND protocol and automatically generate an IPv6 address.
· Create an IPv6 address pool on Device B by using the prefix associated with prefix ID 11. This IPv6 address pool is used for IPv6 address assignment to Host B and Ten-GigabitEthernet 3/1/1 of Device D.
Restrictions and guidelines
· After you configure an IPv6 global unicast address for an interface, the interface will automatically generate a link-local address if it is not configured with any link-local address.
· When you configure the DHCPv6 PD client to use a prefix for IPv6 interface address generation, make sure the specified sub-prefix length is 64. If the specified sub-prefix length is not 64, Endpoints attached to the DHCPv6 PD client cannot use the prefixes obtained from the DHCPv6 PD client for stateless address autoconfiguration.
Procedure
Configuring the DHCPv6 server
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1, and enable RA message advertisement on that interface.
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 3/1/1
[DeviceA-Ten-GigabitEthernet3/1/1] ipv6 address 1::1/64
[DeviceA-Ten-GigabitEthernet3/1/1] undo ipv6 nd ra halt
[DeviceA-Ten-GigabitEthernet3/1/1] quit
# Create prefix pool 1 that contains prefix 2001:0410::/32, and specify the length of assigned prefixes as 48.
[DeviceA] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48
# Create IPv6 address pool 1.
[DeviceA] ipv6 pool 1
# Specify network segment 1::/64 for IPv6 address pool 1. The specified network segment must contain the IPv6 address previously configured for Ten-GigabitEthernet 3/1/1.
[DeviceA-ipv6-pool-1] network 1::/64
# Apply prefix pool 1 to IPv6 address pool 1, and set the preferred lifetime to 1 day and valid lifetime to 3 days for dynamically assigned prefixes.
[DeviceA-ipv6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
[DeviceA-ipv6-pool-1] quit
# Enable the DHCPv6 server on Ten-GigabitEthernet 3/1/1, enable desired address/prefix assignment and rapid address/prefix assignment on that interface, and set the server preference to the highest.
[DeviceA] interface ten-gigabitethernet 3/1/1
[DeviceA-Ten-GigabitEthernet3/1/1] ipv6 dhcp select server
[DeviceA-Ten-GigabitEthernet3/1/1] ipv6 dhcp server allow-hint preference 255 rapid-commit
[DeviceA-Ten-GigabitEthernet3/1/1] quit
# Configure static routes to the host networks.
[DeviceA] ipv6 route-static 2001:0410:0:1:: 64 1::2
[DeviceA] ipv6 route-static 2001:0410:0:2:: 64 1::2
Configuring the DHCPv6 PD client
Enabling IPv6 prefix acquisition from the DHCPv6 server
|
NOTE: You can enable the DHCPv6 PD client to obtain an IPv6 prefix from the DHCPv6 server or use the ipv6 prefix command to manually assign an IPv6 prefix to the DHCPv6 PD client. This example introduces how to configure DHCPv6-based IPv6 prefix acquisition. |
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<DeviceB> system-view
[DeviceB] interface ten-gigabitethernet 3/1/1
[DeviceB-Ten-GigabitEthernet3/1/1] ipv6 address 1::2/64
# Configure Ten-GigabitEthernet 3/1/1 as a DHCPv6 client to obtain an IPv6 prefix and other network settings, associate prefix ID 11 to the obtained IPv6 prefix, enable support for rapid address/prefix assignment on that DHCPv6 client.
[DeviceB-Ten-GigabitEthernet3/1/1] ipv6 dhcp client pd 11 rapid-commit
[DeviceB-Ten-GigabitEthernet3/1/1] quit
Enabling the DHCPv6 PD client to generate an IPv6 address for Ten-GigabitEthernet 3/1/2 with the specified prefix and advertise the prefix to Device C and Host A in RA messages
# Enable Ten-GigabitEthernet 3/1/2 to dynamically obtain and advertise the IPv6 prefix associated with prefix ID 11, and to automatically generate an IPv6 global unicast address based on the obtained IPv6 prefix and 0:0:0:1::10/64 (sub-prefix bit and host bit).
[DeviceB] interface ten-gigabitethernet 3/1/2
[DeviceB-Ten-GigabitEthernet3/1/2] ipv6 address 11 0:0:0:1::10/64
# Enable RA message advertisement on Ten-GigabitEthernet 3/1/2.
[DeviceB-Ten-GigabitEthernet3/1/2] undo ipv6 nd ra halt
[DeviceB-Ten-GigabitEthernet3/1/2] quit
Creating an IPv6 address pool with prefix ID 11 on the DHCPv6 PD client, and configuring the DHCPv6 PD client as DHCPv6 server for IPv6 address assignment to Device D and Host B.
# Enable Ten-GigabitEthernet 3/1/3 to dynamically obtain the IPv6 prefix associated with prefix ID 11, and to automatically generate an IPv6 global unicast address based on the obtained IPv6 prefix and 0:0:0:2::10/64 (sub-prefix bit and host bit).
[DeviceB-Ten-GigabitEthernet3/1/3] ipv6 address 11 0:0:0:2::10/64
[DeviceB-Ten-GigabitEthernet3/1/3]quit
# Create IPv6 address pool 2.
[DeviceB] ipv6 pool 2
# Specify the IPv6 network segment associated with prefix ID 11 for dynamic prefix assignment in IPv6 address pool 2.
[DeviceB-ipv6-pool-1] network prefix 11
[DeviceB-ipv6-pool-1] quit
# Enable the DHCPv6 server on Ten-GigabitEthernet 3/1/3, enable desired address/prefix assignment and rapid address/prefix assignment on that interface, and set the server preference to the highest.
[DeviceB] interface ten-gigabitethernet 3/1/3
[DeviceB-Ten-GigabitEthernet3/1/3] ipv6 dhcp select server
[DeviceB-Ten-GigabitEthernet3/1/3] ipv6 dhcp server allow-hint preference 255 rapid-commit
[DeviceB-Ten-GigabitEthernet3/1/3] quit
Configuring DHCPv6 clients
Configuring stateless address autoconfiguration
# Configure Device C and Host A.
1. Enable the stateless address autoconfiguration feature on Ten-GigabitEthernet 3/1/1 of Device C, so the interface can automatically generate a global unicast address.
<DeviceC> system-view
[DeviceC] interface ten-gigabitethernet 3/1/1
[DeviceC-Ten-GigabitEthernet3/1/1] ipv6 address auto
2. Enable Host A to automatically obtain an IPv6 address. In this example, the operating system is Windows 10.
a. Click Network in the desktop, and then open Network and Internet.
b. Open the Network and Sharing Center window, and then select the network (Ethernet xxx) on which the host resides.
c. Click Properties.
d. Select Internet Protocol Version 6 (TCP/IPv6), click Properties, select Obtain an IPv6 address automatically in the pop-up window, and then click OK.
Configuring stateful address autoconfiguration
# Configure Device D and Host B.
1. Configure Ten-GigabitEthernet 3/1/1 as a DHCPv6 client to obtain an IPv6 prefix and other network settings, and enable support for rapid address/prefix assignment on that DHCPv6 client.
<DeviceD> system-view
[DeviceD] interface ten-gigabitethernet 3/1/1
[DeviceD-Ten-GigabitEthernet3/1/1] ipv6 address dhcp-alloc rapid-commit
[DeviceD-Ten-GigabitEthernet3/1/1] quit
2. Enable Host B to automatically obtain an IPv6 address.
The configuration procedure is similar as that of Host A.
Verifying the configuration
Verifying the DHCPv6 server configuration
# View information about IPv6 address pool 1.
<DeviceA> display ipv6 pool name 1
DHCPv6 pool: 1
Pool index: 1
Network: 1::/64
Preferred lifetime 604800 seconds, valid lifetime 2592000 seconds
Prefix pool: 1
Preferred lifetime 86400 seconds, valid lifetime 259200 seconds
# View information about IPv6 prefix pool 1.
<DeviceA> display ipv6 dhcp prefix-pool 1
Prefix: 2001:410::/32
Assigned length: 48
Total prefix number: 65536
Available: 65535
In-use: 1
Static: 0
# View DHCPv6 prefix binding information.
<DeviceA> display ipv6 dhcp server pd-in-use
Pool: 1
IPv6 prefix Type Lease expiration DUID
2001:410::/4 Auto(C) Jul 25 09:44:02 2022 000300012455d9ca0200
If the type of a prefix binding is Auto(C), the binding is a committed dynamic binding whose IPv6 prefix has been dynamically assigned to the DHCPv6 client.
Verifying the DHCPv6 PD client configuration
Verifying that the stateless address autoconfiguration feature is configured correctly
# View the IPv6 global unicast addresses of Ten-GigabitEthernet 3/1/1 on Device B.
<DeviceB> display ipv6 interface ten-gigabitethernet 3/1/1
Ten-GigabitEthernet3/1/1 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::2655:D9FF:FECA:206
Global unicast address(es):
1::2, subnet is 1::/64
Joined group address(es):
FF02::1
FF02::2
FF02::18C
FF02::1:FF00:2
FF02::1:FFCA:206
FF0E::18C
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
InReceives: 0
InTooShorts: 0
InTruncatedPkts: 0
InHopLimitExceeds: 0
InBadHeaders: 0
InBadOptions: 0
ReasmReqds: 0
ReasmOKs: 0
InFragDrops: 0
InFragTimeouts: 0
OutFragFails: 0
InUnknownProtos: 0
InDelivers: 0
OutRequests: 0
OutForwDatagrams: 0
InNoRoutes: 0
InTooBigErrors: 0
OutFragOKs: 0
OutFragCreates: 0
InMcastPkts: 0
InMcastNotMembers: 0
OutMcastPkts: 0
InAddrErrors: 0
InDiscards: 0
OutDiscards: 0
# View the IPv6 global unicast addresses generated by Ten-GigabitEthernet 3/1/2 of Device B based on the obtained prefix.
<DeviceB> display ipv6 interface ten-gigabitethernet 3/1/2
Ten-GigabitEthernet3/1/2 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::2655:D9FF:FECA:207
Global unicast address(es):
2001:410:0:1::10, subnet is 2001:410:0:1::/64
Joined group address(es):
FF02::1
FF02::2
FF02::18C
FF02::1:FF00:10
FF02::1:FFCA:207
FF0E::18C
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 600 seconds
ND router advertisements live for 1800 seconds
Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
InReceives: 0
InTooShorts: 0
InTruncatedPkts: 0
InHopLimitExceeds: 0
InBadHeaders: 0
InBadOptions: 0
ReasmReqds: 0
ReasmOKs: 0
InFragDrops: 0
InFragTimeouts: 0
OutFragFails: 0
InUnknownProtos: 0
InDelivers: 0
OutRequests: 0
OutForwDatagrams: 0
InNoRoutes: 0
InTooBigErrors: 0
OutFragOKs: 0
OutFragCreates: 0
InMcastPkts: 0
InMcastNotMembers: 0
OutMcastPkts: 0
InAddrErrors: 0
InDiscards: 0
OutDiscards: 0
# View the IPv6 global unicast addresses generated by Ten-GigabitEthernet 3/1/3 of Device B based on the obtained prefix.
<DeviceB> display ipv6 interface ten-gigabitethernet 3/1/3
Ten-GigabitEthernet3/1/3 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::2655:D9FF:FECA:208
Global unicast address(es):
2001:410:0:2::10, subnet is 2001:410:0:2::/64
Joined group address(es):
FF02::1
FF02::2
FF02::18C
FF02::1:2
FF02::1:FF00:10
FF02::1:FFCA:208
FF05::1:3
FF0E::18C
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
InReceives: 0
InTooShorts: 0
InTruncatedPkts: 0
InHopLimitExceeds: 0
InBadHeaders: 0
InBadOptions: 0
ReasmReqds: 0
ReasmOKs: 0
InFragDrops: 0
InFragTimeouts: 0
OutFragFails: 0
InUnknownProtos: 0
InDelivers: 0
OutRequests: 0
OutForwDatagrams: 0
InNoRoutes: 0
InTooBigErrors: 0
OutFragOKs: 0
OutFragCreates: 0
InMcastPkts: 0
InMcastNotMembers: 0
OutMcastPkts: 0
InAddrErrors: 0
InDiscards: 0
OutDiscards: 0
# View information about the neighbors of Ten-GigabitEthernet 3/1/2 on Device B.
<DeviceB> display ipv6 neighbors interface ten-gigabitethernet 3/1/2
Type: S-Static D-Dynamic O-Openflow R-Rule IS-Invalid static
IPv6 address MAC address VLAN/VSI Interface State T Aging
2001:410::2ACC:53FF:FE48:406 7e0e-0ceb-0406 -- XGE3/1/2 STALE D 584
2001:410:0:1:9086:E493:B7EF:A029 0800-2700-98d2 -- XGE3/1/2 REACH D 409
2001:410:0:1:A941:6AE0:DCC4:517E 0800-2700-98d2 -- XGE3/1/2 REACH D 419
FE80::2ACC:53FF:FE48:406 7e0e-0ceb-0406 -- XGE3/1/2 STALE D 574
FE80::A941:6AE0:DCC4:517E 0800-2700-98d2 -- XGE3/1/2 REACH D 409
According to the information above, the IPv6 global unicast address obtained by Device C is 2001:410::2ACC:53FF:FE48:406. The host has obtained IPv6 global unicast address 2001:410:0:1:A941:6AE0:DCC4:517E and its temporary IPv6 global unicast address is 2001:410:0:1:9086:E493:B7EF:A029.
|
NOTE: The display ipv6 neighbors command displays information about IPv6 global unicast addresses only after you perform a link connectivity test (such as ping test) based on IPv6 global unicast addresses. If you do not perform such a link connectivity test, this command only displays information about IPv6 link-local addresses. |
Verifying that the stateful address autoconfiguration feature is configured correctly
# View information about IPv6 address pool 2.
<DeviceB> display ipv6 pool name 2
DHCPv6 pool: 2
Pool index: 2
Network: 2001:410::/48
Preferred lifetime 604800 seconds, valid lifetime 2592000 seconds
# View DHCPv6 address binding information.
<DeviceB> display ipv6 dhcp server ip-in-use
Pool: 2
IPv6 prefix Type Lease expiration DUID
2001:410::1 Auto(C) Aug 24 09:44:46 2022 000300012234d9ca0400
2001:410::2 Auto(C) Aug 24 09:53:13 2022 000300012234d9ca0400
Verifying DHCPv6 client configurations
Verifying that the stateless address autoconfiguration feature is configured correctly
# View the IPv6 global unicast addresses of Ten-GigabitEthernet 3/1/1 on Device C.
<DeviceC> display ipv6 interface ten-gigabitethernet 3/1/1
Ten-GigabitEthernet3/1/1 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::7C0E:CFF:FEEB:406
Global unicast address(es):
2001:410:0:1:7C0E:CFF:FEEB:406, subnet is 2001:410:0:1::/64 [AUTOCFG]
[valid lifetime 259019s/preferred lifetime 86219s]
Joined group address(es):
FF02::1
FF02::2
FF02::18C
FF02::1:FF48:406
FF0E::18C
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
InReceives: 0
InTooShorts: 0
InTruncatedPkts: 0
InHopLimitExceeds: 0
InBadHeaders: 0
InBadOptions: 0
ReasmReqds: 0
ReasmOKs: 0
InFragDrops: 0
InFragTimeouts: 0
OutFragFails: 0
InUnknownProtos: 0
InDelivers: 0
OutRequests: 0
OutForwDatagrams: 0
InNoRoutes: 0
InTooBigErrors: 0
OutFragOKs: 0
OutFragCreates: 0
InMcastPkts: 0
InMcastNotMembers: 0
OutMcastPkts: 0
InAddrErrors: 0
InDiscards: 0
OutDiscards: 0
# View the IPv6 global unicast addresses obtained by Host A on the related PC.
C:\Users\UserAccount>ipconfig /all
Verifying that the stateful address autoconfiguration feature is configured correctly
# View the IPv6 global unicast addresses assigned by Device B to Device D.
<DeviceD> display ipv6 dhcp client
Ten-GigabitEthernet3/1/1:
Type: Stateful client requesting address
State: OPEN
Client DUID: 0003000128cc53480300
Preferred server:
Reachable via address: FE80::2655:D9FF:FECA:208
Server DUID: 000300012455d9ca0200
IA_NA: IAID 0x00000002, T1 302400 sec, T2 483840 sec
Address: 2001:410::1
Preferred lifetime 604800 sec, valid lifetime 2592000 sec
Will expire on Aug 24 2022 at 09:44:35 (2589132 seconds left)
# View the IPv6 global unicast addresses obtained by Host B on the related PC.
C:\Users\UserAccount>ipconfig /all
Configuration files
Device A
#
ipv6 dhcp prefix-pool 1 prefix 2001:410::/32 assign-len 48
#
ipv6 pool 1
network 1::/64
prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
#
interface ten-gigabitethernet 3/1/1
port link-mode route
ipv6 dhcp select server
ipv6 dhcp server allow-hint preference 255 rapid-commit
ipv6 address 1::1/64
undo ipv6 nd ra halt
#
ipv6 route-static 2001:410:0:1:: 64 1::2
ipv6 route-static 2001:410:0:2:: 64 1::2
#
Device B
#
ipv6 pool 2
network prefix 11
#
interface ten-gigabitethernet 3/1/1
port link-mode route
ipv6 address 1::2/64
ipv6 dhcp client pd 11 rapid-commit
#
interface ten-gigabitethernet 3/1/2
port link-mode route
ipv6 address 11 ::1:0:0:0:10/64
undo ipv6 nd ra halt
#
interface ten-gigabitethernet 3/1/3
port link-mode route
ipv6 dhcp select server
ipv6 dhcp server allow-hint preference 255 rapid-commit
ipv6 address 11 ::2:0:0:0:10/64
#
Device C
#
interface ten-gigabitethernet 3/1/1
port link-mode route
ipv6 address auto
#
Device D
#
interface ten-gigabitethernet 3/1/1
port link-mode route
ipv6 address dhcp-alloc rapid-commit
#