Unassigning multiple profiles, Cli command execution modes – HP Integrity BL870c i2 Server-Blade User Manual
Page 10
Introduction 10
# Add a few uplink ports to the networks
add uplinkport enc0:1:1 network=MyNetwork
add uplinkport enc0:1:2 network=Network2
# Create a Shared Uplink Port Set
add uplinkset SharedSet1
# Assign a profile to a device bay
assign profile MyProfile enc0:1
# Done!!!
Unassigning multiple profiles
In previous firmware releases, if the user needed to unassign multiple profiles from several device bays,
the unassign profile
profiles need to be unassigned, sending a command for each server profile to be unassigned can be
tedious.
To simplify this scenario, the remove profile command has been extended to include unassigning multiple
profiles from device bays with a single command.
The following example illustrates four server profiles being unassigned from device bays with a single CLI
command. If an operation fails on one of the device bays, an ERROR message displays for that
server/device bay, but the remaining operations continue.
->unassign profile *
SUCCESS: Profile1 unassigned from device bay enc0:1
SUCCESS: MyProfile2 unassigned from device bay enc0:2
SUCCESS: GreenProfile unassigned from device bay enc0:3
SUCCESS: RedProfile unassigned from device bay enc0:4
CLI command execution modes
The Virtual Connect Manager CLI provides two different methods for executing commands: interactive
shell mode and non-interactive mode.
Interactive Shell Mode
This mode is used to invoke CLI command operations using the dedicated management shell. The shell is
provided after the user logs in with valid credentials, and only accepts known VCM CLI commands as
input. Users can quit the shell by using the exit command. An example of logging into the interactive
management shell is provided below. In the example, the primary VCM is located at IP address
192.168.0.120.
>ssh 192.168.0.120