nv show system ztp
|
|
nv show system ztp Shows global ZTP status and the status for each section. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ztp |
|
|
Related Commands |
nv set system ztp config-save |
|
|
Notes |
|
|
nv set system ztp config-save
|
|
nv set system ztp config-save <enabled | disabled> Sets the ZTP configuration. |
|
|
Syntax Description |
enabled |
Enables “nv config save”. |
|
disabled |
Disables “nv config save”. |
|
|
Default |
Disabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ztp |
|
|
Related Commands |
nv show system ztp |
|
|
Notes |
When ZTP is active, “nv config save” is suppressed because it may interfere with ZTP operation. Therefore, after running “nv set system ztp config-save enabled” and “nv config apply”, if “nv config save” is performed, then ZTP is disabled as a consequence of the database save. There is an exception that if the ZTP JSON configuration file specifies 'save-config' : true, it will cause configuration to be automatically saved after ZTP finishes, then ZTP is ddisabled. In this case, "nv set system ztp config-save" is not needed.
|
|
nv action system ztp
|
|
nv action <abort | run> system ztp [force] ZTP action commands to interact with ZTP service. |
|
|
Syntax Description |
abort |
Abort ZTP session. This command is used to interrupt ongoing ZTP session. |
|
run |
Rerun ZTP flow. Use this command to manually restart a new ZTP session from scratch or from when it failed or aborted. |
|
|
force |
This option is used to skip AYS dialog. By default, each action command asks the user to confirm the execution of the specified command. |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/ztp |
|
|
Related Commands |
nv show system ztp |
|
|
Notes |
|
|
Last updated: