#configure terminal | Enter configure mode. |
(config)#feature dhcp | Enable the feature dhcp. This is enabled in default. |
(config)#ipv6 dhcp relay | By default this will be enabled. It starts the ipv6 dhcp relay service. |
(config)#ipv6 dhcp relay address 2001::2 | The relay address configured should be server interface address connected to DUT machine. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#ipv6 address 2001::1/64 | Configure ipv6 address on the interface xe1. |
(config-if)#ipv6 dhcp relay uplink | Configure relay uplink on the device connecting the server. |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface xe2 | Enter interface mode. |
(config-if)#ipv6 address 2002::1/64 | Configure ipv6 address on the interface xe2. |
(config-if)#ipv6 dhcp relay | Relay should be configured on the interface connecting to the client. |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |