Cisco C880 M5 Configuration Guide
72
5.4 SCCI
SCCI
OpCode
SCCI Command String
Meaning
0x0251
ConnectRemoteCdImage Connect or disconnect a CD/DVD .iso image
on a remote image mount (NFS or CIFS
h
)
0x0252
ConnectRemoteHdImage Connect or disconnect a hard disk image on a
remote image mount (NFS or CIFS share).
5.4.4
Script Examples
5.4.4.1
cURL examples
The open source command-line tool cURL allows you to transfer data specified with
URL syntax. You can download the latest version of the source code as well as
precompiled versions for different operating systems from
http://curl.haxx.se/
.
The following are some examples of how to use cURL to send a configuration file to
the iRMC.
For details on the cURL command line options please refer to the cURL
documentation.
l
HTTP Access with Basic Authentication (default) and the default iRMC S5
admin account:
curl --basic -u admin:admin --data @Config.pre
http://<iRMC IP address>/config
l
HTTP Access with Digest Authentication and the default iRMC admin account:
curl --digest -u admin:admin --data @Config.pre
http://<iRMC IP address>/config
l
HTTPS Access with no certificate check (-k) and Digest authentication and the
default iRMC admin account:
curl --digest -k -u admin:admin --data @Config.pre
https://<iRMC IP address>/config
l
HTTPS Access with a LDAP user account.
Please note that for LDAP users you have to specify Basic authentication:
curl --basic -k -u LDAPuser:LDAPpassword --data @Config.pre
https://<iRMC IP address>/config