Service Manual
Table Of Contents
- Dell Networking Open Automation Guide December 2015
- About this Guide
- Open Automation Framework
- Bare Metal Provisioning
- Introduction
- How it Works
- Prerequisites
- Industrial Standard Upgrades with BMP
- BMP Process Overview
- BMP Operations
- Configure BMP
- BMP Commands and Examples
- System Boot and Set-Up Behavior in BMP Mode
- BMP Mode: Boot and Set-UP Behavior
- DHCP Offer Vendor-Specific Option for BMP
- DHCP Offer Relay Option 82
- Software Upgrade Using BMP
- Apply Configurations Using BMP Scripts
- Using the Post-Configuration Script
- Using Auto-Execution Script (Normal Mode Only)
- Timers in Pre–configuration and Post–configuration Scripts
- Script Examples
- BMP Operations on Servers Overview
- File Server Settings
- Domain Name Server Settings
- BMP MIB Support
- Bare Metal Provisioning CLI
- Open Management Infrastructure
- Puppet
- Smart Scripting
- Overview
- Download the Smart Scripting Package
- Dell Proprietary Utilities
- Dell SmartScript Utilities
- SQLite
- NET SNMP Client
- Limits on System Usage
- Supported UNIX Utilities
- Creating a User Name and Password for Smart Scripting
- Logging in to a NetBSD UNIX Shell
- Downloading Scripts to a Switch
- Setting a Search Path for Scripts
- Scheduling and Executing Scripts
- Running a Script from the UNIX Shell
- Running Scripts with User Privileges
- Smart Scripting CLI
- disable
- execute
- mount nfs
- package install
- package uninstall
- script (run)
- script (stop/resume/clear/kill/unschedule)
- script event-handler
- script execute (EXEC mode)
- script execute (CONFIGURATION mode)
- script get
- script path
- script remove
- script trigger-event
- show packages
- show script
- start shell
- triggered-by
- switch script limit
- username (event handler)
- username
- Virtual Server Networking
- Virtual Server Networking CLI
- REST API
- HTTP and HTTPS
- XML
- Important Points to Remember
- REST Authentication
- Request Query Parameters
- Sample BGP Configurations
- HTTP Status Error Codes
- REST API — Protocol Data Unit (PDU) Structure
- Configurations
- Operational
- Operational Data for IPv6
- Management Information Base (MIB)
- IETF Interface Operations
- REST API Framework to Execute the CLIs
- Samples of the config-command
- Samples of the EXEC command
- Samples of the show-command
- REST API CLI
- Web Server with HTTP Support

Downloaded Image Minor Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Main Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Downloaded Image Patch Version : 1216
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Major Version : 1
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Minor Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Main Version : 0
00:02:56: %STKUNIT0-M:CP %BMP-5-BMP_RELEASE_HEADER_INFO:
Flash A Image Patch Version : 1216
b. If the build images versions are different, the system stores the downloaded build image in local
flash memory and loads the build image from the flash. This process repeats until the build
image versions match.
The system looks for the configuration file on the file server. If the system does not find a configuration
file, the download fails. If the build image processing is successful, BMP stops. If the build image
download also fails, the current offer is treated as invalid and BMP tries to send DISCOVER messages.
Reload with a DHCP Server Offer Without a DNS Server
Reload the Dell Networking OS on a switch using a preconfiguration script.
To reload the Dell Networking OS on a switch using a preconfiguration script, the following must be true:
• BMP is enabled.
• The download of the script is from an external server and the location is specified in the DHCP offer.
• The first line of the script contains one of the following:
#!/usr/bin/expect
#!/usr/bin/tclsh
#!/usr/bin/zsh
• If you installed the SmartScripts package, the Dell Networking OS also supports preconfigurated
scripts in Perl, Python, and Ruby.
#!/usr/pkg/bin/perl
#!/usr/pkg/bin/python
• After the first line, but before the start of the script, the script contains the signature #/DELL-
NETWORKING.
• The preconfiguration script downloads instead of the configuration file.
• The preconfiguration script runs before applying the start-up configuration file.
• The preconfiguration script can use the Dell Networking OS CLI commands using the f10do utility.
• When the preconfiguration script completes, the start up configuration file automatically applies.
If a preconfiguration script file downloads successfully, the following SYSLOGs display:
00:03:07: %STKUNIT0-M:CP %BMP-2-BMP_DOWNLOAD_START: The config
file download has started.
00:03:19: %STKUNIT0-M:CP %BMP-5-BMP_DWNLD_FILE_IS_SCRIPT_FILE:
The downloaded file is a script file.
00:03:19: %STKUNIT0-M:CP
%BMP-5-BMP_DWNLD_CONFIG_SCRIPT_SUCCESS: The config/script file
download is successful.
00:03:21: %STKUNIT0-M:CP %BMP-5-BMP_PRE_CONFIG_SCRIPT_BEGIN:
The Pre-Config Script has started to Execute.
After the preconfiguration script executes successfully, the startup configuration file loads.
00:04:30: %STKUNIT0-M:CP %BMP-5-BMP_PRE_CONFIG_SCRIPT_END:
Pre-Config script completed with return status 0.
24
Bare Metal Provisioning