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
username (event handler)
Allows you to configure the username to run the scripts.
S4810, S4820T, S3048–ON, S4048–ON, S5000, S6000, S6000–ON, Z9100–
ON, Z9500, and MXL
Syntax
username username privilege privilege
Parameters
username
username
Enter the keyword username then the name of the user to
access the script. The maximum length is 16 characters. The
default username is the user configuring the CLI.
privilege
privilege
Enter the keyword privilege then the privilege level to
run the scripts. The range is from 1 to 15.
Defaults none
Command Modes SCRIPT EVENT HANDLER CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms,
see the relevant Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.8(1.0P1) Introduced on the Z9100–ON.
9.8(0.0P5) Introduced on the S4048–ON.
9.8(0.0P2) Introduced on the S3048–ON.
9.7(0.0) Introduced on the S4810, S4820T, S5000, S6000, S6000–
ON, Z9000, Z9500, and MXL.
Usage Information
• Only the person who configures the scheduled scripts (or a higher privileged
user) can change them.
• If you do not provide the username, the system uses current session username.
If the script is triggered from the console, the system uses the Dell Networking
OS default username (smartuser).
• The privilege level mentioned should be equal to or less than the user who is
configuring the command.
Example
username smartuser privilege 15
Smartuser is the default username used for running the scripts on the device,
which takes the privilege based on the user session.
114
Smart Scripting CLI