HP (Hewlett-Packard) 5992-0902 Server User Manual


 
NOTE: If you want to use this tool in combination with the Smart Setup Scripting Toolkit
(SSSTK), see the SSSTK documentation found on your Smart Setup CD.
Command-line syntax
Use the following format at the command line:
cqniccmd [/F] [/C<filename>] [/D] [/L<filename>] [/P<filename>]
[/S<filename>] [/?]
NOTE: You can specify only one of the following configuration options at a time:
/S, /D, /C, or /P
You can use the /L option with any of the configuration options. You can use the /F option only
with the /C option.
Command-line arguments
Use the command-line arguments listed in Table 3-1.
Table 3-1 cqniccmd command-line arguments
FunctionArgument
This option causes the source server configuration to be saved. You must specify the name of the
XML configuration data file and the path to the data file must exist. This option is identical to
saving the source server configuration by clicking Save in the HP Network Configuration Utility
user interface.
/S
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 NICs that have VLANs. No additional
arguments are required or allowed with this option.
/D
This configuration option applies the configuration specified in the data file to the target system.
You must specify an existing XML configuration data file following the target switch. A space
following the switch is optional.
NOTE: Any teams that exist on the target system are dissolved before the configuration is
applied. Therefore, any VLAN that exists on the team is removed, and 802.1p/q Packet Tagging
is disabled. If any VLANs are defined for non-teamed NICs, all existing NIC VLANs are removed
and 802.1p/q Packet Tagging is disabled.
/C
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.
/P
Use this option 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 causes the configuration to terminate with no changes. HP recommends this option
only in batch files.
/L
This option causes all errors, including those errors normally treated as nonfatal errors, to be
treated as fatal errors. You can use this option only with the /C option.
/F
Command-line examples
The following are valid cqniccmd command-line examples:
Example 1:
/S
cqniccmd /Sc:\HP\teamcfg.xml
cqniccmd /S c:\HP\teamcfg.xml
cqniccmd /Sc:\HP\teamcfg.xml
The CQNICCMD scripting utility 19