HP Virtual Connect Manager Command Line Interface for c-Class BladeSystem Version 3.30 User Guide
Introduction  15 
add profile Profile1;add network Network1;add uplinkset UplinkSet1 
Supporting comments and blank lines in CLI scripts 
The CLI supports command scripts that contain blank lines and comments. Support for comments and blank 
lines enables you to maintain descriptive notes within the configuration script. 
The following sample script illustrates a CLI script that contains this type of formatting. All comment lines must 
begin with "#". 
#------------------------------------------------------------------------ 
# This is my sample Virtual Connect Domain Configuration Script 
# Revision 1.0.1.2 
# February 15, 2011 
#------------------------------------------------------------------------ 
# Add Users 
add user SomeNetworkUser password=pass1 privileges=network 
add user SomeStorageUser password=pass2 privileges=storage 
add user SomeDomainUser password=pass6 privileges=domain 
add user SomeAdminUser password=pass3 privileges=* 
add user DomainNetworkUser password=764dhh privileges=domain,network 
# Add Profiles with Default VC-Enet and VC-FC Connections 
add profile MyProfile 
add profile AnotherProfile 
add profile Profile45 
# Add VC-Enet Networks 
add network MyNetwork 
add network Network2 
# Add 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 










