Users Guide

Table Of Contents
#
# Example OS10 ZTD Provisioning Script
#
#
####################################################################
########## UPDATE THE BELOW CONFIG VARIABLES ACCORDINGLY ###########
########## ATLEAST ONE OF THEM SHOULD BE FILLED ####################
IMG_FILE=”http://50.0.0.1/OS10.bin”
CLI_CONFIG_FILE="http://50.0.0.1/cli_config"
POST_SCRIPT_FILE="http://50.0.0.1/no_post_script.py"
################### DO NOT MODIFY THE LINES BELOW #######################
sudo os10_ztd_start.sh "$IMG_FILE" "$CLI_CONFIG_FILE" "$POST_SCRIPT_FILE"
######################## **END** ###############################
ZTD CLI batch le
Create a CLI batch le that ZTD downloads and executes to congure a switch. The ZTD CLI batch le consists of two sections: PRE-
CONFIG and POST-CONFIG.
When you enter the PRE-CONFIG and POST-CONFIG lines, you must enter a hash tag (#), followed by a space before the text PRE-
CONFIG
or POST-CONFIG. If the PRE-CONFIG section has no commands, do not leave a blank line between # PRE-CONFIG and #
POST-CONFIG; for example:
# PRE-CONFIG
# POST-CONFIG
Hostname VxRail-fabric-LEAF-1
!
lldp enable
!
spanning-tree mode rstp
spanning-tree rstp priority 0
...
ZTD executes the PRE-CONFIG commands rst using the currently running OS10 image, not the OS10 image specied in the provisioning
script. ZTD saves the PRE-CONFIG settings to the startup conguration.
If PRE-CONFIG commands are present, ZTD reloads the switch before executing the commands in the POST-CONFIG section. Enter
OS10 conguration commands that require a switch reload, such as switch-port-profile, in the PRE-CONFIG section. If ZTD
installs a new OS10 image (
IMG_FILE), the new image is activated after the reload.
ZTD then executes the POST-CONFIG commands and saves the new settings in the startup conguration. No additional switch reload is
performed. Enter
POST_CONFIG commands with the exact syntax displayed in show running-configuration output.
Example
# PRE-CONFIG
switch-port-profile 1/1 profile-2
# POST-CONFIG
snmp-server community public ro
snmp-server contact NOC@dell.com
snmp-server location delltechworld
!
clock timezone GMT 0 0
!
hostname LEAF-1
!
ip domain-list networks.dell.com
Zero-touch deployment
103