You can use the setDuplexMode command to overwrite the DuplexMode attribute value for an individual network adapter. For example, if the value of the DuplexMode attribute for a network adapter is UNSPECIFIED and you know that the duplex mode is FULLDUPLEX or HALFDUPLEX, you can use the setDuplexMode command to set the duplex mode, thereby enabling the adapter for HighUtilization monitoring. You invoke the setDuplexMode command through the dmctl command line utility from the BASEDIR/smarts/bin directory.

The following command example sets the DuplexMode attribute value to HALFDUPLEX for a network adapter named Interface::IF-moto-gw/2:

dmctl -s INCHARGE-PM invoke Interface::IF-moto-gw/2 setDuplexMode HALFDUPLEX

In addition, when you manually assign a value to the DuplexMode attribute for a network adapter, software automatically assigns a value of USER_CHANGED to the DuplexSource attribute for the adapter.

The following command example verifies the DuplexMode attribute setting for Interface::IF-moto-gw/2:

dmctl -s INCHARGE-PM get Interface::IF-moto-gw/2::DuplexMode

In this series of examples, the returned value is HALFDUPLEX.

The following command example verifies the DuplexSource attribute setting for Interface::IF-moto-gw/2:

dmctl -s INCHARGE-PM get Interface::IF-moto-gw/2::DuplexSource

In this series of examples, the returned value is USER_CHANGED.

Any change that you make to the DuplexMode attribute of a network adapter is not overwritten when the associated system is rediscovered unless IP Performance Manager discovers a duplex mode value for the adapter when checking the MIBs during the rediscovery. A MIB-determined duplex mode value takes precedence over a manually set duplex mode value.

In addition to using the dmctl command line utility to invoke the setDuplexMode command, you can also use ASL scripts and C++, Java, and Perl API.