Config – HP Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem User Manual

Page 23

Advertising
background image

Command line 23

cli

This command modifies command execution behavior in script mode and auto-deployment. Script mode is

the same as non-interactive mode.

IMPORTANT:

The show config output contains the set cli command with the default

property and value, which is commented out. To modify command execution behavior while
passing a script to CLI over SSH, uncomment and change the value of the ExitOnFailure property.

If this command is specified in an auto-deployment command script, the expected value should be

'true'. If 'false' is specified, it results in a command failure and prevents deployment execution

because overriding command failures is not supported in auto-deployment.

Supported actions: help, set

Item

Description

set cli

Set CLI command execution behavior. Only supported in script mode.

Syntax

set cli ExitOnFailure=<True|False>

Property

ExitOnFailure

(required)

Controls whether the VCMCLI will exit on command failure during execution of

commands. This capability is only supported if passing a command script to the

VCMCLI over SSH. If set to false, a failed command displays the appropriate
error message. The script continues and the remaining commands are executed.

Valid values include 'true' and 'false'. The default value is 'true'.

Examples

->set cli ExitOnFailure=False

Sets the CLI to ignore command failure and continue to execute the remaining

commands in the script

->set cli ExitOnFailure=True

Sets the CLI to exit on command failure if a command fails in a script while

passing to the CLI over SSH

config

Display all CLI commands for all objects defined in the domain. The show config command is useful for

generating a CLI script that can be used for creating a domain configuration. The generated script is only

valid for the firmware version currently running. A script generated on one version of firmware is unlikely to

be properly executed by a different version of firmware.
Externally-defined MAC addresses, WWNs and serial numbers are displayed with a warning in the output
and cannot be used on VCMCLI commands when recreating the domain.
Supported actions: help, show

Item

Description

show config

Generate a configuration script from the running domain.

Syntax

show config -includePoolInfo

Option

includePoolInfo

Include VC-defined or user-defined pool assigned SerialNumber, MAC, and

WWN addresses for the domain.

Examples

Advertising