Management and Configuration Guide K/KA/KB.15.15

One of the following messages indicates the presence or absence of the USB device:
Not able to sense device in USB port
USB device detected in port
No USB device detected in port
The reseat status messages can be one of the following (K.13.XX only):
Undetermined USB reseat requirement
USB reseat not required
USB device reseat required for USB autorun
The autorun feature works only when a USB device is inserted and the USB port is
enabled.
Using USB autorun
The general process for using USB autorun is as follows (steps 1, 2, and 7 require an upcoming
update to PCM+, as described above):
1. Create an AutoRun file using PCM+.
See the HP Switch Manager documentation for details.
NOTE: Creating the AutoRun file in PCM+ includes the following steps:
a. Specify the target device or devices.
b. Create the CLI script to be executed on the target devices.
c. Determine if the file will be signed and/or encrypted.
d. Determine if the file will be 'run once' (moved to a 'processed' directory on execution)
or 'run many' (kept in the root directory of the flash drive from where it can be executed
again.)
2. Deploy the AutoRun file to a USB flash drive.
3. (If required) Enable the autorun feature on the switch (autorun is enabled by default unless an
operator or manager password has been set—See Autorun and configuring passwords
(page 301).)
4. (If the AutoRun file has been signed or encrypted) Enable secure-mode on the switch:
a. Configure an encryption key and a valid trusted certificate
b. Enable secure-mode via the CLI.
See “Downloading switch software” (page 291).
5. Insert the USB flash drive into the switch's USB auxiliary port.
The switch processes the AutoRun file automatically and writes a result (.txt) file and report
(.xml) file back to the USB flash drive, reporting on the command operations that were executed.
6. Remove the USB device from the USB port.
The switch executes any post-commands, such as rebooting the switch to apply any
configuration updates.
7. (Optional) Transfer the 'result file' and 'report file' to a PCM+-enabled computer for report
checking.
See Troubleshooting autorun operations” (page 300).
Configuring autorun on the switch
Syntax
[ no ] autorun [ encryption-key key-string | secure-mode ]
290 File transfers