ztp force provision

Syntax

ztp force-provision

no ztp force-provision

Description

Starts on-demand ZTP.

Command context

Operator (>) or Manager (#)

Authority

Administrators or local user group members with execution rights for this command.

Usage

DHCP options received are processed independent of he current state of configuration on the switch. Previous ZTP TFTP Server, Image File, Configuration File, Aruba Central Location, and HTTP Proxy location options are cleared and the switch sends a DHCP request.

Examples

In the following example, force-provision is enabled.

switch# configure terminal
switch(config)# ztp force-provision

In the following example, force-provision status is checked while enabled.

switch# show ztp information
TFTP Server            : 10.0.0.2
Image File             : TL_10_02_0001.swi
Configuration File     : ztp.cfg
Status                 : Success
Aruba Central Location : NA
Force-Provision        : Enabled
HTTP Proxy Location    : NA

In the following example, force-provision is disabled.

switch# configure terminal
switch(config)# no ztp force-provision

In the following example, force-provision status is checked while disabled.

switch# show ztp information
TFTP Server            : 10.0.0.2
Image File             : TL_10_02_0001.swi
Configuration File     : ztp.cfg
Status                 : Success
Aruba Central Location : NA
Force-Provision        : Disabled
HTTP Proxy Location    : NA