/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