HP 289166-40B manual Command line arguments

Page 8

/S

/D

/C

/P

The /L argument can be used with any of the configuration options. The /F argument can only be used with the /C configuration option.

Command line arguments

Argument

Description

 

 

/S

This configuration option causes the source server configuration to be saved. The name of

 

the XML configuration data file must be specified and the path to the data file must exist.

 

This option is identical to saving the source server configuration by clicking Save in the

 

Network Teaming Configuration user interface.

 

 

/D

This configuration option causes all teams on the target server to be dissolved, all VLANs

 

to be removed, and 802.1p/q Packet Tagging to be disabled for all adapters that had

 

no VLANs. No additional arguments are required or allowed with this option.

 

 

/C

This configuration option applies the configuration specified in the data file to the target

 

system. An existing XML configuration data file must be specified following the target

 

switch. A space following the switch is optional. Any teams that exist on the target server

 

will be dissolved before the configuration is applied, all VLANs will be removed, and

 

802.1p/q Packet Tagging will be disabled.

 

 

/P

This option is identical to the /C option, except that the configuration options are not

 

applied to the target system. This is useful for syntax checking the XML data file.

/L

This option can be used to change the name and location of the cpqteam.log default log

 

file that is created in \cpqsystem\log on the system drive. The supplied path must exist.

 

An invalid log file name will cause the configuration to terminate with no changes. HP

 

recommends this option only in batch files.

 

 

/F

This option causes all errors, including those errors normally treated as non-fatal errors, to

 

be treated as fatal errors. This argument can be used only with the /C option.

Command line examples

/S

cqniccmd /Sc:\HP\teamcfg.xml cqniccmd /S c:\HP\teamcfg.xml cqniccmd /S"c:\HP\teamcfg.xml"

/D cqniccmd /D

/C

cqniccmd /Cc:\HP\teamcfg.xml cqniccmd /C c:\HP\teamcfg.xml cqniccmd /C"c:\HP\teamcfg.xml"

/P

cqniccmd /Pc:\HP\teamcfg.xml cqniccmd /P c:\HP\teamcfg.xml cqniccmd /P"c:\HP\teamcfg.xml"

/L

Scripting 8

Image 8
Contents HP ProLiant Network Adapter Scripting Utility User Guide Audience assumptions Contents Scripting functionality Network Configuration Utility and ScriptingOverview Scripting Preliminary scripting informationScript conversion Command line syntax Scripting application CqniccmdCommand line arguments Command line help HP Multifunction adapter properties Configuration propertiesAdapter configuration properties Configuration properties Team configuration properties Configuration properties XML data file XML elements and typical adapter teaming scriptXML data file Team Data Error handling and reporting Error checking and completion codeAcronyms and abbreviations Index Cqniccmd