Dell Lifecycle Controller 1.2 for Windows Guía de usuario Pagina 139

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 226
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 138
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
139
MessageID = NIC001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set PendingValue
15.12 Setting the VirtMacAddr Attribute
The SetAttribute() method is used to set or change the value of a CNA attribute. The I/O identity
string attributes: (VirtMacAddr, VirtIscsiMacAddr, VirtFIPMacAddr, VirtWWN, and VirtWWPN) display a
unique behavior. After setting them to a non-default value, the attribute values are retained until
there is AC power supply. If the AC power supply is disconnected, the attributes revert to their default
values.
Invoke the SetAttribute() method with the following parameters and syntax:
Target: FQDD attained through DCIM_NICString
AttributeName: Attained from AttributeName field
AttributeValue: A new value to assign to the specified NICAttribute. If this value is valid, it is
applied to the PendingValue property or the Currentvalue property of the specified
NICAttribute. The range of acceptable strings is present in the MinLength and MaxLength
fields.
EXAMPLE:
winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_NICService
+SystemName=DCIM:ComputerSystem
+Name=DCIM:NICService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:SetAttribute_NIC.xml
The input file SetAttribute_NIC.xml is shown below:
<p:SetAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService">
<p:Target>NIC.Integrated.1-1-2</p:Target>
<p:AttributeName>VirtMacAddr</p:AttributeName>
<p:AttributeValue>11:22:33:44:55:66</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
SetAttribute_OUTPUT
Message = The command was successful
MessageID = NIC001
Vista de pagina 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 225 226

Comentarios a estos manuales

Sin comentarios