Knowledge Base ZPE Systems, Inc. FAQ

            How to Set NodeGrid via ZTP on IPv4 Network

            Zero Touch Provisioning (ZTP) is a method to provision network devices  such as switches, and your NodeGrid, automatically with no manual interaction.

            It will load configuration file during DHCP request from the network, as well as firmware upgrade.

            You will need to have a DHCP server and a TFTP server on the network.


            Just for a reference purpose, below is an example of the dhcpd.conf file from ISC-DHCP server:


            option space zpe;

            option zpe.ztp-signature code 1 = text;

            option zpe.ztp-server-url code 2 = text;

            option zpe.ztp-image-filename code 3 = text;

            option zpe.ztp-config-filename code 4 = text;


            host NSC-ZTP-Sample {

              hardware ethernet 00:90:fb:4e:09:1f;


              option tftp-server-name "";


              option domain-name "";

              option domain-name-servers,;

              option routers;


              vendor-option-space zpe;

              option zpe.ztp-signature = "ZPE-ZTP";

              option zpe.ztp-server-url = "tftp://";

              option zpe.ztp-config-filename = "/nodegrid-3.1.14/config/ZTP.ttyS1.9600.cfg";




            a) the example above checks the unit's MAC address and assigns a fixed IP address, and sends the ZTP.ttyS1.9600.cfg file which will configure the unit

            b) the ZTP.9600.cfg is a configuration file based on the CLI commands. See example below for a NodeGrid Serial Console:

            cd /settings/devices/

            edit -

            set mode=enabled

            set baud_rate=9600

            set allow_telnet_protocol=no

            set allow_ssh_protocol=yes

            set ssh_port=7001



            cd /settings/network_settings

            set hostname=ZPE1


            set enable_ipv4_ip_forward=no

            set enable_ipv6_ip_forward=no

            set enable_network_failover=no



            set /settings/network_connections/ETH1 ethernet_interface=eth1

            set /settings/network_connections/ETH1 connect_automatically=yes

            set /settings/network_connections/ETH1 set_as_primary_connection=no

            set /settings/network_connections/ETH1 enable_lldp=yes

            set /settings/network_connections/ETH1 ipv4_mode=static

            set /settings/network_connections/ETH1 ipv4_address=

            set /settings/network_connections/ETH1 ipv4_bitmask=24

            set /settings/network_connections/ETH1 ipv4_gateway=

            set /settings/network_connections/ETH1 ipv6_mode=address_auto_configuration



            set /settings/network_connections/ETH0 ethernet_interface=eth0

            set /settings/network_connections/ETH0 connect_automatically=yes

            set /settings/network_connections/ETH0 set_as_primary_connection=yes

            set /settings/network_connections/ETH0 enable_lldp=no

            set /settings/network_connections/ETH0 ipv4_mode=static

            set /settings/network_connections/ETH0 ipv4_address=

            set /settings/network_connections/ETH0 ipv4_bitmask=24

            set /settings/network_connections/ETH0 ipv4_gateway=

            set /settings/network_connections/ETH0 ipv4_dns_server=

            set /settings/network_connections/ETH0 ipv6_mode=address_auto_configuration



            The CLI syntax is: Command + Path + Arguments (parameters and values)

            Updated: 01 Nov 2016 02:38 AM
            Help us to make this article better
            0 0