This article describes how to perform script based Zero Touch Provisioning (ZTP) using IPv6 addressing scheme.
Note
If you have a branch which is already deployed with IPv4 addressing, and needs to enable dual stack(IPv4 and IPv6), please follow the configuration sections below,
section-1: update existing workflow-template by enabling IPv6 on WAN interface.
section-3: update the device-workflow by adding IPv6 details in bind data.
Next, you can proceed with the commit template to device which completes the process.
A post-staging template has the complete configuration required to deploy various network services at the branch level. You can configure the post-staging templates for both LAN and WAN interfaces.
to create a template. This opens the Create Template window.


Click Continue to go ahead with the template creation.
Based on the requirement, configure the Below are the optional parameters/tabs. You can configure as per your requirements.
Click the Routing tab to configure protocols.
Click the Split Tunnels tab to configure split tunnels.
Click the Inbound NAT tab to configure the protocol and IP address of inbound traffic.
Click the Services tab.
Click the Management Servers tab to configure the network and IP address of different servers



Under the Location Information tab, enter the applicable location information of the controller, click Get Coordinates to automatically* populate the latitude and longitude from the controller address, and click Continue
(For getting the Coordinates, Versa Director will need the Internet Access.)

Under the Bind Data tab, add the required field values for the templates. In this case, we enter the STATIC IPV6 address for device/CPE interface and the Default Gateway IPv6 address. The system validates the bind data variables per the specified variable type. In case they do not match, an error message is generated.

This completes the soft staging of the branch/CPE on Versa Director.
This is script based Zero Touch Provisioning (ZTP) using IPv6 IP addressing scheme.
sudo /opt/versa/scripts/staging.py -w 0 -c6 2002::12:12:12:2 -s6 2001::14:14:14:1/64 -g6 2001::14:14:14:254 -l SDWAN-Branch@provider.com -r Controller2-staging@provider.com -n IN-ORI-BBSR-CPE25v6
-c6 Controller IPv6 address/FQDN
-s6 Static IPv6/mask for WAN link
-g6 Default gateway IP address
-d6 Use DHCPv6 for WAN link
-l Local id-string/email used for IPSec authentication
-r Remote id-string/email used for IPSec authentication
-n Serial number of the CPE







