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

}
}
• PortId identifies the interface. This example configures tengigabitethernet 0/1.
• EnabledState identifies the status of the port. In this example, “Enabled” brings up the port.
7. In Powershell, create the Ethernet MOF using configuration block.
MSFT_NetworkDevice_EthernetPortViewConfig -OutputPath c:\EthernetPortViewMof
This configuration creates the MOF in the C:\EthernetPortViewMof directory.
8. Connect to OMI.
$cred=Get-Credential -UserName:"admin" -Message:"Admin User?"
9. Enter the credential of the user admin.
To create a CIM-Session, use the following scripts:
• $opt = New-CimSessionOption -UseSsl:$true -SkipCACheck:$true -SkipCNCheck:
$true -SkipRevocationCheck:$true
• $box1 =New-CimSession -Credential:$cred -ComputerName:chassis-1 -Port:5986
-Authentication:basic -SessionOption:$opt
chassis-1 is the IP address of the chassis.
10. Apply the configuration using the following script:
PS C:\windows\system32> Start-DscConfiguration -CimSession:$box1 -Path:"C:
\EthernetPortViewMof" -Verbose –Wait
• CimSession is the box1 created in step 9.
• Path is the path of the MOF created in step 7.
11. Verify in the chassis for interface tengigabitethernet 0/1.
• show running-config tengig 0/1
• show interface tengig 0/1
Examples
This section shows various OMI configurations.
Access Control List (ACL) Configuration
instance of MSFT_NetworkDevice_AclEntry as $MSFT_NetworkDevice_AclEntry1ref
{
Source = "Any";
SourceMask = "0";
Action = 0;
Destination = "Any";
DestinationMask = "0";
Sequence = 70;
AclEntryProtocol = 5;
};
instance of MSFT_NetworkDevice_AclView as $MSFT_NetworkDevice_AclView1ref
{
ResourceID = "[MSFT_NetworkDevice_AclView]MyAclconfig";
ElementName = "testprefix3";
AclProtocol = 0;
Ensure = 0;
AclType = 1;
60
Open Management Infrastructure