Concept Guide
Table Of Contents
- Dell EMC Networking Open Automation Guide 9.14.1.0 November 2018
- About this Guide
- Open Automation Framework
- Bare Metal Provisioning
- Introduction
- How it Works
- Prerequisites
- Industry 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 EMC Environment Variables
- Dell EMC Proprietary Utilities
- Dell EMC SmartScript Utilities
- SQLite
- NET SNMP Client
- Limits on System Usage
- Supported UNIX Utilities
- Creating a Username and Password for Smart Scripting
- Logging in to a NetBSD UNIX Shell
- Downloading Scripts to a Switch
- Network File System (NFS)
- 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 clear-all
- package install
- package uninstall
- script (run)
- script (stop/resume/clear/kill/unschedule)
- script event-handler
- script execute (EXEC mode)
- script execute
- script get
- script path
- script remove
- script trigger-event
- show packages
- show script
- start shell
- triggered-by
- switch script limit
- username (event handler)
- username
- SNMP MIBs
- 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

Version Description
8.3.19.0 Introduced on the S4820T.
8.3.8.0 Introduced on the S4810.
Usage Information
When you uninstall an Open Automation package, it is removed from the local ash memory.
CAUTION: Before you uninstall the Smart Scripting package, rst stop all scripts that are running using
the no script script-name command. Manually stop the http-server daemon by using the no
http-server {http | secure-http} command.
To follow the uninstall progress, use the show packages command.
Related Commands show packages — displays all Open Automation packages installed on the switch.
script (run)
Runs an Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell script from the Dell EMC Networking OS CLI.
S4810, S4820T, S3048–ON, S3100 Series, S4048–ON,
S4048T–ON, S5000, S6000, S6000–ON, S6010–ON, S6100–
ON, Z9100–ON, Z9500, C9010, and MXL
Syntax
script [username name] script-name [script-parameter script-parameter ...]
Parameters
username name
(Optional) Enter the user name with read-write privileges. A username cannot contain
special characters.
script-name
Enter the name of the script to run, including the directory path and lename; for
example:
• Perl script: /usr/pkg/scripts/sample_scripts/cmd-server.pl. For
S3100 series, the path and lename is/f10/flash/pkg/usr/pkg/scripts/
sample_scripts/cmd-server.pl
•
Python script: /usr/pkg/scripts/sample_scripts/DisplayAlarms.py.
For S3100 series, the path and lename is/f10/flash/pkg/usr/pkg/
scripts/sample_scripts/DisplayAlarms.py
• Ruby script: /usr/pkg/ss-scripts/interface_monitor.rb . For S3100
series, the path and lename is/f10/flash/pkg/ss-scripts/
interface_monitor.rb
• UNIX shell script: /usr/pkg/home/admin/test.sh
script-
parameter
(Optional) Enter the values of up to three parameters to apply when the script runs. Enter
a blank space between parameter values. For example, script username
admin /f10/flash/createVlans.py 1 2.
Defaults none
Command Modes CONFIGURATION
Smart Scripting CLI 95