beautypg.com

1 setlacstate utility, Tool usage, Command-line syntax – HP Integrity rx7620 Server User Manual

Page 9: Command-line arguments, Command-line examples, Setlacstate, Command line arguments

background image

1 SetLACState Utility

If a server contains more than one server adapter, and at least one of those adapters is not
connected, the server can display as failed on some network management consoles. SNMP traps
can also be triggered. Use the SetLACState utility (SetLACState) to disable the Local Area
Connection containing the unused adapter. This stops the server from displaying it as failed,
and prevents undesired SNMP traps and error messages.

NOTE:

The server adapter identified by the local area connection must be an adapter supported

by HP. Also, you cannot use this utility to enable or disable adapter teams.

The SetLACState utility is installed as part of the Network Configuration Utility (NCU) component
package for Windows Server 2003. Upon installation, SetLACState.exe is copied into the
%SystemRoot%\System32\

directory.

Tool usage

You can run the SetLACState utility from the command prompt use it during RDP installations.
You can also add it to the [GuiRunOnce] section of unattend.txt for use in unattended
installations.

Command-line syntax

Use the following format at the command line:

SetLACState [Enable | Disable] [/l

][LINEBREAK][/? | /help]

Command-line arguments

Use the command line arguments listed in

Table 1-1

.

Table 1-1 SetLACState command line arguments

Function

Argument

Specify the name or ID of the LAN connection (for example, Local Area
Connection or 1, 2, or 3).

NOTE:

If you use this utility in the [GuiRunOnce] section of

unattend.txt

, specify the ID of the local area connection. Specifying just

the name of the local area connection results in an error. For example, Local
Area Connection has an ID of 1. Local Area Connection 2 has an ID of 2, and
so on. Local area connections that have been renamed no longer have an ID.

Enables or disables the specified local area connection.

[Enable | Disable]

Lets you to specify where the logfile is saved. The default location is on the
system drive at: %SystemRoot%\cpqsystem\log\setlacstate.log.

[/l ]

Displays utility usage (optional).

/?

Displays utility usage (optional).

/help

Command-line examples

The following valid SetLACState command-line examples achieve the same result:

SetLACState 2 disable

SetLACState “Local Area Connection 2” disable

What they do:

Tool usage

9

This manual is related to the following products: