Service Manual
Smart Scripting
Smart Scripting is supported on the S4810, S4820T, S3048–ON, S3100 Series, S4048–ON, S5000, S6000, S6000–ON, Z9100–ON,
Z9500, C9010, and MXL switch platforms. Smart Scripting is not supported on the M IOA and FN IOM platforms.
Smart Scripting allows you to add functionality to Dell Networking switches without updating the Dell Networking OS release. Smart
Scripting is available as a separate installable package that supports SQLite DB and NET SNMP applications and TCL, Expect, Perl, Python,
Ruby, and Unix scripting languages.
SmartScripts also includes a separate package extended with HTTP and HTTPS daemons based on the CGI scripts and Web Server. For
more information about this package, see Web Server . For information about HTTP requests the REST API supports, see the REST API
CLI.
Topics:
• Overview
• Download the Smart Scripting Package
• Dell Environment Variables
• Dell Proprietary Utilities
• Dell 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
Overview
To manage and interact with Dell Networking switches in the network, you can use Smart Scripting to create custom Expect, Perl, Python,
Ruby, Tcl, UNIX, and ZSH shell scripts.
Smart Scripting provides support for:
• Modules that implement requested Python features, such as AMQP (message queuing), XML-RPC (arbitrary data exchange), and
Twisted (event-driven networking engine).
NOTE
: S3100 series does not support Ruby scripting.
With Smart Scripting, you don’t need to learn proprietary scripting languages; allowing for faster development and deployment of custom
scripts.
7
66 Smart Scripting